galaxyhaxz
596b981916
Fix crash with mute button
7 years ago
Anders Jenbo
e7a3109f17
apply enum to ICLASS
7 years ago
JustAnotherGuid
75d12356df
CheckBtnUp bin exact ( #917 )
7 years ago
Anders Jenbo
3f417c95bb
Clean up SetSpell
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Anders Jenbo
a515202943
Apply MAX_SEND_STR_LEN
7 years ago
Anders Jenbo
5c22841071
Apply MAX_PATH
7 years ago
Anders Jenbo
d2174e3454
Apply code style
7 years ago
Anders Jenbo
69ad8b63e0
Clean up StartGoldDrop
7 years ago
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl ( #825 )
7 years ago
Anders Jenbo
54c73f740c
clean up redundant code
7 years ago
qndel
8f7f936eda
GetObjectStr almost bin exact
7 years ago
galaxyhaxz
afe4d4d3a9
Clean Control.cpp asm funcs ( #707 )
7 years ago
Anders Jenbo
ae2630cc46
Mem free dbg ( #685 )
...
* FreeQuestText
* DRLG_FreeL2SP
* GetHall
* FreeGMenu
* FreeObjectGFX
* DRLG_FreeL1SP
* FreeControlPan
* FreeLightTable
* Clean up DRLG_LoadDiabQuads
* DRLG_FreeL4SP
* FreeInterface
7 years ago
galaxyhaxz
87a0846a38
Clean CPrintString + Font index ( #687 )
7 years ago
galaxyhaxz
befd52c003
Fix type for 'gpBuffer' ( #672 )
7 years ago
galaxyhaxz
0bb9f666b3
Clean remaining .CEL functions ( #657 )
7 years ago
galaxyhaxz
81f3f5daa2
Cleaning Engine CEL functions ( #652 )
...
* Cleaning Engine CEL functions
* Fix C functions
7 years ago
galaxyhaxz
c0c5cc3610
Fix DrawSpellCel ( #630 )
7 years ago
Anders Jenbo
ca64011eb9
Replace __ROR4__ stdlib, make _ROR2__ C frindly ( #540 )
...
* Use stdlib _rotr instead of inline asm
* Compile control.cpp as C
This also makes qmemcpy avalible to the C compiler
7 years ago
Anders Jenbo
82d1f6c8e0
Clean up CheckChrBtns
7 years ago
Anders Jenbo
30a394798b
Clean up control_set_gold_curs
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
galaxyhaxz
eceb1c3b5b
Fix tempstr length, add array
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
galaxyhaxz
d9a285327f
StartGame and PressEscKey ( #461 )
7 years ago
galaxyhaxz
86f00145f8
Remove empty_string garbage
7 years ago
Anders Jenbo
04b19f604d
Monster.cpp ( #443 )
...
* Clean up MAI_Golum
* Clean up MAI_Garbud
* Clean up MAI_Lachdanan
* Clean up DeleteMonsterList
* Clean up FreeMonsters
* Define enums for resistance
* Correct AddPanelString input
* Correct pinfoflag type
* Define monster_goal
* apply enum to _pIFlags
* Correct DeleteMonsterList
* Add TODO for possible bug fix.
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
8 years ago
Anders Jenbo
27b23b4186
Format ingame UI
8 years ago
Anders Jenbo
6576954831
Clean up types used in gamemenu.cpp
8 years ago
Anders Jenbo
5394f63dd7
Define diablo_message enum
8 years ago
Anders Jenbo
35e8aa42c5
Fix lightning resistance on char screen
8 years ago
Andrew Dunstan
674407cb73
clean SetSpellTrans
8 years ago
Andrew Dunstan
053bcdb6b2
make the mana flask use the correct background
8 years ago
Anders Jenbo
48a1035d4a
Remove unused varialbes
8 years ago
Anders Jenbo
f80de53b14
_iMagical enum ( #393 )
...
* _iMagical enum
* Color enum
8 years ago
Anders Jenbo
96ab38730f
Control.cpp ( #396 )
...
* Clean up ToggleSpell
* Clean up DrawLifeFlask and UpdateLifeFlask
* Clean up DrawManaFlaskm, control_update_life_mana and UpdateManaFlask
* Clean up CheckSBook
* Clean up DoSpeedBook
* Decompose magic numbers
* Clean up GetSBookTrans
* Apply spell_type
* Slight clean up of DrawSpellList
This improves the bin diff a little bit but more importantly gets rid of
_p*Spells[] usage in control.cpp
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
411fa9f24a
Add enumds for _pgfxnum and fully use inv_body_loc ( #392 )
...
* Add enumds for _pgfxnum and fully use inv_body_loc
* _iIdentified is BOOL
* _pgfxnum
8 years ago
squidcc
3561450624
clean plrmsg.cpp ( #386 )
8 years ago
Anders Jenbo
744e225618
Clean up player.cpp ( #387 )
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
nomdenom
4bb6bde99b
Use sizeof() for memset()
...
I checked that the sizes do match. (+1 squashed commits)
8 years ago
Anders Jenbo
b7dfcf5ed5
Clean up CheckPlrSpell ( #339 )
8 years ago
Anders Jenbo
d8c4bcab5c
Clean up DropHalfPlayersGold ( #330 )
8 years ago
Anders Jenbo
cd79931ed4
Add iCurs enum
8 years ago