Commit Graph
42 Commits
Author SHA1 Message Date
Xadhoom 15341fdae3 More temporary 64 bit fixes; we can walk in town 2019-01-27 20:45:27 +00:00
Anders Jenbo 81a3e0051d Clean up multi_init_single & multi_init_multi (#587) 2019-01-27 13:06:54 +01:00
Anders Jenbo 9d44169ac7 multi_upgrade (#583)
* Clean up multi_upgrade

* Correct variable names

* Correct variable types
2019-01-26 17:30:09 +01:00
Anders Jenbo 003fb7cc24 clean up multi_mon_seeds (#580) 2019-01-24 00:17:57 +01:00
Anders Jenbo 2e32ac5ee0 Replaced 'long' by 'LONG' and 'unsigned long' by 'DWORD' (#576) 2019-01-23 09:34:16 +01:00
Anders Jenbo 9b7da61dcf Auto format src 2019-01-13 18:55:59 +01:00
Anders Jenbo 841f5af199 Compile effects.cpp and wave.cpp as C (#530)
* Correct SFileReadFile signature

* Compile as C

Source/effects.cpp
Source/wave.cpp

* Make diabloui.h C frindly
2018-12-30 19:22:40 +01:00
Anders Jenbo b5f69dccdc C compatability from d-p (#519) 2018-12-29 17:54:22 +01:00
Anders Jenbo 4a62a7c678 Code style 2018-12-29 02:15:20 +01:00
galaxyhaxz 849ec37b70 Fix TBuffer type and buffer_init 2018-12-18 09:37:37 +01:00
Anders Jenbo 69d68254d5 Clean up msg.cpp (#502)
* Clean up msg_wait_for_turns
* Clean up msg_get_next_packet
* Clean up msg_pre_packet
* Clean up DeltaSaveLevel
* Simple clean ups for msg.cpp
* Clean up NetSendCmdQuest
* Clean up NetSendCmdGItem
* Clean up NetSendCmdGItem2
* Clean up NetSendCmdPItem
* Clean up NetSendCmdChItem
* Clean up NetSendCmdDItem
* Clean up multi_send_packet
* Clean up msg_errorf
* Clean up i_own_level
* Clean up msg_free_packets
2018-12-16 16:15:13 +01:00
Anders Jenbo 4aac75e836 Change msg attributes to signed where relevant
The variables are either being compared to -1, transfered between values
that are signed or closely related to such. Having them as unsigned has
the potential to break the game, having them signed shoudn't have any
negative effects.
2018-12-15 18:13:31 +01:00
Anders Jenbo 23897a640b Correct types 2018-11-26 14:14:55 +01:00
Anders Jenbo ab3a6208d2 Use "BOOLEAN" instead of "bool"
bool is not defined in C
2018-11-26 12:35:03 +01:00
Anders Jenbo 9123d92ab6 M teleport (#470)
* Correct NetSendCmdGolem()-cl type.
* Correct gbActivePlayers type
* Clean up M_Teleport
* Clean up PutMissile
2018-11-22 01:52:20 +01:00
Anders Jenbo b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo 8276252e6e Foarmat multiplayer related files 2018-10-22 02:07:06 +02:00
Anders Jenbo 6c92a6ae94 Merge branch 'nightly' of github.com:diasurgical/devilution into gamemenu.cpp 2018-10-21 16:36:42 +02:00
Dennis Duda bff845feb0 Updated _SNETUIDATA.selectnamecallback declaration
Updated _SNETUIDATA.selectnamecallback declaration for #329.
2018-10-21 13:13:15 +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 456d651f55 Clean up more bools related to sound.cpp 2018-10-18 20:32:44 +02:00
Andrew Dunstan 1430acc47f msg.cpp cleanup part #0 2018-10-18 02:37:33 +02:00
Anders Jenbo 8f3d59e513 Monster.cpp (#400)
* Clean up hp and mana checks

* Clean up PrepDoEnding
2018-10-10 09:55:57 +02:00
Andrew Dunstan 71cae5f8c2 add enums for known actions (to be performed in response to commands) 2018-09-25 10:14:12 +10:00
Anders Jenbo 7da6f4d08a Clean up PM_DoDeath (#317)
* Clean up PM_DoDeath

* Add enum for dFlags
2018-09-24 08:13:48 +02:00
galaxyhaxz c7c528bb03 DiabloUI.dll now works for single player (#310) 2018-09-20 00:52:01 -05:00
Dennis Duda ef9371e874 Merge remote-tracking branch 'devilution/master'
and updated to comparer 0.3.4
2018-09-16 20:18:12 +02:00
galaxyhaxz 34938876e0 A few name corrections (#203) 2018-09-14 23:47:22 -05:00
Anders Jenbo 6e50ec5337 Work on LoadPlrGFX 2018-09-12 20:28:09 +02:00
Dennis Duda 6792078180 Merge remote-tracking branch 'devilution/master' 2018-09-10 20:44:41 +02:00
galaxyhaxz 38b498ac4b Add 'const' to data to match original binary (#200) 2018-09-09 15:40:23 -05:00
Anders Jenbo fe3b0a9d09 Clean up DoEnding 2018-09-06 16:45:39 +02:00
galaxyhaxz 170d7ba53a Fix timed messages in multiplayer (#196) 2018-09-05 14:06:58 -05:00
galaxyhaxz 5ed2336e90 Fix types of animation data (#176) 2018-08-22 23:15:16 -05:00
galaxyhaxz 05ccc9e2ec Prevent confusion with local types using pkplr 2018-08-20 19:21:50 -05:00
nomdenom b8eb6c54fb Fix signature of multi_send_pinfo(...) (#164) 2018-08-20 19:03:21 -05:00
galaxyhaxz fa64b2148d Add defines [W.I.P] (#160) 2018-08-15 22:13:15 -05:00
galaxyhaxz f50dab25ba Several fixes for storm/msgcmd (#146) 2018-07-19 02:05:50 -05:00
galaxyhaxz 49a6f4f9fc Add include guards, prepare for XRef (#28)
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxz bb01c6f084 Remove the "fear factor" (#21)
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxz dde68ff89e Add files via upload 2018-06-06 21:25:54 -05:00