Fix warning about intro data type in setup files

This commit is contained in:
Ryan Dwyer 2020-02-08 22:17:36 +10:00
parent 57e1ec1480
commit f922cef7ea
62 changed files with 144 additions and 146 deletions

View File

@ -133,7 +133,7 @@
#define AILIST_SURRENDERING_GUARD 0x042f
#define AILIST_INIT_FALCON_GUARD 0x0430
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -656,7 +656,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
intro_weapon(WEAPON_FALCON2_SILENCER, -1)
ammo(AMMOTYPE_PISTOL, 80)
ammo(AMMOTYPE_ECM_MINE, 2)

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -35,7 +35,7 @@ u8 unregistered_func2[] = {
endlist
};
u8 intro[] = {
s32 intro[] = {
endintro
};

View File

@ -77,7 +77,7 @@
#define AILIST_DEFEND_PAD 0x0413
#define AILIST_INIT_SHOCK 0x0414
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -470,7 +470,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
intro_weapon(WEAPON_FALCON2_SCOPE, -1)
ammo(AMMOTYPE_PISTOL, 50)
ammo(AMMOTYPE_RIFLE, 160)

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
endintro
};

View File

@ -25,7 +25,7 @@
#define AILIST_JON_INIT 0x0406
#define AILIST_TRENT_INIT 0x0407
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -70,7 +70,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
spawn(0x027a)
intro_weapon(WEAPON_FALCON2_SCOPE, -1)

View File

@ -57,7 +57,7 @@
#define AILIST_STARTING_AREA_GUARD 0x0421
#define AILIST_HIDE 0x0422
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -211,7 +211,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_SNOW)
intro_weapon(WEAPON_FALCON2_SCOPE, -1)
ammo(AMMOTYPE_PISTOL, 50)

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
endintro
};

View File

@ -78,7 +78,7 @@
#define AILIST_INIT_FOYER_CLONE 0x042b
#define AILIST_FOYER_CLONE 0x042c
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -521,7 +521,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
spawn(0x011e)
intro_weapon(WEAPON_CROSSBOW, -1)
intro_weapon(WEAPON_HORIZONSCANNER, -1)

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
intro_weapon(WEAPON_FALCON2, -1)
ammo(AMMOTYPE_PISTOL, 100)
endintro

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
intro_weapon(WEAPON_FALCON2, -1)
endintro
};

View File

@ -86,7 +86,7 @@
#define AILIST_ELVIS_PREPARE_LEADING 0x0417
#define AILIST_ELVIS_AT_MOONPOOL 0x0418
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -560,7 +560,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_WETSUIT)
intro_weapon(WEAPON_FALCON2_SILENCER, -1)
ammo(AMMOTYPE_PISTOL, 100)

View File

@ -98,7 +98,7 @@
#define AILIST_CLOAK_GUARD 0x0412
#define AILIST_CLOAK2_GUARD 0x0414
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -408,7 +408,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
intro_weapon(WEAPON_FALCON2_SILENCER, -1)
ammo(AMMOTYPE_PISTOL, 100)
ammo(AMMOTYPE_NBOMB, 6)

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -94,7 +94,7 @@
#define PAD_DEVICEROOM 0x0121
#define PAD_HOLOROOM 0x0273
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -5843,7 +5843,7 @@ u8 func1040_lift_door_sounds[] = {
endlist
};
u8 intro[] = {
s32 intro[] = {
spawn(0x00f5)
outfit(OUTFIT_DEFAULT)
endintro

View File

@ -89,7 +89,7 @@
#define AILIST_RADIOACTIVITY 0x0415
#define AILIST_OUTRO 0x0417
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -628,7 +628,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
intro_weapon(WEAPON_FALCON2, -1)
ammo(AMMOTYPE_PISTOL, 100)
ammo(AMMOTYPE_RIFLE, 50)

View File

@ -85,7 +85,7 @@
#define AILIST_CARRINGTON 0x0410
#define AILIST_CISOLIDER 0x0411
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -715,7 +715,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
spawn(0x00be)
ammo(AMMOTYPE_RIFLE, 100)
ammo(AMMOTYPE_SMG, 100)

View File

@ -141,7 +141,7 @@
#define AILIST_INIT_CISOLDIER 0x043c
#define AILIST_CARRINGTON 0x043e
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -527,7 +527,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_FROCK)
intro_weapon(WEAPON_AR34, -1)
ammo(AMMOTYPE_RIFLE, 200)

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
intro_weapon(WEAPON_NONE, -1)
endintro

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -107,7 +107,7 @@
#define AILIST_SET_CLOAKED 0x0427
#define AILIST_SET_UNCLOAKED 0x0428
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -485,7 +485,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
intro_weapon(WEAPON_COMBATKNIFE, -1)
ammo(AMMOTYPE_KNIFE, 1)
ammo(AMMOTYPE_ROCKET, 2)

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
intro_weapon(WEAPON_NONE, -1)
endintro

View File

@ -116,7 +116,7 @@
#define AILIST_INIT_BIOTECH1 0x0432
#define AILIST_INIT_BIOTECH2 0x0433
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -673,7 +673,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
spawn(0x03a1)
intro_weapon(WEAPON_FALCON2_SILENCER, -1)
ammo(AMMOTYPE_PISTOL, 100)

View File

@ -76,7 +76,7 @@
#define AILIST_ACTIVATE_AUTOGUN 0x0421
#define AILIST_ACTIVATE_LASERS 0x0424
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -470,7 +470,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
spawn(0x000f)
intro_weapon(WEAPON_FALCON2, -1)
ammo(AMMOTYPE_PISTOL, 100)

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -27,7 +27,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -8,7 +8,7 @@
#define AILIST_INIT_ENEMY 0x0401
#define AILIST_INIT_MAIAN 0x0402
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -28,7 +28,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
spawn(0x0063)
outfit(OUTFIT_DEFAULT)
intro_weapon(WEAPON_FALCON2, -1)

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -30,7 +30,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -95,7 +95,7 @@
#define PAD_PAAREA_TELEPORT 0x0200
#define PAD_DRCAROLLROOM_ENTRY 0x01cb
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -635,7 +635,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
intro_weapon(WEAPON_FALCON2_SCOPE, -1)
ammo(AMMOTYPE_PISTOL, 50)
ammo(AMMOTYPE_PROXY_MINE, 2)

View File

@ -93,7 +93,7 @@
// Other
#define GROUP_ALARM_RESPONDER 0x09
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -320,7 +320,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
ammo(AMMOTYPE_PISTOL, 50)
outfit(OUTFIT_TRENCH)
spawn(0x0063)

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
intro_weapon(WEAPON_PP9I, -1)
ammo(AMMOTYPE_PISTOL, 100)
outfit(OUTFIT_DEFAULT)

View File

@ -113,7 +113,7 @@
#define AILIST_REINIT_STRIPES 0x042b
#define AILIST_REMOVE_IF_OFFSCREEN 0x042c
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -469,7 +469,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_STEWARDESS)
ammo(AMMOTYPE_CROSSBOW, 10)
ammo(AMMOTYPE_SMG, 100)

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -40,7 +40,7 @@
#define AILIST_OUTRO 0x041b
#define AILIST_INIT_LABTECH 0x041c
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -672,7 +672,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
spawn(0x03dd)
ammo(AMMOTYPE_MAGNUM, 1)
outfit(OUTFIT_ELVIS)

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -101,7 +101,7 @@
#define AILIST_HIDE 0x0413
#define AILIST_OUTRO 0x0414
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -471,7 +471,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
intro_weapon(WEAPON_FALCON2_SCOPE, -1)
ammo(AMMOTYPE_PISTOL, 200)

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -54,7 +54,7 @@
#define GROUP_KING2_SKEDAR 3
#define GROUP_KING3_SKEDAR 4
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -273,7 +273,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_MAIAN)
intro_weapon(WEAPON_PHOENIX, -1)
ammo(AMMOTYPE_PISTOL, 300)

View File

@ -92,7 +92,7 @@
#define SPAWNGROUP3 0x0b
#define SPAWNGROUP4 0x0d
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -586,7 +586,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
spawn(0x012f)
intro_weapon(WEAPON_FALCON2_SCOPE, -1)
ammo(AMMOTYPE_PISTOL, 100)

View File

@ -4,7 +4,7 @@
#include "stagesetup.h"
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -24,7 +24,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
outfit(OUTFIT_DEFAULT)
endintro
};

View File

@ -43,7 +43,7 @@
#define AILIST_CHIEF 0x0415
#define AILIST_OUTRO 0x0417
u8 intro[];
s32 intro[];
u8 props[];
struct path paths[];
struct ailist ailists[];
@ -558,7 +558,7 @@ u8 props[] = {
endprops
};
u8 intro[] = {
s32 intro[] = {
intro_weapon(WEAPON_MAULER, -1)
ammo(AMMOTYPE_PISTOL, 100)
intro_weapon(WEAPON_CAMSPY, -1)

View File

@ -1,39 +1,37 @@
#include "util.h"
#define spawn(pad) \
mkword(0x00), \
mkword(pad), \
mkword(0),
0x00, \
pad, \
0,
#define intro_weapon(weapon, u1) \
mkword(0x01), \
mkword(weapon), \
mkword(u1), \
mkword(0),
0x01, \
weapon, \
u1, \
0,
#define ammo(ammotype, value) \
mkword(0x02), \
mkword(ammotype), \
mkword(value), \
mkword(0),
0x02, \
ammotype, \
value, \
0,
#define outfit(outfit) \
mkword(0x05), \
mkword(outfit),
0x05, \
outfit,
#define case(id, pad) \
mkword(0x09), \
mkword(id), \
mkword(pad),
0x09, \
id, \
pad,
#define case_respawn(id, pad) \
mkword(0x0a), \
mkword(id), \
mkword(pad),
0x0a, \
id, \
pad,
#define hill(pad) \
mkword(0x0b), \
mkword(pad),
0x0b, \
pad,
#define endintro \
mkword(0x0c),
0x0c,