Anders Jenbo
4d8ceea32d
Types ( #395 )
...
* Apply plr_class
* Apply attribute_id
* NetSendCmd*(BOOL)
8 years ago
Anders Jenbo
411fa9f24a
Add enumds for _pgfxnum and fully use inv_body_loc ( #392 )
...
* Add enumds for _pgfxnum and fully use inv_body_loc
* _iIdentified is BOOL
* _pgfxnum
8 years ago
squidcc
7c1d00d15c
Finish cleaning player.cpp ( #365 )
...
* clean RespawnDeadItem
clean PM_ChangeLightOffset
Clean PlrDeadItem (exact)
* fix typo in PlrDeadItem
* Fix PM_ChangeLightOff (exact)
* Fix remaning issues with RespawnDeadItem
8 years ago
squidcc
51bfa2353b
Use quest enum values ( #362 )
...
* add/assign enums related to Black Mushroom quests
* plug in more quest enum values
8 years ago
nomdenom
4bb6bde99b
Use sizeof() for memset()
...
I checked that the sizes do match. (+1 squashed commits)
8 years ago
Anders Jenbo
9bd3b4189e
Clean up CheckNewPath ( #332 )
8 years ago
Andrew Dunstan
71cae5f8c2
add enums for known actions (to be performed in response to commands)
8 years ago
Anders Jenbo
d8c4bcab5c
Clean up DropHalfPlayersGold ( #330 )
8 years ago
Anders Jenbo
3ebeb2366a
Clean PM_DoGotHit & ArmorDur ( #316 )
...
* Clean PM_DoGotHit & ArmorDur
* Add DUR_INDESTRUCTIBLE define
8 years ago
Anders Jenbo
7da6f4d08a
Clean up PM_DoDeath ( #317 )
...
* Clean up PM_DoDeath
* Add enum for dFlags
8 years ago
Anders Jenbo
081c4a3f93
Fix build
8 years ago
Anders Jenbo
5d2130e52e
Confirm itemavail size via beta
8 years ago
Anders Jenbo
cd79931ed4
Add iCurs enum
8 years ago
Anders Jenbo
db77557dce
ValidatePlayer ( #318 )
...
* ValidatePlayer
* Add MAX_SPELLS define
8 years ago
Anders Jenbo
e05679b1c9
Clean up ProcessPlayers ( #319 )
...
* Clean up ProcessPlayers
* Change drawhpflag and drawmanaflag to BOOL
8 years ago
galaxyhaxz
42c9076ce5
Sync with nightly ( #302 )
8 years ago
Dennis Duda
2f7f7d055e
Switched all remaining uses of `UINT64` to `unsigned __int64` to make it compilable on <=VC5
8 years ago
Anders Jenbo
6e50ec5337
Work on LoadPlrGFX
8 years ago
galaxyhaxz
38b498ac4b
Add 'const' to data to match original binary ( #200 )
8 years ago
galaxyhaxz
6d07e15f4e
Fix itemhold and add pfile def ( #199 )
8 years ago
Dennis Duda
e8b53791d3
`DrawInv` is now binary exact.
8 years ago
Anders Jenbo
f3e3f38730
Light clean up of UseItem
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
Dennis Duda
2f2d519ec7
Added missing enum values, removed codegen TODOs (fixed with new compiler) - now 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
22718733d0
Fixed nasty bug in `CalcPlrItemVals`, now binary exact!
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
Dennis Duda
3577cfe747
Reordered switches to normal order
8 years ago
Dennis Duda
5d1dd0e934
Added enum value for `_iCurs` assignement
8 years ago
Dennis Duda
45303c98b1
Updated cleanup of `CreatePlrItems`:
...
- Now 99% accurate (can't get the last `GetPlrHandSeed` call in the switch to optimize the way it is in the binary, TODO for that added)
- Switched `_ui_classes` enum members out with `plr_classes` ones
- Added TODO tags for missing debug logic from the 1.00 build
8 years ago
Dennis Duda
84617bc1cc
Cleaned up `CreatePlrItems`.
8 years ago
Dennis Duda
c056e67de7
Some minor adjustments from more asm comparison work
8 years ago
Dennis Duda
93ee15d70f
Removed `ptrplr` since that was only used in the PSX version.
8 years ago
Dennis Duda
258b6fe7ec
Reverted the Str/Mag/Dex/Vit checks back to `plr[myplr]`
8 years ago
Dennis Duda
dbd4b11821
Further cleanup of `CalcPlrItemVals`
...
The stack var setup is now 100% correct, and the function is only 5 bytes larger than the original now.
Some minor differences remain, but it's very close now!
8 years ago
Dennis Duda
634ae12ede
Updated `CalcPlrItemVals` with the new player class enum vals
...
and completed docs.
8 years ago
Dennis Duda
5eae298035
Cleaned up `CalcPlrItemVals`
8 years ago
galaxyhaxz
5ed2336e90
Fix types of animation data ( #176 )
8 years ago
Dennis Duda
4272b18daf
Cleaned up `SetPlrHandItem`
...
Binary exact
8 years ago
galaxyhaxz
fa64b2148d
Add defines [W.I.P] ( #160 )
8 years ago
galaxyhaxz
775ae59e18
Fix function signatures and others ( #158 )
...
Fix InitObjects, themes.cpp, names
8 years ago
galaxyhaxz
a336c38226
Fix random(idx,v) calls ( #157 )
8 years ago
galaxyhaxz
56e625cf7f
Fix bosses not dropping unique items
8 years ago
ApertureSecurity
f34ab0a412
Fix items.cpp regression
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
2ed8daf35d
Final typos of the IPL enum
8 years ago
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
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