Robin Eklind
99277f8a81
Fix spelling
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
9a71c4b646
Merge pull request #505 from AJenbo/msg.cpp2
...
Msg.cpp min diff
7 years ago
Anders Jenbo
275e28581a
BOOLEAN sgbDeltaChanged
7 years ago
Robin Eklind
14283ac9b4
items.cpp now compile as C
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
b229a075bb
Compile drlg_l3.cpp lighting.cpp monster.cpp stores.cpp as C
7 years ago
Anders Jenbo
ee014547b9
OFSUB fix
7 years ago
Anders Jenbo
eb0b4047be
Correct registeres used in GetItemSpace
7 years ago
Anders Jenbo
e1f1d4a200
Compile items.cpp as C
7 years ago
Anders Jenbo
220849d10b
Clean up GetItemSpace
7 years ago
Anders Jenbo
b1e09dffcd
Compile objects.cpp as C
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
Anders Jenbo
b5e809af97
Compile render.cpp as C ( #555 )
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
84f976bd00
Clean up control_set_gold_curs & CheckChrBtns ( #538 )
...
* Clean up control_set_gold_curs
* Clean up CheckChrBtns
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
Anders Jenbo
efec32bcd5
Compile files as C ( #527 )
...
* Compile files as C
* Provide fallback for qmemcpy
Enable C compilation for:
Source/gendung.cpp
Source/inv.cpp
Source/minitext.cpp
Source/pack.cpp
7 years ago