Manuel K
896933f55e
Replace magic number 352 with VIEWPORT_HEIGHT ( #1232 )
2019-06-02 17:51:33 +01:00
Anders Jenbo
b6a2406d47
Clean up LeftMouseDown
2019-05-31 16:03:38 +01:00
Anders Jenbo
565bb5aa7d
Adust dFlag enums
2019-05-29 16:23:08 +01:00
qndel
66f160a962
gmenu_left_mouse bin exact
2019-05-27 21:04:17 +01:00
galaxyhaxz
31cbaed01e
fix name type
2019-05-22 08:30:59 +01:00
galaxyhaxz
0b1b4e8062
PressChar bin exact as C++ ( #1136 )
2019-05-07 02:16:29 +01:00
galaxyhaxz
8ead9a8606
run_game_loop
2019-05-05 12:30:39 +01:00
galaxyhaxz
5e10dcb912
diablo_reload_proc & Xiaolin Wu ref
2019-05-04 17:29:21 +01:00
Anders Jenbo
9504b5cf57
Clean up drlg_l3.cpp
2019-05-02 00:16:46 +01:00
Anders Jenbo
47fa5d46d9
Clean up debug.cpp
2019-05-02 00:16:46 +01:00
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
2019-04-21 17:20:38 +02:00
galaxyhaxz
508a653a3d
the big PR of the day
2019-04-19 05:10:41 -05:00
galaxyhaxz
740e91e881
rename screen_y_times_768
2019-04-19 04:05:55 +02:00
galaxyhaxz
d440da5dad
CreateLevel & asserts
2019-04-19 04:05:55 +02:00
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