galaxyhaxz
6c0bc83115
Fix type for panelstr
6 years ago
Anders Jenbo
92ab05ea13
Decompose more magic numbers
6 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
337bc9b125
Render text in screen cordinates instead of buffer offsets
7 years ago
Anders Jenbo
d1914efa41
Make sens of lineoffset ( #1810 )
7 years ago
Anders Jenbo
dd8df33785
Format source
7 years ago
Anders Jenbo
efc5f4570f
Remove duplicate code from control.cpp
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
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
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
035d6b146c
Clean up DrawInfoBox ( #1211 )
7 years ago
qndel
9f924f86bf
control_presskeys bin exact ( #1187 )
7 years ago
Anders Jenbo
d4437a923e
Clean control_print_info_str
7 years ago
Anders Jenbo
ba38357e21
Clean up control.cpp pointer types
7 years ago
Anders Jenbo
307c1196f3
Clean up control_check_talk_btn
7 years ago
Anders Jenbo
51544fed2b
Clean up control_release_talk_btn
7 years ago
Anders Jenbo
40e93aac8d
Clean up control_up_down
7 years ago
Anders Jenbo
48212a62f6
Correct types in control.cpp
7 years ago
Anders Jenbo
ea8eeefc57
Clean up control_WriteStringToBuffer
7 years ago
qndel
1d656ef7fd
control_talk_last_key bin exact
7 years ago
Anders Jenbo
0a2b767b28
Clean up InitControlPan ( #1001 )
7 years ago
Robin Eklind
0501ff10ef
Use RECT32 struct for attribute_inc_rects
7 years ago
galaxyhaxz
d76fce723d
DrawSpellBook & CheckSBook ( #963 )
7 years ago
Anders Jenbo
c0531bfc4c
Some booleans
7 years ago
qndel
9864e0f150
DrawDurIcon4Item bin exact ( #936 )
7 years ago
qndel
3358f619e2
ReleaseChrBtns bin exact
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Anders Jenbo
5c22841071
Apply MAX_PATH
7 years ago
Anders Jenbo
69ad8b63e0
Clean up StartGoldDrop
7 years ago
qndel
8f7f936eda
GetObjectStr almost bin exact
7 years ago
galaxyhaxz
afe4d4d3a9
Clean Control.cpp asm funcs ( #707 )
7 years ago
galaxyhaxz
87a0846a38
Clean CPrintString + Font index ( #687 )
7 years ago
galaxyhaxz
c0c5cc3610
Fix DrawSpellCel ( #630 )
7 years ago
Anders Jenbo
cfbe27f3b8
Clean up ( #568 )
...
* Clean up mana checks
* Don't expose static globals
7 years ago
Anders Jenbo
82d1f6c8e0
Clean up CheckChrBtns
7 years ago
galaxyhaxz
eceb1c3b5b
Fix tempstr length, add array
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
galaxyhaxz
d9a285327f
StartGame and PressEscKey ( #461 )
7 years ago
Anders Jenbo
04b19f604d
Monster.cpp ( #443 )
...
* Clean up MAI_Golum
* Clean up MAI_Garbud
* Clean up MAI_Lachdanan
* Clean up DeleteMonsterList
* Clean up FreeMonsters
* Define enums for resistance
* Correct AddPanelString input
* Correct pinfoflag type
* Define monster_goal
* apply enum to _pIFlags
* Correct DeleteMonsterList
* Add TODO for possible bug fix.
7 years ago
Anders Jenbo
27b23b4186
Format ingame UI
8 years ago
Andrew Dunstan
674407cb73
clean SetSpellTrans
8 years ago
Anders Jenbo
96ab38730f
Control.cpp ( #396 )
...
* Clean up ToggleSpell
* Clean up DrawLifeFlask and UpdateLifeFlask
* Clean up DrawManaFlaskm, control_update_life_mana and UpdateManaFlask
* Clean up CheckSBook
* Clean up DoSpeedBook
* Decompose magic numbers
* Clean up GetSBookTrans
* Apply spell_type
* Slight clean up of DrawSpellList
This improves the bin diff a little bit but more importantly gets rid of
_p*Spells[] usage in control.cpp
8 years ago
squidcc
3561450624
clean plrmsg.cpp ( #386 )
8 years ago
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago
Anders Jenbo
db77557dce
ValidatePlayer ( #318 )
...
* ValidatePlayer
* Add MAX_SPELLS define
8 years ago
Anders Jenbo
e05679b1c9
Clean up ProcessPlayers ( #319 )
...
* Clean up ProcessPlayers
* Change drawhpflag and drawmanaflag to BOOL
8 years ago
galaxyhaxz
38b498ac4b
Add 'const' to data to match original binary ( #200 )
8 years ago