Commit graph

96 commits

Author SHA1 Message Date
Anders Jenbo
3e7d352fde Format files 2019-10-21 20:04:14 +02:00
Anders Jenbo
683a50527d Correct missmatched bool types 2019-10-04 09:26:26 +02:00
Anders Jenbo
b7a4d32e91
Use sizeof(TMegaPkt) 2019-09-14 22:55:40 +02:00
Anders Jenbo
68d51e7d27 Implementing Spawned Shareware version 2019-08-12 16:04:20 +02:00
Martin Hauke
6fc09ea8a6 Fix some typos 2019-07-23 14:33:42 +02:00
Robin Eklind
eaf8fbd0e7
Merge pull request #1312 from mewpull/cleanup4
Update player struct to use more booleans.
2019-07-18 02:50:53 +02:00
Robin Eklind
29eb52b6d0 Make _pLvlVisited into a boolean.
_pLvlVisited is only ever used in boolean contexts.
2019-07-17 20:34:45 +02:00
Robin Eklind
59167447ba msg: use enum for RSPLTYPE_INVALID in msg.cpp 2019-07-17 12:30:00 +02:00
Robin Eklind
983d2d6769 Make _pLvlChanging into a boolean.
_pLvlChanging is only ever used in boolean contexts.
2019-07-17 12:24:07 +02:00
Anders Jenbo
32a51d17ca Align function signatures with PSX symbols
Using
https://github.com/diasurgical/scalpel/tree/master/psx/_dump_/3/_dump_c_src_/diabpsx/source
as a reference
2019-07-08 04:12:12 +02:00
Anders Jenbo
7c071924ad Format recently cleaned code 2019-07-06 05:13:01 +02:00
Sergey Semushin
813d6693fb Add macro for aligning by 1 and apply it to 3 functions to make them bin exact. 2019-06-17 21:33:06 +03:00
Sergey Semushin
19d9fec7f8 Clean up delta_get_item. 2019-06-13 23:56:52 +01:00
Sergey Semushin
a9a431fc12 Fix small diff in NetSendCmdString. 2019-06-13 08:27:00 +01:00
Manuel K
ce1f397658 Use MAX_PLRS 2019-06-05 17:27:26 +02:00
Anders Jenbo
565bb5aa7d Adust dFlag enums 2019-05-29 16:23:08 +01:00
Anders Jenbo
1d7a548cd7 Clean up nthread.cpp 2019-05-21 00:32:10 +01:00
galaxyhaxz
150cb875ff On_DLEVEL 2019-05-20 10:02:49 +01:00
Sergey Semushin
6ec6e3c530 Make MonstrStruct::_msquelch and DMonstrStr::_mactive unsigned.
Also utilize UCHAR_MAX for value of 255 used extensively for those flags.
2019-05-10 21:52:23 +01:00
Robin Eklind
39d20dd7bc
Merge pull request #1097 from qndel/DeltaAddItem
DeltaAddItem bin exact
2019-05-02 13:32:20 +09:00
qndel
f896cd4c2c delta_put_item bin exact 2019-05-02 01:49:36 +02:00
qndel
66c1e8a0e0 DeltaAddItem bin exact 2019-05-02 00:29:48 +02:00
galaxyhaxz
e2146d5b6e Fix DeltaJunk multiplayer 2019-05-01 09:48:50 +02:00
Anders Jenbo
7dc47ed8ce Clean up multi_player_left_msg 2019-04-26 01:19:24 +02:00
galaxyhaxz
d13f453410 multi_player_joins + dumphist 2019-04-22 18:53:50 -05: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
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
9358465bb5
AddMissile bin exact (#621)
* AddMissile bin exact

* Clean up bools
2019-03-11 23:59:26 +01:00
Anders Jenbo
192da1853b Clean up DeltaExportData 2019-03-02 03:03:51 +01:00
Anders Jenbo
b582709d38 dthread_send_delta bin exact (#563) 2019-01-14 02:20:53 +01:00
Anders Jenbo
c6d8b533e6 Fix delta_get_item 2019-01-06 20:33:40 +01:00
Anders Jenbo
9a71c4b646
Merge pull request #505 from AJenbo/msg.cpp2
Msg.cpp min diff
2019-01-06 07:22:10 +01:00
Anders Jenbo
275e28581a BOOLEAN sgbDeltaChanged 2019-01-06 07:20:08 +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
9cb6f0748c
Merge branch 'nightly' into msg.cpp2 2018-12-29 18:26:51 +01:00
Anders Jenbo
4a62a7c678 Code style 2018-12-29 02:15:20 +01:00
Anders Jenbo
5bc5da3597 Clean up DeltaLoadLevel 2018-12-22 13:23:59 +01:00
Anders Jenbo
cd408cf3ee Fix multiplayer crashing
Fixes #487 again
2018-12-16 18:46:35 +01:00
Anders Jenbo
f917bdbd9b Clean up delta_put_item 2018-12-16 17:39:41 +01:00
Anders Jenbo
a40db4682b Clean up DeltaImportJunk 2018-12-16 16:33:27 +01:00
Anders Jenbo
b262d34a5a Clean up DeltaAddItem 2018-12-16 16:30:39 +01:00
Anders Jenbo
7973fde92f Clean up DeltaExportJunk 2018-12-16 16:30:39 +01:00
Anders Jenbo
9a56a19c2b Clean up DeltaExportData 2018-12-16 16:29:39 +01:00
Anders Jenbo
ec60523956 Clean up msg_wait_resync 2018-12-16 16:29:00 +01:00
Anders Jenbo
de1fb3c002 Clean up ParseCmd 2018-12-16 16:16:22 +01:00