Xadhoom
0ed4423be9
Possible engine bugfix
7 years ago
Xadhoom
fa90e6720a
Revert random_ to random and remove extern "C" linkage
7 years ago
Xadhoom
3dd6cf1671
First try, merge compiles, but immediate crash
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
aperturesecurity
760a2d5e0d
Fixed the LSHIFT button . I had to Stubb Diablo.cpp
8 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
nomdenom
d14bf20467
Source: NO_GLOBALS support (for Miniwin)
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
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago
Anders Jenbo
489c25ceac
RemovePlrFromMap ( #352 )
...
* RemovePlrFromMap
* Move PM_DoNewLvl to the correct position
8 years ago
Andrew Dunstan
ae703ea7b0
make PosOkPlayer bin exact
8 years ago
Anders Jenbo
465f2a56bd
Clean up InitPlrGFXMem ( #341 )
8 years ago
Anders Jenbo
b7dfcf5ed5
Clean up CheckPlrSpell ( #339 )
8 years ago
Anders Jenbo
d0f620f0b2
Clean up CreatePlayer ( #343 )
8 years ago
Anders Jenbo
ff2f0bf8ab
Clean up ProcessPlayers ( #347 )
8 years ago
Anders Jenbo
a8e6691f54
RestartTownLvl ( #348 )
8 years ago
Anders Jenbo
8e2360d462
Clean up PM_DoGotHit ( #345 )
8 years ago
Anders Jenbo
5931fbe1f9
Enum ( #340 )
...
* Use MAX_PLRS in player.cpp
* Use WALK_NONE in player.cpp
* CMD_WALKXY
8 years ago
Anders Jenbo
d62683c891
Clean up MakePlrPath ( #321 )
8 years ago
Anders Jenbo
0c667ff9b8
Clean PosOkPlayer ( #320 )
8 years ago
Anders Jenbo
ed2626e6d8
Clean up CheckStats ( #335 )
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