Anders Jenbo
1e4e826a36
Remove delta to devilution
7 years ago
Anders Jenbo
74e1d42f1c
Clarify some variable names
7 years ago
Anders Jenbo
7e3889cc0b
Clarify some variable names
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
Xadhoom
56b0734961
Switch diablo.cpp to upstream
7 years ago
Anders Jenbo
9b7da61dcf
Auto format src
7 years ago
Anders Jenbo
fd2a45ff9a
Engine.cpp ( #548 )
...
* Clean up DiabloAllocPtr
* Clean up mem_free_dbg
* Clean up GetDirection
* Clean up PlayInGameMovie
* 18 directions
7 years ago
Anders Jenbo
82d1f6c8e0
Clean up CheckChrBtns
7 years ago
Anders Jenbo
d900657201
Compile diablo.cpp as C
7 years ago
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}_(' '{}'
7 years ago
Anders Jenbo
47bf82b059
C compatability from a-d ( #518 )
7 years ago
Anders Jenbo
4a62a7c678
Code style
7 years ago
aperturesecurity
e70aabf8eb
Added resizable screen. Game after starting game the mouse wont be allowed to leave screen
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
b4fe143e29
Add player_weapon_type
7 years ago
galaxyhaxz
51d5793e08
Cleanup LeftMouseCmd
7 years ago
Anders Jenbo
9edeecb3bb
Consisten use of structs
7 years ago
Anders Jenbo
23897a640b
Correct types
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
galaxyhaxz
bace152240
Fix tail functions ( #463 )
7 years ago
galaxyhaxz
d9a285327f
StartGame and PressEscKey ( #461 )
7 years ago
galaxyhaxz
b3fdda7c18
GM_Game+others ( #458 )
7 years ago
galaxyhaxz
f1b129d84d
Cleanup DisableInputWndProc ( #459 )
7 years ago
galaxyhaxz
c4c6572f06
Correct name diablo_init_menu
7 years ago
galaxyhaxz
24285a220f
WinMain+Direct file access from HDD ( #456 )
7 years ago
galaxyhaxz
a11b924a51
LoadGameLevel bin exact ( #455 )
7 years ago
galaxyhaxz
86f00145f8
Remove empty_string garbage
7 years ago
Anders Jenbo
507d12082f
Use MAXDUR* in most instances
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
aperturesecurity
760a2d5e0d
Fixed the LSHIFT button . I had to Stubb Diablo.cpp
8 years ago
Anders Jenbo
4d5a785921
Clean up diablo.cpp
8 years ago
Anders Jenbo
7d27f1985b
Correct type for fullscreen
8 years ago
Anders Jenbo
cf4c110f41
Clean up mainmenu.cpp
8 years ago
Anders Jenbo
6576954831
Clean up types used in gamemenu.cpp
8 years ago
Anders Jenbo
456d651f55
Clean up more bools related to sound.cpp
8 years ago
Anders Jenbo
8e2d0df643
Clean up some bools
8 years ago
Anders Jenbo
f1c8439c64
Change setlvlnum to BYTE
8 years ago
Anders Jenbo
8f3d59e513
Monster.cpp ( #400 )
...
* Clean up hp and mana checks
* Clean up PrepDoEnding
8 years ago
Anders Jenbo
4d8ceea32d
Types ( #395 )
...
* Apply plr_class
* Apply attribute_id
* NetSendCmd*(BOOL)
8 years ago
Anders Jenbo
744e225618
Clean up player.cpp ( #387 )
8 years ago
nomdenom
13497c991d
Source: FASTER define
8 years ago
nomdenom
d14bf20467
Source: NO_GLOBALS support (for Miniwin)
8 years ago
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago
squidcc
51bfa2353b
Use quest enum values ( #362 )
...
* add/assign enums related to Black Mushroom quests
* plug in more quest enum values
8 years ago
squidcc
4ed6d83265
fix regression in DrawSpellList() that caused only the first 1/4 spells to be drawn ( #355 )
...
fix places where sTownSpell was still being cast to DWORD
change SpellData::sTargeted to BOOL, fix spelldata[] definition to use TRUE/FALSE
8 years ago
galaxyhaxz
cf10dadb91
Correct function names in "encrypt.cpp" ( #344 )
8 years ago
Anders Jenbo
1e40fdf51e
Clean PM_DoAttack & CanTalkToMonst ( #311 )
...
* Clean PM_DoAttack & CanTalkToMonst
* Fix friendly mode default
8 years ago
nomdenom
1c279c3f89
Fix declaration of gbValidSaveFile (BOOL) ( #331 )
8 years ago