Anders Jenbo
1a2f2b5f52
Implement CelGetFrameClipped from the Mac 9 port
7 years ago
Anders Jenbo
64824cab2b
Implement CelGetFrameStart
7 years ago
Anders Jenbo
ce6fc51b50
Implement CelGetFrame (CEL decoder helper)
...
This implements the first of the inlined CEL decoder helper functions
that are still visable in the Mac port code.
Functions are still bin exact
7 years ago
Anders Jenbo
c1fb75d738
Remove check for Windows platform
7 years ago
Anders Jenbo
9daea5be8a
Back port clean ups from Hellfire
7 years ago
Anders Jenbo
1f715f86f6
Clean up
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Alex Yatskov
f1da6e6a38
Fix invalid file and line constants ( #222 )
...
* Fix invalid file and line constants
* add macros
* remove ASSERT_FAIL macro
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
Anders Jenbo
473ff318c4
Set needed CMake values for FreeBSD
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
2feae2143f
Update defs.h
7 years ago
Anders Jenbo
69092e11c1
Fix msvc builds
7 years ago
Xadhoom
3dd6cf1671
First try, merge compiles, but immediate crash
7 years ago
Anders Jenbo
d4d5683d5b
Fix compiling on 64bit (only menu works)
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
7 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