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 |
Anders Jenbo
|
6ce8f13751
|
Apply clang-tidy to more code and do some related cleanups
|
5 years ago |
Juliano Leal Goncalves
|
d55cd99dd5
|
🚚 Rename 'direction' enum to 'Direction'
|
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 |
obligaron
|
4de25cd2ea
|
Introduce PlayerStruct.IsWalking()
|
5 years ago |
Anders Jenbo
|
0c2042fa52
|
♻️ Player by reference
Update Source/items.cpp
Update Source/lighting.cpp
Update Source/pack.cpp
asd
ads
as
|
5 years ago |
obligaron
|
7ed009ecb7
|
Remove PlayerStruct.actionFrame and enable ADL for Walking/Run (#1939)
- Remove (unused) actionFrame for PM_DEATH
- Remove actionFrame for PM_SPELL
- Remove actionFrame for PM_WALK
- Remove actionFrame
|
5 years ago |
obligaron
|
e3e3d02da7
|
Correct Doxygen comments
|
5 years ago |
Anders Jenbo
|
6321bf04d5
|
♻️Pass player to towner by reference instead of index
|
5 years ago |
Anders Jenbo
|
f579b2f287
|
Handle cel/cl2 files as byte arrays
|
5 years ago |
obligaron
|
b5954eb34b
|
Change AnimationDistributionParams to AnimationDistributionFlags
|
5 years ago |
Juliano Goncalves
|
6e3c33ad23
|
✨ Add key to stop walking and cancel pending actions
|
5 years ago |
Juliano Leal Goncalves
|
39736e2538
|
♻️ Pass 'PlayerStruct' pointer to 'ClrPlrPath'
|
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
|
0b5183f63e
|
Introduce AnimationInfo
Update AnimationInfo.DelayLen comment
|
5 years ago |
obligaron
|
a3229741d1
|
🖌️ Refurbish tables in source code (clang-format off)
|
5 years ago |
obligaron
|
239a43cc1c
|
Remove "AnimWidth2" expect for missiles (#1680)
|
5 years ago |
Jmgr
|
c33182d6de
|
Modernize deprecated headers
|
5 years ago |
Anders Jenbo
|
efbe8a8338
|
♻️ add possition points to monsters
|
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
|
1930b0f1a6
|
rename enum AnimationFlags to AnimationDistributionFlags
|
5 years ago |
obligaron
|
e0aec0b153
|
Rename _pAnimRelevantAnimationFramesForDistributen to _pAnimRelevantAnimationFramesForDistributing
|
5 years ago |
obligaron
|
613c54496d
|
player.h: change comment styles (doxygen)
|
5 years ago |
obligaron
|
fa6bf63dd3
|
Introduce AnimationFlags::SkipsDelayOfLastFrame and handle it
|
5 years ago |
obligaron
|
c9b506d334
|
Introduce AnimationFlags::ProcessAnimationPending and stop passing skipped Frames cause of ProcessAnimationPending as skipped Frames
|
5 years ago |
obligaron
|
f908f47751
|
Move the original logic to NewPlrAnim and introduce _pAnimGameTickModifier and _pAnimRelevantAnimationFramesForDistributen
|
5 years ago |
Anders Jenbo
|
e4cfad3196
|
♻️Use points instead of individual fileds for player structure
|
5 years ago |
Anders Jenbo
|
69a70b77f8
|
🚚 Move enum_traits.h to utils
|
5 years ago |
Anders Jenbo
|
97d7171123
|
🔥 Get rid of _ptargx/y
|
5 years ago |
qndel
|
ec74917cb4
|
class sounds cleanup
|
5 years ago |
FluffyQuack
|
4f417d2fdc
|
Fix to one desync related to player movement (queuing moving after attacking).
|
5 years ago |
Anders Jenbo
|
a9874d65c1
|
♻️Remove SDL types from player header
|
5 years ago |
Anders Jenbo
|
373f28736f
|
🎨 Acceptable parts of modernize-*
|
5 years ago |
Anders Jenbo
|
c89bd9c001
|
🚨 Fix remaning warnings for clang and gcc
|
5 years ago |
staphen
|
4faf09c2df
|
Consolidate logic for Mana Shield and player damage.
|
5 years ago |
Juliano Leal Goncalves
|
f8871aab07
|
♻️ Unify most valuable player item logic on new method
|
5 years ago |
Anders Jenbo
|
f450d6a125
|
🚚 Move defines to there proper files
|
5 years ago |
Juliano Leal Goncalves
|
cc5f2a8f49
|
🎨 Rename 'attribute_id' enum to 'CharacterAttribute'
Members were renamed as well for readability.
|
5 years ago |
Juliano Leal Goncalves
|
f54cc5aa95
|
♻️ Convert 'attribute_id' to a scoped enumeration
|
5 years ago |