Vladimir Olteanu
fce8f7a503
Make Point stuff constexpr
5 years ago
Vladimir Olteanu
e37e7e408c
Introduce Point::WalkingDistance
5 years ago
Vladimir Olteanu
690211a699
replace Point::Absolute with abs
5 years ago
Vladimir Olteanu
fdf8a21885
Use Point::Absolute in On_ATTACKID
5 years ago
Vladimir Olteanu
377f7b8f7b
Use Point::Absolute in LeftMouseCmd
5 years ago
Vladimir Olteanu
de2c640a9b
Use Point::Absolute in GetMinDistance
5 years ago
Vladimir Olteanu
53603da836
Use Point::Absolute in sync_monster
5 years ago
Vladimir Olteanu
16e78bb559
Use ManhattanDistance in sync_monster
5 years ago
Vladimir Olteanu
f0ccb562fa
Use ManhattanDistance in sync_one_monster
5 years ago
Vladimir Olteanu
ba3f0aef8b
Introduce Point::Absolute and Point::ManhattanDistance
5 years ago
Chance4us
608c231f46
Draw black drop shadow for automap ( #2090 )
5 years ago
Juliano Leal Goncalves
8622130966
♻️ Add '==' and '!=' operators to 'Size' struct
5 years ago
Juliano Leal Goncalves
e67683e5be
♻️ Simplify 'GetSuperItemLoc' logic using 'Point'.
5 years ago
Juliano Leal Goncalves
b0584f1925
♻️ Simplify 'GetSuperItemSpace' logic using 'Point'.
5 years ago
Juliano Leal Goncalves
1cc121e95c
♻️ Simplify 'SpawnRock' logic using 'Point'.
5 years ago
Juliano Leal Goncalves
1bf319bc11
♻️ Leverage 'Point' struct on 'ItemPlace'
5 years ago
Juliano Leal Goncalves
6aa6efb720
♻️ Extract item position generation logic to common function
5 years ago
Juliano Leal Goncalves
b04047ba4d
♻️ Leverage 'Point' struct on 'SpawnUnique'
5 years ago
Juliano Leal Goncalves
9c85e61025
♻️ Leverage 'Point' struct on 'ItemSpaceOk'
5 years ago
Juliano Leal Goncalves
293803df51
♻️ Replace 'coord' struct with 'Point'
5 years ago
Juliano Leal Goncalves
ff3dee8d45
♻️ Replace poor usages of 'Size' with 'Point's
5 years ago
Juliano Leal Goncalves
58501cab26
🚚 Move 'Size' struct to engine.h
5 years ago
Juliano Leal Goncalves
abee4fe6fe
♻️ Repurpose the 'InvXY' struct as a new 'Size' struct
5 years ago
qndel
ae221bb860
fix invalid width2
5 years ago
Juliano Leal Goncalves
21ecaa225f
♻️ Leverage 'Point' struct on inventory functions ( #2094 )
5 years ago
Jmgr
5c6d778af1
Keymapper: fix actions being triggered while the chatbox is open
5 years ago
Jmgr
b4ea4c29a0
Keymapper: add enabled condition, fix being able
...
to save/load in multiplayer
5 years ago
Anders Jenbo
0d5d8cb1d4
💚 Fix NOSOUND
5 years ago
qndel
90f250dfee
fix line clear after refactor ( #2086 )
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
f319c593a6
🧹 player.cpp: Remove unused `GetPlrGFXClass`
5 years ago
Kalebe Alves
49b21afb73
Clean up cstddef.hpp
5 years ago
Kalebe Alves
0461529176
Move byte from engine.h
5 years ago
qndel
2f3cf65b27
cleanup getTextColor
5 years ago
qndel
c6398af024
margins and tweaks
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