Anders Jenbo
20621a0642
add all.h and use in place of diablo.h ( #2005 )
...
Now diablo.h is treated in the same way as all other header files of
Source, as it only contains the declarations of global variables and
functions of diablo.cpp.
Besides consistency, this also enables mods to include diablo.h just
like any other header file without having to include every header file
(and without having to include C++ specific aspects of the now all.h).
6 years ago
Anders Jenbo
c26fa8fa3f
Remove threading from miniwin
6 years ago
Anders Jenbo
08aa6a860a
Move generic helpers out of miniwin
6 years ago
Anders Jenbo
cc4d6b57d8
Remove unused miniwin IO
6 years ago
qndel
3008439bc7
enums and stuff
6 years ago
Anders Jenbo
40cea40aa4
Remove windows call types collisions
6 years ago
Anders Jenbo
ba9288c6cf
Unify error dialogs, for looks and portability
...
- Use UiOkDialog() to display all error messages
- Add SDL simple message, and console fallbacks to UiOkDialog()
- Boot graphics early on to facilitate most error messages with build in
gui
- Some more miniwin clean ups
7 years ago
Anders Jenbo
683a50527d
Correct missmatched bool types
7 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
1ebf8fe27d
Remove unused fallbacks
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
Anders Jenbo
b797cdf0cf
Use INVALID_HANDLE_VALUE
7 years ago
qndel
68463704d9
nthread_recv_turns bin exact
7 years ago
Anders Jenbo
4a8f9fb964
Clean up nthread_terminate_game
7 years ago
Anders Jenbo
175f66a6d3
Correct sghThread value
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
cef65ea0b6
Implement Critical section constructor
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
galaxyhaxz
5238265702
Implement assert support ( #791 )
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Anders Jenbo
390c51f4fa
Use consts instead of hardcoded values
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
1e4e826a36
Remove delta to devilution
7 years ago
Anders Jenbo
2e32ac5ee0
Replaced 'long' by 'LONG' and 'unsigned long' by 'DWORD' ( #576 )
7 years ago
Xadhoom
ccfcfe9cde
Replaced 'long' by 'LONG' and 'unsigned long' by 'DWORD'
7 years ago
Anders Jenbo
9b7da61dcf
Auto format src
7 years ago
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
7 years ago
Anders Jenbo
e795b6116a
Make use of atexit() C compatible ( #537 )
7 years ago
Anders Jenbo
77849aea72
Remove unused init ( #533 )
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
b1f6d3698f
Update style to use tabs
7 years ago
Anders Jenbo
8317d80d94
Clean up threading
8 years ago
Andrew Dunstan
1430acc47f
msg.cpp cleanup part #0
8 years ago
nomdenom
11493e3dac
Source: MINIWIN headers support
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
34938876e0
A few name corrections ( #203 )
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