Juliano Leal Goncalves
0d4e792551
♻️ Change 'SetMapMonsters' to take a 'Point' instead of 2 separate ints
5 years ago
Juliano Leal Goncalves
944ff6fb78
♻️ Change 'InitMonster' to take a 'Point' instead of 2 separate ints
5 years ago
Juliano Leal Goncalves
dd9e05222d
♻️ Change 'PosOkPlayer' to take a 'Point' instead of 2 separate ints
5 years ago
Juliano Leal Goncalves
c6fafbf64b
♻️ Change 'SolicLoc' to take a 'Point' instead of 2 separate ints
5 years ago
Juliano Leal Goncalves
94164812f4
🏷️ Add integer overload for Point multiplication operator
5 years ago
Anders Jenbo
68249d07e3
Correct false positives translation warnings
...
Fixes #2053
5 years ago
Anders Jenbo
8a7ec56d3a
Player by reference part 2
...
This mostly change player to be by reference instead of by index.
But additionally it does stript checks for gold in the belt, move some
value types to the initialization and short circute a few functiongs.
5 years ago
obligaron
da7ded3170
Integrate GetAnimationWidth in LoadPlrGFX (only callside)
5 years ago
obligaron
d97131349e
Unify player_graphic memory handling
5 years ago
obligaron
60616f2497
LoadFile support in Unittests
5 years ago
obligaron
61ba5009ac
Convert to CelSprite
5 years ago
obligaron
3067aeacb8
Remove PlayerStruct._pXYZWidth and replace it with calls to GetAnimationWidth
5 years ago
obligaron
d11ed50585
NewPlrAnim now also loads the graphics if needed
5 years ago
obligaron
c424f601ec
Change LoadPlrGFX from pnum to PlayerStruct
5 years ago
obligaron
3a6e631261
Remove memset for PlayerStruct
5 years ago
obligaron
a1e24b33fc
Default values for PlayerStruct
5 years ago
Juliano Leal Goncalves
b3ec79af4f
Leverage 'Point' in Lighting and Player functions ( #2048 )
5 years ago
obligaron
27a1a3bbfb
Use SimpleIni build-in bool/long/double methods
5 years ago
obligaron
7d5fe022ee
Switch ini library from Radon to simpleini
5 years ago
Juliano Leal Goncalves
cc936dacd7
♻️ Replace 'int' with 'Direction' parameter on 'PlrDirOK'
5 years ago
Anders Jenbo
43f26084d0
Fix warnigns
5 years ago
Anders Jenbo
6ce8f13751
Apply clang-tidy to more code and do some related cleanups
5 years ago
Juliano Leal Goncalves
21fdb0dcd9
♻️ Replace manual direction displacement logic with 'Point' add operator
5 years ago
Juliano Leal Goncalves
d55cd99dd5
🚚 Rename 'direction' enum to 'Direction'
5 years ago
Juliano Leal Goncalves
07e6a98fc4
✏️ Fix typos and spelling mistakes on 'HeroSpeech' members
5 years ago
Juliano Leal Goncalves
15c46b9eb0
💬 Rename HeroSpeech members to improve discoverability
5 years ago
Gleb Mazovetskiy
8ceb36a4cb
♻️ GetItemTextColor(item) -> item.getTextColor()
...
This will help with the Alt highlight feature.
5 years ago
Gleb Mazovetskiy
b76f7656f3
🧹 LoadArt: BYTE -> uint8_t
...
The change in include order necessitated a couple of other minor
cleanups, one in stubs.h and one in sdl2_to_1_2_backports.h
5 years ago
qndel
bcd86b6c15
fix typos
5 years ago
M0Rf30
eccfbc4abd
🌐 Update Italian localization
5 years ago
qndel
69b903743a
fix typos
5 years ago
Juliano Leal Goncalves
5350250a76
🚚 Rename speech functions to 'Say' variations
5 years ago
Juliano Leal Goncalves
8c620ce29e
♻️ Extract 'HeroSpeech' enum class for hero sounds instead of using raw `int`s
5 years ago
Gleb Mazovetskiy
e72def02e6
🔨 Add `STREAM_ALL_AUDIO` build setting
...
For extremely memory-constrained devices. Gets into town on RG99 (18 FPS -> 14 FPS).
5 years ago
Gleb Mazovetskiy
8ba63dfa30
OpenDingux: Use 8-bit hwsurface for RG-350
...
Uses an 8-bit surface direct rendering with triple-buffering for RG-350.
This improves FPS and eliminates tearing.
5 years ago
Gleb Mazovetskiy
ca3bc0afc5
OpenDingux/build.sh: Options for debug/relwithdebinfo
...
Handy for debugging
5 years ago
qndel
faae9a65c7
fix typos ( #2038 )
5 years ago
Gleb Mazovetskiy
bb95e0c337
cl2_render: Use memset when rendering outline
...
A minor cleanup that replaces the for-loop rendering for a fill run
with memsets.
5 years ago
Anders Jenbo
9e2206a673
Format code
5 years ago
obligaron
e99af6cbb1
Remove old positioning logic for manashield and reflect
5 years ago
obligaron
86e1d488e6
Draw Reflect Icon similiar to Manashield
5 years ago
Anders Jenbo
6acb49bea4
Render quest and menu text using common text rendering
5 years ago
Jmgr
8b16223e56
Replace %u format in translations
5 years ago
Jmgr
0e7ada15fc
Apply new format to ngexttext translations
5 years ago
Jmgr
bbd39aa513
Replace sprintfs with strcpy for translatable strings
5 years ago
Jmgr
4dab9d3175
Translations: remove c-format
5 years ago
Jmgr
0345bb03d1
Update pot file
5 years ago
Jmgr
c3211c2286
Update format in translations
5 years ago
Jmgr
1401dc680e
Translations fixes
5 years ago
Jmgr
6e85cde978
Update format strings
5 years ago