Anders Jenbo
14a22612b5
Test LineClearSolid
5 years ago
Anders Jenbo
2200a78c11
✅ Add 4 unique items to test suite
5 years ago
Juliano Leal Goncalves
4668a526eb
♻️ Leverage 'Point' struct on monster functions ( #2056 )
5 years ago
qndel
ab0478319c
assign seed to quest items + rng cleanup
5 years ago
Kalebe Alves
118efe8e6d
Use Point/SDL_Rect for control functions coordinate system
5 years ago
Gleb Mazovetskiy
dd3ea66fa2
♻️ Split getTextColor(bool) into 2 functions
...
This is a bit more readable than using a bool argument.
5 years ago
Gleb Mazovetskiy
7ab16c5c5d
🔨 CMake: Cleanup Nintendo Switch variables
5 years ago
Gleb Mazovetskiy
bcd2dd429c
🔨 CMake: asio: Use HTTP for downloading
...
This is much faster than using git.
5 years ago
Gleb Mazovetskiy
075e47efca
🔨 CMake: simpleini: Use HTTP for downloading
...
This is much faster than using git.
5 years ago
Gleb Mazovetskiy
f319c593a6
🧹 player.cpp: Remove unused `GetPlrGFXClass`
5 years ago
Dave Murphy
733cf56a1e
use upstream devkitPro cmake machinery
5 years ago
Kalebe Alves
49b21afb73
Clean up cstddef.hpp
5 years ago
Kalebe Alves
0461529176
Move byte from engine.h
5 years ago
Anders Jenbo
00f1368936
Correct build badges
5 years ago
Anders Jenbo
c6f7bfdce5
Make a seperate section for the test builds
5 years ago
qndel
2f3cf65b27
cleanup getTextColor
5 years ago
qndel
c6398af024
margins and tweaks
5 years ago
staphen
3ae5abc957
Update SDL_audiolib
5 years ago
qndel
b1d74d2791
alt highlighting ( #2060 )
5 years ago
qndel
4d4eadf233
fix pause font and centering ( #2063 )
5 years ago
Vladimir Olteanu
e9a773f487
Make GetSpellBitmask constexpr
5 years ago
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