Commit graph

61 commits

Author SHA1 Message Date
Anders Jenbo
bc23bde296 Clean up SetupLocalCoords 2019-04-25 21:51:39 +02:00
Anders Jenbo
8b0ab51331 Clean up InitNewSeed 2019-04-25 21:50:43 +02:00
Anders Jenbo
c1ba28a006 Clean up NetClose 2019-04-25 21:42:16 +02:00
Robin Eklind
0ec639feb1
Merge pull request #1011 from galaxyhaxz/multiplrjoins
multi_player_joins + dumphist
2019-04-23 13:49:58 +09:00
galaxyhaxz
3a636fdcc6
Add missing functions for MI_Dummy (#1004) 2019-04-22 20:21:52 -05:00
galaxyhaxz
d13f453410 multi_player_joins + dumphist 2019-04-22 18:53:50 -05:00
qndel
c5ad888cc1 multi_player_joins bin exact (#1009) 2019-04-22 23:54:49 +02:00
galaxyhaxz
540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
Anders Jenbo
8009a47cab Clena up NetInit 2019-04-16 06:06:19 +02:00
Anders Jenbo
ceab106d2f
dword_678628 -> gbShouldValidatePackage 2019-04-10 12:52:38 +02:00
Anders Jenbo
6c1f45c57c
Update multi.cpp 2019-04-10 12:47:45 +02:00
Robin Eklind
de4ee928a1
Merge pull request #881 from AJenbo/multi_handle_delta
Clean up multi_handle_delta
2019-04-10 12:08:56 +09:00
Anders Jenbo
f814bc49fb Clean up multi_process_tmsgs 2019-04-09 20:55:45 +02:00
Anders Jenbo
e876de6716 Clean up multi_handle_delta 2019-04-09 20:50:09 +02:00
galaxyhaxz
4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
Anders Jenbo
d2174e3454 Apply code style 2019-04-05 21:54:45 +02:00
galaxyhaxz
40ffc0d00c Clean the dirty sink 2019-04-05 12:17:26 +02:00
galaxyhaxz
ec2029e0ba
Fix sync.cpp names p1 (#828) 2019-04-04 14:44:37 -05:00
galaxyhaxz
5238265702
Implement assert support (#791) 2019-03-29 21:26:37 -05:00
Anders Jenbo
390c51f4fa Use consts instead of hardcoded values 2019-01-31 04:45:34 +01: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