Fixed typos and made all assert functions optional

This commit is contained in:
bigbossbro08 2020-05-10 21:49:33 +06:00
parent af6e132b37
commit c798e1bacd
73 changed files with 110 additions and 184 deletions

View file

@ -27,7 +27,7 @@ struct intro_script_rectangle
~intro_script_rectangle() { }
};
static_assert(sizeof(intro_script_rectangle) == 0x18, "Script.h: error");
VALIDATE_SIZE(intro_script_rectangle, 0x18);
enum {
SCRIPT_TEXT_MAX_LENGTH = 500
@ -78,7 +78,7 @@ struct intro_text_line
}
};
static_assert(sizeof(intro_text_line) == 0x414, "Script.h: error");
VALIDATE_SIZE(intro_text_line, 0x414);
struct script_sphere_struct
{