qndel
0e0d2d3c34
small fix
6 years ago
qndel
6ec916bbb8
center speedbook horizontally
6 years ago
Anders Jenbo
dbc91ae036
Correct mouse interactions for game controller
6 years ago
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
Gleb Mazovetskiy
b18fe49d0a
Fix OOB in DrawSpell ( #405 )
...
The OOB here was in `_pSplLvl[spl]`.
The value of SPL_INVALID is is `-1`.
The fix is to not access the array when `spl == SPL_INVALID`.
6 years ago
Gleb Mazovetskiy
1b24dac942
Add BUGFIX comment in DrawSpell
6 years ago
Anders Jenbo
048429b4cd
Apply more constants
6 years ago
Anders Jenbo
71adfe509e
Document more attributes
6 years ago
falquinho
c65060ccad
Some comments on control functions.
6 years ago
Anders Jenbo
92ab05ea13
Decompose more magic numbers
6 years ago
Mathieu Maret
e35b00acd9
Simplify few loops by using memcpy
6 years ago
Anders Jenbo
3e7d352fde
Format files
6 years ago
Anders Jenbo
2348c3a8fd
Documentations, enums and clean ups
6 years ago
Anders Jenbo
0d7f87630b
Remove width from info panel sy value
...
This was left behind when doing 337bc9b125
7 years ago
Anders Jenbo
d354bd9767
Lock framerate at vsync instead of 20fps
...
Since most animations are still controlled by the game logic the only
real benefit is smoother mouse and scrolling text, but it's a start :)
7 years ago
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
d1914efa41
Make sens of lineoffset ( #1810 )
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
Anders Jenbo
fde6c8030b
[hellfire] SpellITbl
7 years ago
qndel
fa9ee2aa45
Fix hp not showing bug ( #1680 )
7 years ago
qndel
12435a9317
SetSpell cleanup
7 years ago
galaxyhaxz
282e42b46b
Town/misc fixes
7 years ago
qndel
81f965d122
[hellfire] InitControlPan bin exact
7 years ago
Anders Jenbo
cf359d9ea2
Remove server chat
7 years ago
qndel
8a78228aba
[hellfire] DrawInfoBox bin exact
7 years ago
qndel
fdac4d19e7
[hellfire] UpdateLifeFlask bin exact
7 years ago
qndel
48006b22a8
[hellfire] DrawLifeFlask bin exact
7 years ago
qndel
74b6ac4d77
[hellfire] control_press_enter bin exact
7 years ago
qndel
9667c34f0a
[hellfire] DrawManaFlask bin exact
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
83e62ea8a1
[hellfire] Set up build intergration
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