managed struct Parent {
int Id;
};
managed struct Child extends Parent {
String whatever;
};
Parent DoThingWithAnythingDerivedFromParent(Parent obj) {
return obj;
}
void game_start() {
Child child = new Child;
Child child2 = (Child) DoThingWithAnythingDerivedFromParent(child);
}
Quote from: Crimson Wizard on Fri 18/07/2025 12:50:40Please, open bug reports separately
builtin struct GameInfo {
/// Gets the game's title
static readonly attribute String Title;
/// Gets the game's description
static readonly attribute String Description;
/// Gets the game's developer's name
static readonly attribute String DeveloperName;
/// Gets the game's developer's URL string
static readonly attribute String DeveloperURL;
/// Gets the game's genre description
static readonly attribute String Genre;
/// Gets the game's release date as a DateTime instance
static readonly attribute DateTime* ReleaseDate;
/// Gets the game's release version, represented as "X.Y.Z.W" string
static readonly attribute String Version;
};
Quote from: Monsieur OUXX on Sat 19/07/2025 20:59:46Quote from: Crimson Wizard on Sat 19/07/2025 19:27:05That operation is supposed to restore sprites in game so long as the sources are available. Were they available?No, they were not -- that's what I meant. The project is about 10 years old, most of the sources are long gone and exist only inside the project's Sprites. The "of course" was not meant to be sarcastic :-)
Quote from: Crimson Wizard on Sat 19/07/2025 19:27:05That operation is supposed to restore sprites in game so long as the sources are available. Were they available?No, they were not -- that's what I meant. The project is about 10 years old, most of the sources are long gone and exist only inside the project's Sprites. The "of course" was not meant to be sarcastic :-)
Quote from: Monsieur OUXX on Fri 18/07/2025 18:26:43We may have this as a setting in Editor Preferences though.Yes. Most people will want more than one backup for sure -- by googling, I can find several instances of people panicking because the backup got instantly overwritten by the new file (the corrupt file).
Quote from: Monsieur OUXX on Fri 18/07/2025 18:26:43- Then, I re-opened AGS and I helped the game going back to a healthy state by doing "File -> Restore all sprites from source".
- But then the sprites themselves were of course still missing.
Quote from: Monsieur OUXX on Fri 18/07/2025 18:26:43- Or, at least, there should be more than one backup file generated. It's no longer 2005, we could have 10 of them (I'm exaggerating to make a point) and it would still use close to no resources.
Quote from: Baguettator on Sat 19/07/2025 06:34:40Another thing I just thought about : possibility for buttons having their text displayed on several lines (same way as labels) ?
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.056 seconds with 10 queries.