Robin Eklind
e915623726
rename SetCursor to SetCursor_ to avoid collision with windows.h
...
Translation done automatically using:
$ find . -type f -name '*.h' | xargs -I '{}' sar -i "([ \t])(SetCursor)[(]" '${1}${2}_(' '{}'
$ find . -type f -name '*.h' | xargs -I '{}' sar -i "([ \t])(SetCursor)[(]" '${1}${2}_(' '{}'
7 years ago
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
7 years ago
Anders Jenbo
4a62a7c678
Code style
7 years ago
Anders Jenbo
5bc5da3597
Clean up DeltaLoadLevel
7 years ago
Anders Jenbo
b4fe143e29
Add player_weapon_type
7 years ago
Anders Jenbo
23897a640b
Correct types
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
galaxyhaxz
83e817a9bb
Fix CreateMagicItem and cheat cmd ( #460 )
7 years ago
galaxyhaxz
86f00145f8
Remove empty_string garbage
7 years ago
Anders Jenbo
507d12082f
Use MAXDUR* in most instances
7 years ago
Anders Jenbo
c0fd7b65fe
Correct some BOOL types
7 years ago
Anders Jenbo
04b19f604d
Monster.cpp ( #443 )
...
* Clean up MAI_Golum
* Clean up MAI_Garbud
* Clean up MAI_Lachdanan
* Clean up DeleteMonsterList
* Clean up FreeMonsters
* Define enums for resistance
* Correct AddPanelString input
* Correct pinfoflag type
* Define monster_goal
* apply enum to _pIFlags
* Correct DeleteMonsterList
* Add TODO for possible bug fix.
7 years ago
galaxyhaxz
b4e158a29d
Cleanup UseItem ( #445 )
7 years ago
Anders Jenbo
0fb5c0bf9c
Additional tab indentation
7 years ago
Anders Jenbo
480bbe8c63
Apply missile_id and align spells table
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
Anders Jenbo
596f244f50
Align structured data tables
8 years ago
Anders Jenbo
0f3091efac
Format items.cpp
8 years ago
Andrew Dunstan
594ef2e95b
add inline assembly code for drawing semi-transparent rectangles
8 years ago
Andrew Dunstan
47244b9f3c
clean all On_* functions
8 years ago
Andrew Dunstan
1430acc47f
msg.cpp cleanup part #0
8 years ago
Anders Jenbo
48a1035d4a
Remove unused varialbes
8 years ago
Anders Jenbo
7a5c283db2
Clean up CalcPlrStaff
8 years ago
Anders Jenbo
8ef6488acf
Clean up CalcPlrScrolls
8 years ago
Anders Jenbo
51d838841f
Clean up OperateBook
8 years ago
Anders Jenbo
f80de53b14
_iMagical enum ( #393 )
...
* _iMagical enum
* Color enum
8 years ago
Anders Jenbo
96ab38730f
Control.cpp ( #396 )
...
* Clean up ToggleSpell
* Clean up DrawLifeFlask and UpdateLifeFlask
* Clean up DrawManaFlaskm, control_update_life_mana and UpdateManaFlask
* Clean up CheckSBook
* Clean up DoSpeedBook
* Decompose magic numbers
* Clean up GetSBookTrans
* Apply spell_type
* Slight clean up of DrawSpellList
This improves the bin diff a little bit but more importantly gets rid of
_p*Spells[] usage in control.cpp
8 years ago
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