Dennis Duda
0508308eba
Fixed missing cast for literal 1 to UINT64
2018-08-28 22:56:36 +02:00
Dennis Duda
07b5dc3939
Cleaned up inv_update_rem_item, RemoveInvItem, RemoveSpdBarItem, CheckInvItem, CheckInvScrn, CheckItemStats
...
All relatively simple and/or use code from other functions already cleaned up. Now binary exact except for the small codegen differences outlined in https://github.com/diasurgical/devil-nightly/issues/15
2018-08-28 20:11:23 +02:00
Dennis Duda
a061f6d6f0
Cleaned up CheckInvSwap (0x3B6 → 0x390, orig: 0x373)
...
Pretty close to the original binary except for the first loop, which generates differently. (TODO comment added) There are also some questionable double address calculations, which hopfully clear up when the loop is fixed as well.
Also added enums `inv_body_loc` and `inv_xy_slot` to clean up a lot of magic numbers.
2018-08-28 16:40:49 +02:00
Dennis Duda
2f25466ed6
Cleaned up CheckInvSwap
...
Now binary exact except for the usual `xor; inc` vs `push 1; pop` switch.
Updated the type of `_iIdentified` to `BOOL` as well (since every write to it actually is 0 or 1).
2018-08-28 16:40:49 +02:00
galaxyhaxz
a336c38226
Fix random(idx,v) calls ( #157 )
2018-08-10 22:45:32 -05:00
Stephan Unverwerth
c8af0523ac
refactor leveltype to use macros ( #103 )
2018-06-29 10:40:22 -05:00
Adam Heinermann
87ca6557c3
Changed _oBreak and _oSelFlag to char ( #95 )
...
* Changed _oBreak and _oSelFlag to char
2018-06-28 08:53:06 -05:00
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxz
083833d589
Fix item swapping deleting the item
2018-06-15 00:47:43 -05:00
galaxyhaxz
ade35fb4a4
Fixed decompilation, game can now be played start to finish ( #15 )
...
Fix Lazurus seals, dropping items, and Shrine spawning.
2018-06-14 05:53:03 -05:00
galaxyhaxz
dde68ff89e
Add files via upload
2018-06-06 21:25:54 -05:00