qndel
69b903743a
fix typos
5 years ago
Anders Jenbo
34744c068f
♻️ Consitantly use %i and not %d
5 years ago
obligaron
76103eeb7f
Replace C++ RUN_TEST define with gbQuietMode
5 years ago
obligaron
6fb1b0fed9
Seperate main(...) for binary and tests
5 years ago
Anders Jenbo
6c8b116f6c
🐛 Evaluate item names the same as the original
5 years ago
Anders Jenbo
e665a0c4b0
♻️ Draw info box text using DrawString
5 years ago
obligaron
b94e599f5e
ADL: Advance skipped Frames in SetNewAnimation and remove logic from PM_XYZ
5 years ago
Anders Jenbo
4a7ba94702
🎨 Run clang-format
5 years ago
Anders Jenbo
c11945e62b
🎨 Fix line endings
5 years ago
obligaron
8e5996cfca
run clang-format
5 years ago
Anders Jenbo
6321bf04d5
♻️ Pass player to towner by reference instead of index
5 years ago
obligaron
cb7819a75c
Introduce AnimationDistributionFlags::RepeatedAction
5 years ago
obligaron
b5954eb34b
Change AnimationDistributionParams to AnimationDistributionFlags
5 years ago
obligaron
b08e0c20dc
In repeated Animations show skipped Frames from previous Animation (repeated Attack/RangeAttack/Spell)
5 years ago
obligaron
ffc3c66e68
AnimationInfoTest: Add repeated attack test
5 years ago
Anders Jenbo
92db72719d
🔥 Remove some unused code
5 years ago
thebigMuh
24f32a1d53
Fix sound volume/panning attenuation ( #1789 )
...
* Fixing volume adjustment and scaling
5 years ago
Anders Jenbo
654a2b8834
♻️ Clean up automap code
...
Use Point for x,y pairs. Make helpers for drawing door and squares
5 years ago
obligaron
406a2bd260
Use AnimationInfo directly in tests
5 years ago
obligaron
ff995adc2b
Move ProcessPlayerAnimation to AnimationInfo
5 years ago
obligaron
16b3b38908
Move NewPlrAnim logic to AnimationInfo
...
Adjust SetNewAnimation-Parameter Names to Class Member
Adjust NewPlrAnim-Parameter Names to SetNewAnimation-Parameter Names
5 years ago
obligaron
3b87433fc2
Move GetFrameToUseForPlayerRendering to AnimationInfo
5 years ago
obligaron
1de46a8495
Rename member variables
5 years ago
obligaron
0b5183f63e
Introduce AnimationInfo
...
Update AnimationInfo.DelayLen comment
5 years ago
Vladimir Olteanu
b6c8db9de4
Update dead_test.cpp
5 years ago
Vladimir Olteanu
2a3cf98850
Slight cleanup of dead{.h,.cpp}
5 years ago
Jmgr
d4f62870b8
Remove globals from paths.h
...
Fix for Vita
Update to use free functions
Use std::optional to allow setting empty paths
Change header inclusion order
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
Use std::optional to allow setting empty paths
Apply clang-format
Temporary commit
5 years ago
obligaron
239a43cc1c
Remove "AnimWidth2" expect for missiles ( #1680 )
5 years ago
obligaron
08233cc31b
player_test - Fix wrong extern definition for PM_DoGotHit
5 years ago
Jmgr
c33182d6de
Modernize deprecated headers
5 years ago
Anders Jenbo
f77c52941a
♻️ Make GetDirection take Points instead of ints
5 years ago
Anders Jenbo
2bd13451a1
♻️ Apply point positioning to all remaning entities
5 years ago
Anders Jenbo
7912e510f0
🎨 Clean up overuse of SDL types
5 years ago
Anders Jenbo
275404029e
♻️ Cleanup player temp variables
5 years ago
obligaron
b1ee8c00b3
change AnimationDistributionFlags to enum class and rename to AnimationDistributionParams
5 years ago
obligaron
93d487d3ed
move comments to own line
5 years ago
obligaron
1930b0f1a6
rename enum AnimationFlags to AnimationDistributionFlags
5 years ago
obligaron
eb3d8f05e5
add more comments to unittest
5 years ago
obligaron
f51759b827
Include UnitTests
5 years ago
Anders Jenbo
a5f062b747
🎨 Use stdint instead of SDL types
5 years ago
Anders Jenbo
e4cfad3196
♻️ Use points instead of individual fileds for player structure
5 years ago
Anders Jenbo
bd389e9ef6
♻️ Clean up bool logic in engine.cpp
5 years ago
Anders Jenbo
97d7171123
🔥 Get rid of _ptargx/y
5 years ago
Anders Jenbo
69f2452119
✅ Add Thunderclap to tests
5 years ago
Anders Jenbo
53287ae0b0
✅ Add Gnat Sting to tests
5 years ago
Anders Jenbo
15ea464ddd
✅ Add more items to tests
5 years ago
Anders Jenbo
8c821e98d3
🚚 Restructure files
5 years ago
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
5 years ago
Juliano Leal Goncalves
28ad9d43c5
🎨 Rename 'plr_class' enum to 'HeroClass'
...
Members were renamed as well for readability.
5 years ago
Juliano Leal Goncalves
7d95bfed39
♻️ Convert 'plr_class' to a scoped enumeration
5 years ago