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
Anders Jenbo
ee014547b9
OFSUB fix
7 years ago
Anders Jenbo
eb0b4047be
Correct registeres used in GetItemSpace
7 years ago
Anders Jenbo
220849d10b
Clean up GetItemSpace
7 years ago
Anders Jenbo
f845392fe0
Clean up MonstCheckDoors
7 years ago
Anders Jenbo
558e5019a4
Clean up OperateL2Door and OperateL3Door
7 years ago
Anders Jenbo
c4380eadc7
Clean up OperateL1Door
7 years ago
Anders Jenbo
492125a67c
Clean up Obj_Trap
7 years ago
Anders Jenbo
14560aedec
Clean up Obj_FlameTrap
7 years ago
Anders Jenbo
6d5c9619a7
Clean up town_draw_town_all ( #544 )
...
* Clean up town_draw_town_all
* Clean up town_draw_e_flag
* Clean up InitPlayerLoc
* Fix VS 2015 builds
* Clean up gendung_get_dpiece_num_from_coord
* Clean up town_draw_clipped_e_flag
* Clean up town_draw_clipped_e_flag_2
* Remove HIDWORD() as it is now unused
7 years ago
Anders Jenbo
ddfd586fe8
MAI_Lazurus, MAI_SnotSpil and MAI_Zhar ( #516 )
...
* Clean up MAI_Lazurus
* Clean up MAI_SnotSpil
* Clean up MAI_Zhar
7 years ago
Anders Jenbo
d91c64e063
Clean up MAI_Ranged ( #546 )
7 years ago
Anders Jenbo
98b0b5e71f
Compile mpqapi.cpp as C ( #554 )
...
* Fix mpqapi header
* Compile mpqapi.cpp as C
7 years ago
JustAnotherGuid
62fca0f486
Cleanup gmenu_presskeys ( #556 )
7 years ago
Robin Eklind
66dacd0967
render: clean up inlined asm functions ( #553 )
...
* render: clean up inlined asm functions
Now, these functions no longer use references. Instead they
use pointer to pointer.
7 years ago
JustAnotherGuid
694be2da8d
Clean-up mpqapi_set_hidden ( #552 )
...
* Clean-up mpqapi_set_hidden
Co-Authored-By: JustAnotherGuid <46401660+JustAnotherGuid@users.noreply.github.com>
7 years ago
Anders Jenbo
57d7c99a8f
Stores.cpp ( #551 )
...
* Clean up FreeStoreMem
* Clean up AddSLine
* Clean up AddSText
* Clean up SmithSellOk
7 years ago
Anders Jenbo
3be6bda47e
Make inline statments C compatible ( #550 )
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
19f1bd6b61
Clean up LoadFileInMem ( #547 )
7 years ago
galaxyhaxz
b048cac4fe
InitAutomap+ScrollView ( #545 )
7 years ago
galaxyhaxz
c3e8ff1c18
Add Assertion
7 years ago
galaxyhaxz
5bab5d12f7
cursor.cpp
7 years ago
Anders Jenbo
429185ef7a
Apply CURSOR_FIRSTITEM ( #541 )
7 years ago
Anders Jenbo
82d1f6c8e0
Clean up CheckChrBtns
7 years ago
Anders Jenbo
e795b6116a
Make use of atexit() C compatible ( #537 )
7 years ago
Anders Jenbo
30a394798b
Clean up control_set_gold_curs
7 years ago
Anders Jenbo
2c8cec0687
Clean up AddBarrel ( #535 )
7 years ago
Anders Jenbo
a00867949d
Clean up AddSarc ( #534 )
7 years ago
Anders Jenbo
77849aea72
Remove unused init ( #533 )
7 years ago
Anders Jenbo
344712a23b
Use SYSTEMTIME type instead of _SYSTEMTIME struct
7 years ago
Anders Jenbo
d900657201
Compile diablo.cpp as C
7 years ago
Anders Jenbo
86018b174b
Make DirecX usage C compatible
7 years ago
Anders Jenbo
06554e6db8
Make missiles.cpp compile as C ( #531 )
7 years ago
Anders Jenbo
841f5af199
Compile effects.cpp and wave.cpp as C ( #530 )
...
* Correct SFileReadFile signature
* Compile as C
Source/effects.cpp
Source/wave.cpp
* Make diabloui.h C frindly
7 years ago
Robin Eklind
8c73745e82
Compile movie.cpp as C
7 years ago
Anders Jenbo
d0e3835ea1
Clean up gamemenu_enable_single ( #526 )
7 years ago