Dennis Duda
4c79827d3c
`FreeInvGFX` and `InitInv` are now binary exact.
8 years ago
Dennis Duda
91b6568ef9
Fixed CheckInvCut to be binary exact now with the new compiler version
8 years ago
Dennis Duda
0508308eba
Fixed missing cast for literal `1` to UINT64
8 years ago
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
8 years ago
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.
8 years ago
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).
8 years ago
galaxyhaxz
a336c38226
Fix random(idx,v) calls ( #157 )
8 years ago
Stephan Unverwerth
c8af0523ac
refactor leveltype to use macros ( #103 )
8 years ago
Adam Heinermann
87ca6557c3
Changed _oBreak and _oSelFlag to char ( #95 )
...
* Changed _oBreak and _oSelFlag to char
8 years ago
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
8 years ago
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
8 years ago
galaxyhaxz
083833d589
Fix item swapping deleting the item
8 years ago
galaxyhaxz
ade35fb4a4
Fixed decompilation, game can now be played start to finish ( #15 )
...
Fix Lazurus seals, dropping items, and Shrine spawning.
8 years ago
galaxyhaxz
dde68ff89e
Add files via upload
8 years ago