Duarte Alvim
6a4142fb08
Add gold constants
7 years ago
Manuel K
896933f55e
Replace magic number 352 with VIEWPORT_HEIGHT ( #1232 )
7 years ago
Anders Jenbo
56dcdd669b
Clean up DrawChr
7 years ago
Anders Jenbo
565bb5aa7d
Adust dFlag enums
7 years ago
Sergey Semushin
47aee25195
Make Do_Death bin exact.
7 years ago
Anders Jenbo
9f5af2e6df
Clean up player.cpp
7 years ago
Anders Jenbo
66438890aa
Clean up spells.cpp
7 years ago
galaxyhaxz
029b15f298
Fix type for Dungeon Micros
7 years ago
Anders Jenbo
512f858e67
Correct count
7 years ago
Anders Jenbo
55a0396f8f
Clean up mem_free_dbg style
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
galaxyhaxz
7b687413b2
Rename InitPlayerLoc
7 years ago
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl ( #825 )
7 years ago
galaxyhaxz
5238265702
Implement assert support ( #791 )
7 years ago
galaxyhaxz
a29c75a3a2
Fix a few func/var names ( #731 )
7 years ago
Anders Jenbo
9358465bb5
AddMissile bin exact ( #621 )
...
* AddMissile bin exact
* Clean up bools
7 years ago
Max Desiatov
269aa345bd
Fix downstream 64-bit builds
7 years ago
Anders Jenbo
bc015e9af1
Make _miDelFlag bool
7 years ago
Anders Jenbo
b5c7026b15
Not all animation combinations exists for player animations
...
This issue causes the game to look for 126 non existing animations
- Player always drops weapons when dying
- Player can only block if using a shield
7 years ago
Anders Jenbo
9b7da61dcf
Auto format src
7 years ago
Anders Jenbo
6d5c9619a7
Clean up town_draw_town_all ( #544 )
...
* Clean up town_draw_town_all
* Clean up town_draw_e_flag
* Clean up InitPlayerLoc
* Fix VS 2015 builds
* Clean up gendung_get_dpiece_num_from_coord
* Clean up town_draw_clipped_e_flag
* Clean up town_draw_clipped_e_flag_2
* Remove HIDWORD() as it is now unused
7 years ago
Anders Jenbo
fd2a45ff9a
Engine.cpp ( #548 )
...
* Clean up DiabloAllocPtr
* Clean up mem_free_dbg
* Clean up GetDirection
* Clean up PlayInGameMovie
* 18 directions
7 years ago
Anders Jenbo
efec32bcd5
Compile files as C ( #527 )
...
* Compile files as C
* Provide fallback for qmemcpy
Enable C compilation for:
Source/gendung.cpp
Source/inv.cpp
Source/minitext.cpp
Source/pack.cpp
7 years ago
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
f1c2d3ddb6
Clean up PlrDeadItem
7 years ago
Anders Jenbo
7dee72d446
C declaration ( #498 )
...
* Convert player.cpp functions to C
* Convert capture.cpp functions to C
7 years ago
Anders Jenbo
b4fe143e29
Add player_weapon_type
7 years ago
Anders Jenbo
ef28a74db5
Correct var names in StartPlrHit ( #484 )
...
* Correct var names in StartPlrHit
* Clean up RespawnDeadItem
* Update Source/player.cpp
Co-Authored-By: AJenbo <anders@jenbo.dk>
7 years ago
Anders Jenbo
9edeecb3bb
Consisten use of structs
7 years ago
Anders Jenbo
d69ed419db
Correct style
7 years ago
Anders Jenbo
f31942d801
Level 16 message bug
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
Anders Jenbo
e340ce2241
Monster.cpp ( #442 )
...
* Clean M_UpdateLeader
* Clean up M_DoRSpAttack
* Add definition for mFlags
Fixes #416
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
Anders Jenbo
6576954831
Clean up types used in gamemenu.cpp
8 years ago
Anders Jenbo
c24569205d
Format compleated files
8 years ago
Anders Jenbo
f1c8439c64
Change setlvlnum to BYTE
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
4fa5baf291
Apply enum to _pSplLvl
8 years ago
squidcc
3f7055387d
fix _px/_py being used instead of _pxoff/_pyoff ( #397 )
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
Robin Eklind
7515655efb
Run format.sh
8 years ago
Anders Jenbo
46897e9c6e
Correct a couple of values ( #389 )
8 years ago
Anders Jenbo
744e225618
Clean up player.cpp ( #387 )
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
Anders Jenbo
f269f4561b
PlaySFX_priv, stream_play ( #371 )
...
* PlaySFX_priv, stream_play
* Fix build warnings in player.cpp
* Clean up FreeMonsterSnd
* Added more enums and defines for sound and effects.
8 years ago