qndel
a6a89bca3a
apply TRUE/FALSE
6 years ago
Anders Jenbo
f761c73723
Correct CelBlitWidth signature
6 years ago
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
Robin Eklind
e155a9423e
rename random to random_ to avoid collision with random in stdlib.h
...
Fixes #1813 .
6 years ago
Anders Jenbo
6597688eac
Rename cell functions
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
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
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
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
galaxyhaxz
5238265702
Implement assert support ( #791 )
7 years ago
galaxyhaxz
9afd45cbea
Fix crash in draw town ( #692 )
7 years ago
galaxyhaxz
f388472713
ENG_set_pixel + engine_draw_pixel ( #691 )
7 years ago
galaxyhaxz
befd52c003
Fix type for 'gpBuffer' ( #672 )
7 years ago
galaxyhaxz
0bb9f666b3
Clean remaining .CEL functions ( #657 )
7 years ago