Anders Jenbo
4e008adcbd
Add two doom function from debug
8 years ago
galaxyhaxz
170d7ba53a
Fix timed messages in multiplayer ( #196 )
8 years ago
galaxyhaxz
97360fca7c
Fix windows error dialogs ( #195 )
8 years ago
Dennis Duda
e8b53791d3
`DrawInv` is now binary exact.
8 years ago
galaxyhaxz
0efe4c27b6
Fix TSyncHeader and sync.cpp ( #192 )
8 years ago
Anders Jenbo
f3e3f38730
Light clean up of UseItem
8 years ago
Anders Jenbo
0a9b8f1c75
Clean up doom.cpp
8 years ago
Dennis Duda
4c79827d3c
`FreeInvGFX` and `InitInv` are now binary exact.
8 years ago
galaxyhaxz
2a377ea876
Fix some struct names and lighting ( #190 )
8 years ago
galaxyhaxz
13126a90d6
Fix garbage structs, data in setmaps ( #189 )
8 years ago
Anders Jenbo
ad1e782fe9
Clean up InitPlayerGFX
8 years ago
Anders Jenbo
26a1135757
Clean up AddPlrMonstExper
8 years ago
Robin Eklind
5d46965fa2
Fix loading of TRN for unique monsters.
...
Fixes #31 .
8 years ago
Dennis Duda
ad8f018e98
SetPlayerGPtrs is now binary exact!
8 years ago
Anders Jenbo
2be0ef7a2c
Clean up player_init_cl2_hdrs()
8 years ago
Dennis Duda
b23f92805c
DoHealOther is now almost binary exact, except for the flipped usage of `esi` and `edi`.
8 years ago
Dennis Duda
855bb4a42a
PlacePlayer is now binary exact
8 years ago
Dennis Duda
8adb2b83c8
DoResurrect is now binary exact
8 years ago
Dennis Duda
84120afd83
Cleaned up CheckSpell and CastSpell, now both binary exact!
8 years ago
Dennis Duda
6776b568c0
`GetManaAmount` is now binary exact
8 years ago
Dennis Duda
0b5aef5edb
`PlaceGroup` is now near binary-exact
8 years ago
Dennis Duda
8bd518031b
Added `LIGHTSIZE` constant
8 years ago
Dennis Duda
5de0a5083b
`PlaceUniqueMonst` is now near binary-exact.
...
It's just the both struct pointers that seem to load a bit differently.
8 years ago
Dennis Duda
0f0bb1c713
`PlaceMonster` is now binary exact
8 years ago
Dennis Duda
7c75240c1e
`MonstPlace` now binary exact.
8 years ago
galaxyhaxz
20ad6eb218
Fix signature of diablo_find_window ( #187 )
...
Byte identical now
8 years ago
Andrew Dunstan
e0fab6a6d1
fix type definition of itemhold, avoids overrun into Item2Frm (crashes when byte_641234[] is stripped by compiler due to being unreferenced)
8 years ago
galaxyhaxz
56d57d61c5
Update player.cpp
8 years ago
galaxyhaxz
f49117c95a
Update monster.cpp
8 years ago
galaxyhaxz
3b90e56429
Update player.cpp
8 years ago
galaxyhaxz
704380756d
Update player.h
8 years ago
galaxyhaxz
1120c0780d
Update sound.cpp
8 years ago
galaxyhaxz
0a1dcc5c0f
Update missiles.cpp
8 years ago
galaxyhaxz
9f206691b0
render.cpp -> undo memset/memcpy ( #186 )
8 years ago
galaxyhaxz
5ed7a29e22
render.cpp -> implement memset/memcpy
8 years ago
Dennis Duda
ad59011c64
Shuffled things around in `InitMonster` to make the ordering closer to the beta, and making it binary exact
8 years ago
Dennis Duda
ad0bf6acfc
Cleaned up `InitMonsterGFX` by changing the signature of LoadMissileGFX to fit.
8 years ago
Dennis Duda
16a576cd5b
Brought `GetLevelMTypes` very close to binary exact
8 years ago
Dennis Duda
cf81adbd47
Minor adjustments to `InitLevelMonsters` and `AddMonsterType`
8 years ago
Dennis Duda
4461f657c3
Made `InitMonsterTRN` 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
f5a4d0a2ec
Reordered assignments in `NewPlrAnim` to be closer to the beta. Still binary exact with the new compiler
8 years ago
Dennis Duda
2f2d519ec7
Added missing enum values, removed codegen TODOs (fixed with new compiler) - now binary exact!
8 years ago
Dennis Duda
d45a175064
Fixed `CreatePlayer` to now be binary exact!
8 years ago
Dennis Duda
0ba52840b4
Use `UINT64` instead of `unsigned __int64`, more in line with uses of `DWORD`
8 years ago
Dennis Duda
0508308eba
Fixed missing cast for literal `1` to UINT64
8 years ago
Dennis Duda
22718733d0
Fixed nasty bug in `CalcPlrItemVals`, now binary exact!
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