Anders Jenbo
c4a7df80a7
Use CelDraw function for rendering instead of CelBlit
...
This leaves just town_special, scrollrt arches and left side of
two-handed weapons to be using direct blitting functions.
7 years ago
Anders Jenbo
337bc9b125
Render text in screen cordinates instead of buffer offsets
7 years ago
Anders Jenbo
e8cd0aedfb
Use cel functions to blit control panel text
7 years ago
Anders Jenbo
ad7a621e5f
Drop PitchTbl to avoid resolution restriction
7 years ago
Anders Jenbo
6597688eac
Rename cell functions
7 years ago
Anders Jenbo
d2b1f0cfc8
Apply the Cel helper functions in a few more places
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
12435a9317
SetSpell cleanup
7 years ago
Anders Jenbo
cf359d9ea2
Remove server chat
7 years ago
qndel
522f8f07c6
DrawTalkPan cleanup
7 years ago
qndel
4605c6096f
control_up_down cleanup
7 years ago
Anders Jenbo
e24cbb2423
Clean up init_disable_screensaver
7 years ago
Anders Jenbo
27e3696df4
Use consts for drawing ui
7 years ago
Anders Jenbo
1f715f86f6
Clean up
7 years ago
Anders Jenbo
dd8df33785
Format source
7 years ago
Anders Jenbo
efc5f4570f
Remove duplicate code from control.cpp
7 years ago
Anders Jenbo
f605138c79
Strip ASM code
7 years ago
Robin Eklind
98e97351b9
control: rename attribute_inc_rects to ChrBtnsRect
...
Rationale described in sanctuary/notes@541e63f85a442cbb2293734c24c5868ccceec800
as included below:
Note, the ChrBtnsRect global doesn't have PSX debug info.
However, the functionality correspond to that of InvRect
of inv.h. Moreover, the we may infer the name from the
function CheckChrBtns, and simply combine the two names.
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Anders Jenbo
9d3ce818f0
Correct BOOLS
7 years ago
Anders Jenbo
5ab9f4609a
Clean up signedness
7 years ago
Anders Jenbo
e2bff090d6
Come up with names for all remaning arguments
7 years ago
Anders Jenbo
aa50489569
Clean up generated comments
7 years ago
Anders Jenbo
3bc8ba66b0
Use defines for more screen geometry values
7 years ago
Robin Eklind
4cbf8c9ec3
Rename global pCelBuff to pSPentSpn2Cels
...
This is to avoid confusion, as pCelBuff is also
commonly used as a parameter name.
The naming follows the convention used by
TextBox2.CEL and TextSlid.CEL, as seen in
stores.cpp
pSTextBoxCels = LoadFileInMem("Data\\TextBox2.CEL", NULL);
pSPentSpn2Cels = LoadFileInMem("Data\\PentSpn2.CEL", NULL);
pSTextSlidCels = LoadFileInMem("Data\\TextSlid.CEL", NULL);
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
a7788ccddf
Format bin exact code
7 years ago
Duarte Alvim
6a4142fb08
Add gold constants
7 years ago
Anders Jenbo
328c74b626
Correct called methode
7 years ago
Anders Jenbo
334c06c6d3
Correct type in calls to AddPanelString
7 years ago
Anders Jenbo
a369eb8d46
Fix DrawSpellList
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
ef97e8cc43
Make control_remove_gold bin exact.
7 years ago
Anders Jenbo
56dcdd669b
Clean up DrawChr
7 years ago
Sergey Semushin
d218b5e3ae
Clean up DrawTalkPan.
7 years ago
Sergey Semushin
4c5748a0c5
Clean up control_press_enter.
7 years ago
Anders Jenbo
035d6b146c
Clean up DrawInfoBox ( #1211 )
7 years ago
Sergey Semushin
ca3841a7dc
Clean up DrawSpellList.
7 years ago
qndel
9f924f86bf
control_presskeys bin exact ( #1187 )
7 years ago
qndel
94af1c4076
control_print_talk_msg bin exact
7 years ago
qndel
21b84adf13
control_type_message bin exact
7 years ago
Anders Jenbo
aa2752839a
Clean up switch style
7 years ago
Anders Jenbo
3c7165b1d8
Clean up CheckPanelInfo
7 years ago
Anders Jenbo
d4437a923e
Clean control_print_info_str
7 years ago
Anders Jenbo
7a6609ad8a
Clean up MY_PlrStringXY
7 years ago
Anders Jenbo
a3e3cd4c23
Clean up ADD_PlrStringXY
7 years ago
galaxyhaxz
82e8d6ed60
Fix trigflag, trigs.cpp bin exact
7 years ago
qndel
20e602ca84
PrintGameStr bin exact ( #1109 )
7 years ago