Anders Jenbo
ba9288c6cf
Unify error dialogs, for looks and portability
...
- Use UiOkDialog() to display all error messages
- Add SDL simple message, and console fallbacks to UiOkDialog()
- Boot graphics early on to facilitate most error messages with build in
gui
- Some more miniwin clean ups
7 years ago
Anders Jenbo
e97061f126
Correct bad definition of nDataSize
7 years ago
Anders Jenbo
ed746a6d2d
Fix Cl2DecodeFrm3
7 years ago
Anders Jenbo
1a2f2b5f52
Implement CelGetFrameClipped from the Mac 9 port
7 years ago
Anders Jenbo
64824cab2b
Implement CelGetFrameStart
7 years ago
Anders Jenbo
6dd0893bce
Implement CelGetFrameSize
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
Gleb Mazovetskiy
2cc0c2cfbb
Clang: Remove -fms-extensions -fms-compatibility
7 years ago
qndel
32e519415a
GetDirection cleanup
7 years ago
qndel
a593f3a1d2
6 functions cleanup
7 years ago
qndel
a0575d335f
random bin exact in vanilla/hellfire
7 years ago
Anders Jenbo
2012106b90
Fix spell rendering
7 years ago
Anders Jenbo
762c49ea2e
Remove some left over asm
7 years ago
Anders Jenbo
1ebf8fe27d
Remove unused fallbacks
7 years ago
Anders Jenbo
f605138c79
Strip ASM code
7 years ago
Robin Eklind
2508690d9c
engine: rename rand_increment and rand_multiplier to RndInc and RndMult
...
Rationale described in a479cc56b8
as included below:
Note, neither rand_increment nor rand_multiplier are
present in the PSX debug info. To keep the names for
these variables consistent with the naming convention
used for sglGameSeed, SeedCount, SetRndSeed and
GetRndSeed (which are part of the PSX debug info), we
rename them to RndInc and RndMult, respectively.
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
3bc8ba66b0
Use defines for more screen geometry values
7 years ago
Anders Jenbo
55b5ce883d
Clean up unformatted files
7 years ago
Anders Jenbo
7883043adc
Clean up files with dirty headers
7 years ago
Anders Jenbo
32a51d17ca
Align function signatures with PSX symbols
...
Using
https://github.com/diasurgical/scalpel/tree/master/psx/_dump_/3/_dump_c_src_/diabpsx/source
as a reference
7 years ago
Anders Jenbo
f31cac0ee0
Clean up Cl2DecodeFrm3, Cl2DecodeFrm5, Cl2DecodeLightTbl & Cl2DecodeFrm6
7 years ago
Sergey Semushin
2b816ff9a8
Make CelDrawHdrLightRed bin exact.
7 years ago
Anders Jenbo
0397dbe9e3
Allign similar code in engine.cpp
7 years ago
Anders Jenbo
85651c015a
Consistent var naming in engine.cpp
7 years ago
Manuel K
97c1edd3a0
Use BUFFER_WIDTH
7 years ago
Manuel K
df1d049ae3
Use SCREEN_Y
7 years ago
Manuel K
896933f55e
Replace magic number 352 with VIEWPORT_HEIGHT ( #1232 )
7 years ago
Sergey Semushin
a87f1450e7
Add algorithm description comment for DrawLine.
7 years ago
Sergey Semushin
b971d8a2cb
Make DrawLine bin exact by copying from its original source.
7 years ago
galaxyhaxz
5e10dcb912
diablo_reload_proc & Xiaolin Wu ref
7 years ago
galaxyhaxz
75a150d142
DrawLine ( #1084 )
7 years ago
galaxyhaxz
5d4918eea0
LoadWithMem
7 years ago
galaxyhaxz
3a636fdcc6
Add missing functions for MI_Dummy ( #1004 )
7 years ago
galaxyhaxz
777c517b8e
Change ASM macro
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
740e91e881
rename screen_y_times_768
7 years ago
galaxyhaxz
cef65ea0b6
Implement Critical section constructor
7 years ago
Anders Jenbo
a592838d42
Clean up CelDecodeHdrLightTrans
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
galaxyhaxz
63b0a9fb04
Cel2DrawHdrLightRed
7 years ago
Anders Jenbo
8387d0fb97
Align code style in engine.cpp
7 years ago
Anders Jenbo
53cd38a8e8
Clean up Cel2DecodeHdrLight
7 years ago
Anders Jenbo
eb90aa182a
Clean up CelDecodeHdrLightTrans
7 years ago
Anders Jenbo
46f83455be
Clean up variable naming in engine.cpp
7 years ago
Anders Jenbo
1af8fc330f
Clean up Cel2DecodeLightTrans
7 years ago
Anders Jenbo
4d6d0d8592
Clean up CelDecodeHdrLightOnly
7 years ago
Anders Jenbo
e7d5aac5dc
Clean up engine and scrollrt attribute naming
7 years ago
Anders Jenbo
d2174e3454
Apply code style
7 years ago
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl ( #825 )
7 years ago