Anders Jenbo
25993b4043
Merge branch 'master' of github.com:diasurgical/devilution
2020-02-14 23:03:31 +01:00
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).
2020-02-14 13:12:54 +01:00
Anders Jenbo
c26fa8fa3f
Remove threading from miniwin
2020-02-11 01:24:43 +01:00
Anders Jenbo
40ba1e7a6f
Merge branch 'master' of github.com:diasurgical/devilution
2020-02-01 14:48:39 +01:00
Anders Jenbo
08aa6a860a
Move generic helpers out of miniwin
2020-02-01 13:56:08 +01:00
Anders Jenbo
cc4d6b57d8
Remove unused miniwin IO
2020-01-31 22:30:13 +01:00
qndel
3008439bc7
enums and stuff
2020-01-15 15:46:21 +01:00
Anders Jenbo
40cea40aa4
Remove windows call types collisions
2019-12-26 05:00:02 +01:00
Anders Jenbo
d840f388c7
Merge branch 'master' of github.com:diasurgical/devilution
2019-10-08 22:05:10 +02:00
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
2019-10-06 01:27:11 +02:00
Anders Jenbo
683a50527d
Correct missmatched bool types
2019-10-04 09:26:26 +02:00
Nam Nguyen
f707e696db
glpMsgTbl stores 64-bit pointers to turn_t variables. This won't fit inside int.
2019-09-14 22:08:07 +02:00
Anders Jenbo
1ebf8fe27d
Remove unused fallbacks
2019-08-26 14:05:04 +02:00
Anders Jenbo
2fcf8dab70
Merge branch 'master' of github.com:diasurgical/devilution
2019-07-21 19:39:17 +02:00
Anders Jenbo
e2bff090d6
Come up with names for all remaning arguments
2019-07-21 00:57:53 +02:00
Anders Jenbo
f1d54cee52
Merge branch 'master' of github.com:diasurgical/devilution
2019-05-23 18:12:54 +02:00
Anders Jenbo
1d7a548cd7
Clean up nthread.cpp
2019-05-21 00:32:10 +01:00
Anders Jenbo
73a29f0e68
Merge branch 'master' of github.com:diasurgical/devilution
2019-05-18 16:55:20 +02: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
0c4b4719b8
Merge branch 'master' of github.com:diasurgical/devilution
2019-05-09 23:51:21 +02:00
Anders Jenbo
4a8f9fb964
Clean up nthread_terminate_game
2019-05-08 16:01:14 +01:00
Anders Jenbo
35b6b738af
Merge branch 'master' of github.com:diasurgical/devilution
2019-05-01 15:17:36 +02:00
Anders Jenbo
175f66a6d3
Correct sghThread value
2019-05-01 15:16:58 +02:00
Xadhoom
6856fb74e2
Merge upstream beanch 'devilution/master'
2019-04-25 20:44:01 +00:00
Anders Jenbo
65b9fb87a8
Merge branch 'TownDead'
2019-04-24 14:08:25 +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
Anders Jenbo
a907a4d49b
Merge branch 'master' of github.com:diasurgical/devilution
2019-04-05 15:21:53 +02:00
galaxyhaxz
5238265702
Implement assert support ( #791 )
2019-03-29 21:26:37 -05:00
Xadhoom
5283a9ffd1
Put everything into namespace dvl
2019-03-11 20:10:23 +00:00
Anders Jenbo
390c51f4fa
Use consts instead of hardcoded values
2019-01-31 04:45:34 +01:00
Anders Jenbo
1656535c3a
Merge branch 'master' of github.com:diasurgical/devilution
2019-01-26 19:11:45 +01:00
Xadhoom
df55ce352c
Clarify glpMsgTbl and gdwMsgLenTbl
2019-01-26 19:08:15 +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
1e4e826a36
Remove delta to devilution
2019-01-23 17:11:52 +01:00
Anders Jenbo
2e32ac5ee0
Replaced 'long' by 'LONG' and 'unsigned long' by 'DWORD' ( #576 )
2019-01-23 09:34:16 +01:00
Xadhoom
ccfcfe9cde
Replaced 'long' by 'LONG' and 'unsigned long' by 'DWORD'
2019-01-23 00:16:27 +01:00
Xadhoom
cadef0d942
Merge upstream branch 'devilution/master'
2019-01-21 09:44:54 +00: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