Commit graph

80 commits

Author SHA1 Message Date
Anders Jenbo
c0531bfc4c Some booleans 2019-04-16 02:30:48 +02:00
galaxyhaxz
96fa8f1599
diablo_parse_flags (#890) 2019-04-14 18:24:50 -05:00
Robin Eklind
6d49faba3e StartQuestlog bin exact. Also, fix type of questlog 2019-04-13 14:21:04 +02:00
galaxyhaxz
b228d6e00a Palette fix for newer Windows 2019-04-12 22:42:39 -05:00
Robin Eklind
26bf6cd767 Fix warning in diablo_hotkey_msg 2019-04-10 19:09:09 +09:00
Anders Jenbo
b253648c5a
Clean up diablo_color_cyc_logic and palette_get_colour_cycling (#868) 2019-04-09 20:32:07 +02:00
galaxyhaxz
4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
Robin Eklind
891bd509ce
Merge pull request #849 from AJenbo/diablo_hotkey_msg
Clean up diablo_hotkey_msg
2019-04-09 12:06:46 +09:00
Robin Eklind
065e7f50f4
Merge pull request #851 from AJenbo/MAX_PATH
Apply MAX_PATH
2019-04-09 12:04:52 +09:00
galaxyhaxz
eb1758f86a Fix broken game menu 2019-04-09 03:30:22 +02:00
Anders Jenbo
5c22841071 Apply MAX_PATH 2019-04-08 18:52:30 +02:00
Anders Jenbo
7f6e7e822e Clean up diablo_hotkey_msg 2019-04-08 18:44:50 +02:00
Robin Eklind
f72443d0b8
Merge pull request #841 from galaxyhaxz/Diabcpp
Cleanup Diablo.cpp
2019-04-08 17:22:00 +09:00
galaxyhaxz
205a370f22 Cleanup Diablo.cpp 2019-04-06 20:51:16 -05:00
Anders Jenbo
69ad8b63e0 Clean up StartGoldDrop 2019-04-05 16:44:04 +02:00
Robin Eklind
a98687f226 fault: rename exception_foo functions to fault_foo
Also, add missing parameters to fault_set_filter and fault_reset_filter

fault_init_filter and fault_reset_filter are now bin exact
2019-04-04 00:06:43 +09:00
Anders Jenbo
54c73f740c clean up redundant code 2019-03-30 17:14:16 +01:00
galaxyhaxz
5238265702
Implement assert support (#791) 2019-03-29 21:26:37 -05:00
galaxyhaxz
52aa7db9ac Create macro -> mem_free_dbg 2019-03-29 12:14:07 +01:00
Anders Jenbo
74e1d42f1c Clarify some variable names 2019-01-23 14:19:55 +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
fd2a45ff9a
Engine.cpp (#548)
* Clean up DiabloAllocPtr

* Clean up mem_free_dbg

* Clean up GetDirection

* Clean up PlayInGameMovie

* 18 directions
2019-01-03 02:29:31 +01:00
Anders Jenbo
82d1f6c8e0 Clean up CheckChrBtns 2019-01-01 03:15:04 +01:00
Anders Jenbo
d900657201 Compile diablo.cpp as C 2018-12-31 03:17:08 +01:00
Robin Eklind
e915623726 rename SetCursor to SetCursor_ to avoid collision with windows.h
Translation done automatically using:
	$ find . -type f -name '*.h' | xargs -I '{}' sar -i "([ \t])(SetCursor)[(]" '${1}${2}_(' '{}'
	$ find . -type f -name '*.h' | xargs -I '{}' sar -i "([ \t])(SetCursor)[(]" '${1}${2}_(' '{}'
2018-12-30 03:19:10 +01:00
Anders Jenbo
47bf82b059 C compatability from a-d (#518) 2018-12-29 15:12:19 +01:00
Anders Jenbo
4a62a7c678 Code style 2018-12-29 02:15:20 +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
b4fe143e29 Add player_weapon_type 2018-12-07 23:54:39 +01:00
galaxyhaxz
51d5793e08 Cleanup LeftMouseCmd 2018-12-07 20:20:02 +01:00
Anders Jenbo
9edeecb3bb Consisten use of structs 2018-11-26 14:19:27 +01:00
Anders Jenbo
23897a640b Correct types 2018-11-26 14:14:55 +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
bace152240
Fix tail functions (#463) 2018-11-13 15:40:01 -06:00
galaxyhaxz
d9a285327f
StartGame and PressEscKey (#461) 2018-11-12 15:27:43 -06:00
galaxyhaxz
b3fdda7c18
GM_Game+others (#458) 2018-11-11 11:22:19 -06:00
galaxyhaxz
f1b129d84d
Cleanup DisableInputWndProc (#459) 2018-11-10 16:53:25 -06:00
galaxyhaxz
c4c6572f06 Correct name diablo_init_menu 2018-11-10 01:39:28 +01:00
galaxyhaxz
24285a220f
WinMain+Direct file access from HDD (#456) 2018-11-09 16:22:56 -06:00
galaxyhaxz
a11b924a51 LoadGameLevel bin exact (#455) 2018-11-08 17:52:26 +01:00
galaxyhaxz
86f00145f8 Remove empty_string garbage 2018-11-06 09:42:27 +01:00
Anders Jenbo
507d12082f Use MAXDUR* in most instances 2018-11-04 22:27:26 +01:00
Anders Jenbo
b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo
4d5a785921 Clean up diablo.cpp 2018-10-23 00:54:21 +02:00
Anders Jenbo
6c92a6ae94 Merge branch 'nightly' of github.com:diasurgical/devilution into gamemenu.cpp 2018-10-21 16:36:42 +02:00
Anders Jenbo
7d27f1985b Correct type for fullscreen 2018-10-21 16:13:29 +02:00
Anders Jenbo
cf4c110f41 Clean up mainmenu.cpp 2018-10-21 06:47:57 +02:00
Anders Jenbo
6576954831 Clean up types used in gamemenu.cpp 2018-10-21 03:50:52 +02:00