ZZYZX
|
26d38e6527
|
Since WorldThingDestroyed is the reverse of WorldThingSpawned, it should ignore actors that didn't call PostBeginPlay.
|
2017-01-31 04:53:18 +02:00 |
|
ZZYZX
|
89c475c2d1
|
Added WorldThingDamaged hook
|
2017-01-31 04:35:44 +02:00 |
|
ZZYZX
|
9942a59866
|
Almost forgot (x2): thing revived world event
|
2017-01-31 04:11:09 +02:00 |
|
ZZYZX
|
066b22af0a
|
Almost forgot: WorldTick hook, since ZScript doesn't have delays
|
2017-01-31 03:24:46 +02:00 |
|
ZZYZX
|
9a8a93fe51
|
Made global handlers (from GameInfo) implicitly transient, because these never get serialized anyway.
|
2017-01-31 02:37:36 +02:00 |
|
ZZYZX
|
71f62af6db
|
Implemented WorldThingDied (calls at the same point as SCRIPT_Kill); Added Inflictor parameter for WorldThingDied.
|
2017-01-31 02:07:00 +02:00 |
|
ZZYZX
|
27c8140c46
|
Replaced specialized event handlers with Event structure passed to a method; returned the check for virtual implementation to make sure that we don't waste time initializing the event data.
|
2017-01-31 01:28:47 +02:00 |
|
ZZYZX
|
5751f84350
|
Moved empty virtual methods to script side
|
2017-01-30 11:56:03 +02:00 |
|
ZZYZX
|
2382a76be5
|
Made separate .Find in Static handlers for convenience.
|
2017-01-30 09:33:06 +02:00 |
|
ZZYZX
|
c7e3ff2356
|
Static event handlers can create/register/unregister other static event handlers.
|
2017-01-30 09:28:27 +02:00 |
|
ZZYZX
|
83f868a049
|
Implemented WorldThingSpawned hook. Also changed Console.Printf to automatically add \n. Also fixed vararg calls with names.
|
2017-01-30 09:10:33 +02:00 |
|
ZZYZX
|
0598c18ad8
|
Added WorldEventHandler with WorldThingSpawned. WorldThingDestroyed is not implemented because you already can attach an object that would check master's state.
|
2017-01-30 08:47:15 +02:00 |
|
ZZYZX
|
fd282d3001
|
Fixed map/global static handlers; map handlers should not receive WorldLoaded/WorldUnloaded on load/save anymore.
|
2017-01-30 08:19:38 +02:00 |
|
ZZYZX
|
09ca1f610d
|
Removed World*Unsafe handlers (merged with WorldLoaded/WorldUnloading); Removed the concept of 'map-local static' handlers, static handlers are now only those that run globally.
|
2017-01-30 07:50:09 +02:00 |
|
ZZYZX
|
3e093a20ff
|
First take at serialization
|
2017-01-24 00:17:12 +02:00 |
|
ZZYZX
|
23c9386add
|
Removed RenderCamera, RenderBeforeThing, RenderAfterThing. Serialization preparations.
|
2017-01-23 23:05:51 +02:00 |
|
ZZYZX
|
efb1e5d33a
|
Implemented global EventHandlers in MAPINFO
|
2017-01-23 20:48:57 +02:00 |
|
ZZYZX
|
ba4a74265c
|
Fixed static handlers being OF_Fixed: only global (non-map) static handlers should be fixed.
|
2017-01-23 20:48:57 +02:00 |
|
ZZYZX
|
76b99da4b3
|
Added EventHandlers in Map section of MAPINFO
|
2017-01-23 20:48:57 +02:00 |
|
ZZYZX
|
890166a732
|
Hopefully I'm using OF_Fixed correctly
|
2017-01-23 20:48:57 +02:00 |
|
ZZYZX
|
35ec14f465
|
Made the EventHandler class tree a bit more branchy. Now disallowing creation of Static* via EventHandler.Create.
|
2017-01-23 20:48:57 +02:00 |
|
ZZYZX
|
302af61686
|
Added per-thing render hooks
|
2017-01-23 20:48:57 +02:00 |
|
ZZYZX
|
5bfd484ae2
|
Generalized event handler definition; removed excessive VM calls when we don't have override defined.
|
2017-01-23 20:48:57 +02:00 |
|
ZZYZX
|
ca0d92a454
|
Added EventHandler.CreateOnce and EventHandler.Find to refer to handlers after they are created
|
2017-01-23 20:48:57 +02:00 |
|
ZZYZX
|
ce616f9c06
|
Added: prototype event system
|
2017-01-23 20:48:57 +02:00 |
|