Anders Jenbo
ac02f5efa7
Clean up S_ScrollHBuy ( #601 )
7 years ago
qndel
9c8d9a3097
AddGolem bin exact ( #602 )
...
* AddGolem bin exact
* AddApoca bin exact
* AddHbolt bin exact
* AddEtherealize bin exact
* AddApoca bin exact
7 years ago
JustAnotherGuid
9bca16bcae
Clean-up InitQuests ( #598 )
...
* Clean-up AddChest.
* (Work in progress) Clean-up InitL1Triggers
* Clean-up InitL1Triggers (Binary-exact version)
* Add /FAs flag.
* Rebase
* Accidental add.
* Minor modifications.
7 years ago
Max Desiatov
269aa345bd
Fix downstream 64-bit builds
7 years ago
Anders Jenbo
ee627c985e
Clean up MAI_Warlord
7 years ago
Anders Jenbo
2c1f6647a4
Fix MAI_Lazurus
7 years ago
Anders Jenbo
58add3e99e
Clean up MAI_Lazurus, MAI_SnotSpil and MAI_Zhar
7 years ago
Anders Jenbo
bc015e9af1
Make _miDelFlag bool
7 years ago
Anders Jenbo
151d225820
Clean up ProcessMissiles
7 years ago
Anders Jenbo
8800c4079c
Clean up CheckBlock
7 years ago
Anders Jenbo
88ab1bce1f
Clean up MI_Fireball
7 years ago
Anders Jenbo
192da1853b
Clean up DeltaExportData
7 years ago
Anders Jenbo
b5c7026b15
Not all animation combinations exists for player animations
...
This issue causes the game to look for 126 non existing animations
- Player always drops weapons when dying
- Player can only block if using a shield
7 years ago
Robin Eklind
137f7389cc
LoadL1Dungeon almost binary exact
...
push 0 instruction swapped place
7 years ago
Anders Jenbo
390c51f4fa
Use consts instead of hardcoded values
7 years ago
JustAnotherGuid
7df2cebe45
Clean-up InitL1Triggers (minimal differences) ( #588 )
...
* Clean-up AddChest.
* (Work in progress) Clean-up InitL1Triggers
* Clean-up InitL1Triggers (Binary-exact version)
7 years ago
Anders Jenbo
81a3e0051d
Clean up multi_init_single & multi_init_multi ( #587 )
7 years ago
Anders Jenbo
0cbf4b6065
Resolve argument nam for UiSelHeroMultDialog
7 years ago
Anders Jenbo
f281178672
Clean up appfat.cpp ( #585 )
...
* Clean up appfat.cpp
GetErrorStr, TraceErrorDD, TraceErrorDS, TraceLastError, DDErrMsg,
DSErrMsg, ErrDlg, ErrOkDlg, DirErrorDlg, InsertCDDlg, FuncDlg,
init_cleanup, FreeDlg, center_window
* Fix style
7 years ago
Anders Jenbo
9d44169ac7
multi_upgrade ( #583 )
...
* Clean up multi_upgrade
* Correct variable names
* Correct variable types
7 years ago
Anders Jenbo
b048de798a
SetMissAnim & SetMissDir ( #584 )
...
* Clean up SetMissAnim & SetMissDir
* Use enums for _miAnimType
* Use const for gdwMsgLenTbl & glpMsgTbl
7 years ago
Anders Jenbo
003fb7cc24
clean up multi_mon_seeds ( #580 )
7 years ago
Anders Jenbo
518134dd33
Clean up SortSmith, SortWitch & SortHealer
7 years ago
Anders Jenbo
74e1d42f1c
Clarify some variable names
7 years ago
Anders Jenbo
2e32ac5ee0
Replaced 'long' by 'LONG' and 'unsigned long' by 'DWORD' ( #576 )
7 years ago
JustAnotherGuid
5541df1fee
Clean-up AddChest. ( #575 )
7 years ago
Anders Jenbo
7a084eebf8
Clean up SetTownerGPtrs
7 years ago
Anders Jenbo
20758aae83
Clean up PlrHasItem ( #573 )
7 years ago
Anders Jenbo
3d1159fa9c
Clean up ProcessTowners ( #572 )
7 years ago
Anders Jenbo
b61290e4b0
Remove file level vars form global scope
7 years ago
Anders Jenbo
574a8b14f0
Clean up InitCows
7 years ago
Anders Jenbo
b5365f53f1
Clean up DrawInvBelt ( #570 )
7 years ago
Anders Jenbo
d4bc8a394c
Init towner ( #569 )
...
* Clean up InitSmith
* Clean up Init<Towner>
7 years ago
Anders Jenbo
cfbe27f3b8
Clean up ( #568 )
...
* Clean up mana checks
* Don't expose static globals
7 years ago
Anders Jenbo
62b48e4788
All items list ( #567 )
...
* Clean up RndAllItems
* Clean up SmithItemOk
* Clean PremiumItemOk
* Clean RndSmithItem
* Clean up RndPremiumItem
* Clean up RndBoyItem
* Clean up RndHealerItem
* Clean up RndWitchItem
* Clean up WitchItemOk
7 years ago
Anders Jenbo
429ececce0
Fix debug build as C ( #566 )
...
* Clean up todo
* Fix debug build
7 years ago
Anders Jenbo
3812287dd5
Clean up AllItemsList related code ( #565 )
...
* Clean up ItemMiscIdIdx
* Clean up RndItem
* Clean up RndUItem
7 years ago
Anders Jenbo
7835583a72
Clean up dthread.cpp
7 years ago
Anders Jenbo
b582709d38
dthread_send_delta bin exact ( #563 )
7 years ago
Anders Jenbo
d8c9a19601
Clean up SetAutomapView ( #562 )
7 years ago
Anders Jenbo
9b7da61dcf
Auto format src
7 years ago
JustAnotherGuid
3115077d16
Clean-up OperateSarc ( #560 )
7 years ago
Robin Eklind
a969f5c6f3
Uncomment delete to make appfat.cpp compile as C.
...
Note, in the future, we want to figure out how the
delete operator was overloaded and included while
still compiling the project as C.
Most likely it was overloaded in the Storm header,
and being included by appfat.cpp (which is the first
file being compiled in alphabetic order), it was
included here.
Fixes #528 .
7 years ago
Anders Jenbo
50186331f4
Apply enum and style to cursor.cpp
7 years ago
galaxyhaxz
3308bbf3eb
Cleanup CheckCursMove [WIP]
7 years ago
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
7 years ago
Anders Jenbo
2c8661f969
Remove more IDA_GARBAGE
...
SHIWORD compiles to the same as >> 16
7 years ago
Anders Jenbo
c6d8b533e6
Fix delta_get_item
7 years ago
Anders Jenbo
275e28581a
BOOLEAN sgbDeltaChanged
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