Anders Jenbo
9daea5be8a
Back port clean ups from Hellfire
7 years ago
Anders Jenbo
83e62ea8a1
[hellfire] Set up build intergration
7 years ago
galaxyhaxz
798e551ec3
[hellfire] fix PlayerStruct
7 years ago
Anders Jenbo
1f715f86f6
Clean up
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Anders Jenbo
9d87475af5
Fix gmenu_enable
7 years ago
Anders Jenbo
6ba57a2d10
Remove the last bit of garbage
7 years ago
Anders Jenbo
3bc8ba66b0
Use defines for more screen geometry values
7 years ago
Anders Jenbo
457b9186da
Clean up gmenu_draw_menu_item
7 years ago
Sergey Semushin
813d6693fb
Add macro for aligning by 1 and apply it to 3 functions to make them bin exact.
7 years ago
Duarte Alvim
6a4142fb08
Add gold constants
7 years ago
Anders Jenbo
19e4c20841
Remove unused garbage
7 years ago
Anders Jenbo
cd02bc176a
Remove a bit of garbage
7 years ago
Anders Jenbo
11b6b1f860
Remove more garbage
7 years ago
Manuel K
896933f55e
Replace magic number 352 with VIEWPORT_HEIGHT ( #1232 )
7 years ago
Manuel K
11ae82a30b
Replace ROW_PITCH with BUFFER_WIDTH
7 years ago
Anders Jenbo
3c0dc5f164
Remove more garbage
7 years ago
galaxyhaxz
6e37114459
Add defs for border pixels
7 years ago
Anders Jenbo
1fd057a368
Clean up interfac.cpp
7 years ago
galaxyhaxz
792fc65bea
Add support for 32-bit colors ( #1018 )
7 years ago
galaxyhaxz
3446e3c9a9
Add defs for screen resolution
7 years ago
galaxyhaxz
26e9dcb6af
Add enum
7 years ago
galaxyhaxz
5238265702
Implement assert support ( #791 )
7 years ago
galaxyhaxz
52aa7db9ac
Create macro -> mem_free_dbg
7 years ago
Anders Jenbo
fe1af7814d
Remove some IDA garbage
7 years ago
galaxyhaxz
befd52c003
Fix type for 'gpBuffer' ( #672 )
7 years ago
Anders Jenbo
458969de19
Only expose SEG_ALLOCATE to MSVC
...
Other compilers use `__attribute__((constructor))`
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
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
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
77849aea72
Remove unused init ( #533 )
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
Anders Jenbo
629dfa2083
Compile as c ( #522 )
...
* Reorder lib
This is the orhter that they appear in the exe imports
* Make includes C compatible
cursor.h: SetCursor conflicts with existing function
engine.h: CelDecDatLightEntry and Cel2DecDatLightEntry use by reference
*&
objects.h: DeleteObject conflicts with existing function
* Start compiling select files as C
* Clean up
pfile still emits warnings when parsed as C:
err:msvcrt:demangle_datatype Unknown type @
err:msvcrt:demangle_datatype Unknown type @
7 years ago
Anders Jenbo
8c3e972445
Remove some IDA garbage
7 years ago
Anders Jenbo
0337587198
Remove memset32
7 years ago
Anders Jenbo
66a7b7a8c9
Remove __PAIR__ as they are now unused
7 years ago
Anders Jenbo
0fb5c0bf9c
Additional tab indentation
8 years ago
Anders Jenbo
a08bfa22c0
Autoformat some base files
8 years ago
Andrew Dunstan
594ef2e95b
add inline assembly code for drawing semi-transparent rectangles
8 years ago
Dennis Duda
b9cdfcfe65
Added MAXPATHNODES define and minor cleanups
8 years ago
Andrew Dunstan
1430acc47f
msg.cpp cleanup part #0
8 years ago
Andrew Dunstan
22dc793b7d
Clean remaining pfile.cpp functions
...
full file is binary exact except for pfile_create_player_description (minor diff)
8 years ago
squidcc
3561450624
clean plrmsg.cpp ( #386 )
8 years ago
galaxyhaxz
c775439589
Cleanup "loadsave.cpp" ( #376 )
8 years ago
Anders Jenbo
f269f4561b
PlaySFX_priv, stream_play ( #371 )
...
* PlaySFX_priv, stream_play
* Fix build warnings in player.cpp
* Clean up FreeMonsterSnd
* Added more enums and defines for sound and effects.
8 years ago
squidcc
e2adda15ff
fix function declarations (and some cosmetic changes) in preparation for pfile cleanup ( #351 )
8 years ago
Anders Jenbo
d8c4bcab5c
Clean up DropHalfPlayersGold ( #330 )
8 years ago
Anders Jenbo
3ebeb2366a
Clean PM_DoGotHit & ArmorDur ( #316 )
...
* Clean PM_DoGotHit & ArmorDur
* Add DUR_INDESTRUCTIBLE define
8 years ago
Anders Jenbo
db77557dce
ValidatePlayer ( #318 )
...
* ValidatePlayer
* Add MAX_SPELLS define
8 years ago