Manuel K
896933f55e
Replace magic number 352 with VIEWPORT_HEIGHT ( #1232 )
2019-06-02 17:51:33 +01:00
Anders Jenbo
56dcdd669b
Clean up DrawChr
2019-05-31 16:03:03 +01:00
Anders Jenbo
565bb5aa7d
Adust dFlag enums
2019-05-29 16:23:08 +01:00
Sergey Semushin
47aee25195
Make Do_Death bin exact.
2019-05-06 23:03:54 +01:00
Anders Jenbo
9f5af2e6df
Clean up player.cpp
2019-05-02 00:16:46 +01:00
Anders Jenbo
66438890aa
Clean up spells.cpp
2019-05-02 00:16:46 +01:00
Robin Eklind
bfe060f173
Merge pull request #1037 from AJenbo/count
...
Correct count
2019-04-26 18:55:59 +09:00
galaxyhaxz
029b15f298
Fix type for Dungeon Micros
2019-04-26 03:17:06 +02:00
Anders Jenbo
512f858e67
Correct count
2019-04-26 02:34:19 +02:00
Anders Jenbo
55a0396f8f
Clean up mem_free_dbg style
2019-04-22 13:22:57 +02:00
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
2019-04-21 17:20:38 +02:00
galaxyhaxz
4e01e03711
Cleanup default calling conventions
2019-04-09 12:04:00 +02:00
galaxyhaxz
7b687413b2
Rename InitPlayerLoc
2019-04-07 23:24:08 +02:00
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl ( #825 )
2019-04-02 14:19:28 -05:00
galaxyhaxz
5238265702
Implement assert support ( #791 )
2019-03-29 21:26:37 -05:00
galaxyhaxz
a29c75a3a2
Fix a few func/var names ( #731 )
2019-03-24 05:54:44 -05:00
Anders Jenbo
9358465bb5
AddMissile bin exact ( #621 )
...
* AddMissile bin exact
* Clean up bools
2019-03-11 23:59:26 +01:00
Max Desiatov
269aa345bd
Fix downstream 64-bit builds
2019-03-08 03:07:21 +01:00
Anders Jenbo
bc015e9af1
Make _miDelFlag bool
2019-03-02 16:12:03 +01:00
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
2019-02-20 22:40:03 +01:00
Anders Jenbo
9b7da61dcf
Auto format src
2019-01-13 18:55:59 +01:00
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
2019-01-06 01:36:59 +01:00
Anders Jenbo
fd2a45ff9a
Engine.cpp ( #548 )
...
* Clean up DiabloAllocPtr
* Clean up mem_free_dbg
* Clean up GetDirection
* Clean up PlayInGameMovie
* 18 directions
2019-01-03 02:29:31 +01:00
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
2018-12-30 13:16:11 +01:00
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}_(' '{}'
2018-12-30 03:19:10 +01:00
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
2018-12-29 17:54:22 +01:00
Anders Jenbo
f1c2d3ddb6
Clean up PlrDeadItem
2018-12-20 18:13:37 +01:00
Anders Jenbo
7dee72d446
C declaration ( #498 )
...
* Convert player.cpp functions to C
* Convert capture.cpp functions to C
2018-12-14 01:53:22 +01:00
Anders Jenbo
b4fe143e29
Add player_weapon_type
2018-12-07 23:54:39 +01:00
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 >
2018-11-28 16:36:01 +01:00
Anders Jenbo
9edeecb3bb
Consisten use of structs
2018-11-26 14:19:27 +01:00
Anders Jenbo
d69ed419db
Correct style
2018-11-26 14:14:55 +01:00
Anders Jenbo
f31942d801
Level 16 message bug
2018-11-08 20:58:31 +01:00
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.
2018-10-31 15:26:03 +01:00
Anders Jenbo
e340ce2241
Monster.cpp ( #442 )
...
* Clean M_UpdateLeader
* Clean up M_DoRSpAttack
* Add definition for mFlags
Fixes #416
2018-10-27 20:47:43 +02:00
Anders Jenbo
b1f6d3698f
Update style to use tabs
2018-10-25 22:53:04 +02:00
Anders Jenbo
6576954831
Clean up types used in gamemenu.cpp
2018-10-21 03:50:52 +02:00
Anders Jenbo
c24569205d
Format compleated files
2018-10-19 03:02:43 +02:00
Anders Jenbo
f1c8439c64
Change setlvlnum to BYTE
2018-10-18 20:14:58 +02:00
Andrew Dunstan
1430acc47f
msg.cpp cleanup part #0
2018-10-18 02:37:33 +02:00
Anders Jenbo
48a1035d4a
Remove unused varialbes
2018-10-12 11:04:23 +02:00
Anders Jenbo
4fa5baf291
Apply enum to _pSplLvl
2018-10-11 16:08:47 +02:00
squidcc
3f7055387d
fix _px/_py being used instead of _pxoff/_pyoff ( #397 )
2018-10-08 14:17:37 +02:00
Anders Jenbo
4d8ceea32d
Types ( #395 )
...
* Apply plr_class
* Apply attribute_id
* NetSendCmd*(BOOL)
2018-10-08 14:17:05 +02:00
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
2018-10-07 11:04:22 +02:00
Robin Eklind
7515655efb
Run format.sh
2018-10-06 22:52:58 +02:00
Anders Jenbo
46897e9c6e
Correct a couple of values ( #389 )
2018-10-06 16:46:52 +02:00
Anders Jenbo
744e225618
Clean up player.cpp ( #387 )
2018-10-06 00:33:58 +02:00
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
2018-10-05 19:42:03 +02:00
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.
2018-10-02 00:02:12 +02:00