Commit Graph

33 Commits

Author SHA1 Message Date
Anders Jenbo 1d7a548cd7 Clean up nthread.cpp 2019-05-21 00:32:10 +01:00
qndel addde67e56 nthread_start bin exact 2019-05-11 20:39:54 +01:00
qndel bca7111fc4 nthread_send_and_recv_turn bin exact 2019-05-11 13:32:33 +01:00
Anders Jenbo b797cdf0cf Use INVALID_HANDLE_VALUE 2019-05-11 12:50:04 +02:00
qndel 68463704d9 nthread_recv_turns bin exact 2019-05-11 11:37:31 +01:00
Anders Jenbo 4a8f9fb964 Clean up nthread_terminate_game 2019-05-08 16:01:14 +01:00
Anders Jenbo 175f66a6d3 Correct sghThread value 2019-05-01 15:16:58 +02:00
galaxyhaxz 540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
galaxyhaxz cef65ea0b6 Implement Critical section constructor 2019-04-15 01:16:43 +02:00
galaxyhaxz 4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02: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 9d44169ac7 multi_upgrade (#583)
* Clean up multi_upgrade

* Correct variable names

* Correct variable types
2019-01-26 17:30:09 +01:00
Anders Jenbo b048de798a SetMissAnim & SetMissDir (#584)
* Clean up SetMissAnim & SetMissDir

* Use enums for _miAnimType

* Use const for gdwMsgLenTbl & glpMsgTbl
2019-01-26 17:28:48 +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 54247a076c C init (#549)
* Make initializers C compatible

* Compile more files as C

dthread.cpp dx.cpp init logging.cpp fault.cpp msgcmd.cpp nthread.cpp

* Update defs.h
2019-01-10 21:39:28 +01:00
Anders Jenbo e795b6116a Make use of atexit() C compatible (#537) 2019-01-01 03:05:29 +01:00
Anders Jenbo 77849aea72 Remove unused init (#533) 2018-12-31 04:26:51 +01:00
Anders Jenbo b5f69dccdc C compatability from d-p (#519) 2018-12-29 17:54:22 +01:00
galaxyhaxz 040b4b0cc9 Cleanup game_loop 2018-12-19 22:40:53 +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 ab3a6208d2 Use "BOOLEAN" instead of "bool"
bool is not defined in C
2018-11-26 12:35:03 +01:00
galaxyhaxz b3fdda7c18 GM_Game+others (#458) 2018-11-11 11:22:19 -06:00
Anders Jenbo b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo 8317d80d94 Clean up threading 2018-10-23 00:54:09 +02:00
Andrew Dunstan 1430acc47f msg.cpp cleanup part #0 2018-10-18 02:37:33 +02:00
nomdenom fc136511d1 Add variable names to nthread
Also inline some parameters that were just copied to local variables.
2018-09-23 12:11:19 -07:00
galaxyhaxz 34938876e0 A few name corrections (#203) 2018-09-14 23:47:22 -05:00
galaxyhaxz 38b498ac4b Add 'const' to data to match original binary (#200) 2018-09-09 15:40:23 -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