summaryrefslogtreecommitdiffstats
path: root/game/code/constants/statepropenum.h
diff options
context:
space:
mode:
authorSvxy <aidan61605@gmail.com>2023-05-31 23:31:32 +0200
committerSvxy <aidan61605@gmail.com>2023-05-31 23:31:32 +0200
commiteb4b3404aa00220d659e532151dab13d642c17a3 (patch)
tree7e1107c4995489a26c4007e41b53ea8d00ab2134 /game/code/constants/statepropenum.h
downloadThe-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.gz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.bz2
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.lz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.xz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.zst
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.zip
Diffstat (limited to 'game/code/constants/statepropenum.h')
-rw-r--r--game/code/constants/statepropenum.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/game/code/constants/statepropenum.h b/game/code/constants/statepropenum.h
new file mode 100644
index 0000000..a8738af
--- /dev/null
+++ b/game/code/constants/statepropenum.h
@@ -0,0 +1,54 @@
+//===========================================================================
+// Copyright (C) 2002 Radical Entertainment Ltd. All rights reserved.
+//
+// Component: None, header only
+//
+// Description: A listing of all the events and callbacks in use by the Srr2
+// stateprop implementation
+//
+// "Stateprops are awesome, everything should be a stateprop. - Aryan"
+//
+//
+// Authors: Michael Riegger
+//
+//===========================================================================
+
+// Recompilation protection flag.
+#ifndef STATEPROPENUM_H
+#define STATEPROPENUM_H
+
+//===========================================================================
+// Constants, Typedefs, and Macro Definitions (needed by external clients)
+//===========================================================================
+
+namespace StatePropEnum
+{
+ enum Events
+ {
+
+ };
+
+ enum Callbacks
+ {
+ eStateChange = -1, // The only callback thats reserved for use by the stateprop system
+ eRemoveFromWorld = 0,
+ eSpawn5Coins = 1,
+ eRemoveCollisionVolume = 2,
+ eFireEnergyBolt = 3,
+ eKillSpeed = 4,
+ eSpawn10Coins = 5,
+ eSpawn15Coins = 6,
+ eSpawn20Coins = 7,
+ eRadiateForce = 8,
+ eEmitLeaves = 9,
+ eObjectDestroyed = 10,
+ eSpawn5CoinsZ = 11,
+ eSpawn1Coin = 12,
+ eColaDestroyed = 13,
+ eCamShake = 14,
+ eRemoveFirstCollisionVolume = 15,
+ eRemoveSecondCollisionVolume = 16,
+ eRemoveThirdCollisionVolume = 17
+ };
+}
+#endif \ No newline at end of file