mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
Flesh out globals.c and make it match
This commit is contained in:
1 parent
893a56ac50
commit
902edeca66
7 files changed
+42540
-25
No files matched your search
@@ -0,0 +1,48 @@
|
||||
#define gunscript_end \
|
||||
0, \
|
||||
0,
|
||||
|
||||
#define gunscript_showpart(keyframe, part) \
|
||||
0x01000000 | keyframe, \
|
||||
part,
|
||||
|
||||
#define gunscript_hidepart(keyframe, part) \
|
||||
0x02000000 | keyframe, \
|
||||
part,
|
||||
|
||||
#define gunscript_waitforzreleased(keyframe) \
|
||||
0x03000000 | keyframe, \
|
||||
0,
|
||||
|
||||
#define gunscript_waittime(keyframe, time) \
|
||||
0x04000000 | keyframe, \
|
||||
time,
|
||||
|
||||
#define gunscript_playsound(keyframe, sound) \
|
||||
0x05000000 | keyframe, \
|
||||
sound,
|
||||
|
||||
#define gunscript_include(unk1, address) \
|
||||
0x06000000 | (unk1 << 16), \
|
||||
address,
|
||||
|
||||
#define gunscript_random(probability, address) \
|
||||
0x07000000 | probability, \
|
||||
address,
|
||||
|
||||
#define gunscript_repeatuntilfull(triggerkey, dontloop, gototrigger) \
|
||||
0x08000000 | triggerkey, \
|
||||
(dontloop << 16) | gototrigger,
|
||||
|
||||
#define gunscript_popoutsackofpills(unk1) \
|
||||
0x09000000 | unk1, \
|
||||
0,
|
||||
|
||||
#define gunscript_playanimation(animation, direction, speed) \
|
||||
0x0a000000 | animation, \
|
||||
(direction << 16) | speed,
|
||||
|
||||
#define gunscript_setsoundspeed(keyframe, speed) \
|
||||
0x0b000000 | keyframe, \
|
||||
speed,
|
||||
|
||||
Reference in new issue
Block a user