pionere
f5c1079d6f
eliminate unused code
5 years ago
Anders Jenbo
b31da5aec3
Reorder nthread.h
5 years ago
Joel Falcou
c4223d4c29
Per file basis use of extern C
6 years ago
Joel Falcou
64d26a7934
Sanitize use of namespace
...
Wrap individual headers in dvl namespace to prevent
including standard header in another namespace.
6 years ago
Robin Eklind
038666db18
nthread: add parameter name to nthread_handler
...
Fixes the following error when compiling as C with Clang:
Source/dthread.cpp:92:46: error: parameter name omitted
unsigned int __stdcall dthread_handler(void *)
^
Related to #2017 .
6 years ago
Anders Jenbo
3c276a3cd3
Add documentation
...
- Add file documentation to about 1/4 of the files in Source
- Copy over a lot of the documentation from the sanctuary/notes repo
- Standardise all the existing documentation
- Create a configuration for Doxygen
- Add more documentation (engine.cpp is now fully documented)
6 years ago
Anders Jenbo
c26fa8fa3f
Remove threading from miniwin
6 years ago
Anders Jenbo
40cea40aa4
Remove windows call types collisions
6 years ago
Nam Nguyen
f707e696db
glpMsgTbl stores 64-bit pointers to turn_t variables. This won't fit inside int.
7 years ago
Anders Jenbo
e2bff090d6
Come up with names for all remaning arguments
7 years ago
Anders Jenbo
1d7a548cd7
Clean up nthread.cpp
7 years ago
qndel
addde67e56
nthread_start bin exact
7 years ago
qndel
bca7111fc4
nthread_send_and_recv_turn bin exact
7 years ago
qndel
68463704d9
nthread_recv_turns bin exact
7 years ago
galaxyhaxz
cef65ea0b6
Implement Critical section constructor
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Xadhoom
df55ce352c
Clarify glpMsgTbl and gdwMsgLenTbl
7 years ago
Anders Jenbo
9d44169ac7
multi_upgrade ( #583 )
...
* Clean up multi_upgrade
* Correct variable names
* Correct variable types
7 years ago
Anders Jenbo
b048de798a
SetMissAnim & SetMissDir ( #584 )
...
* Clean up SetMissAnim & SetMissDir
* Use enums for _miAnimType
* Use const for gdwMsgLenTbl & glpMsgTbl
7 years ago
Anders Jenbo
cfbe27f3b8
Clean up ( #568 )
...
* Clean up mana checks
* Don't expose static globals
7 years ago
Anders Jenbo
9b7da61dcf
Auto format src
7 years ago
Anders Jenbo
e795b6116a
Make use of atexit() C compatible ( #537 )
7 years ago
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
7 years ago
galaxyhaxz
040b4b0cc9
Cleanup game_loop
7 years ago
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
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
galaxyhaxz
b3fdda7c18
GM_Game+others ( #458 )
7 years ago
Anders Jenbo
8317d80d94
Clean up threading
8 years ago
Andrew Dunstan
1430acc47f
msg.cpp cleanup part #0
8 years ago
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago
nomdenom
d516fa63f7
Add variable names to nthread ( #161 )
...
Also inline some parameters that were just copied to local variables.
8 years ago
nomdenom
fc136511d1
Add variable names to nthread
...
Also inline some parameters that were just copied to local variables.
8 years ago
galaxyhaxz
38b498ac4b
Add 'const' to data to match original binary ( #200 )
8 years ago
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
8 years ago
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
8 years ago
galaxyhaxz
dde68ff89e
Add files via upload
8 years ago