1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-01-24 09:16:48 +00:00
Aquaria/Aquaria
fgenesis 7b8f540c7e Fixes to skel keyframe handling that would usually skip the first keyframe
This didn't seem to cause problems since apparently nothing ever depended
on the first keyframe being processed properly (ie. animationKey(),
bone commands, sounds, particle spawning, etc).
Curiously this was never an issue in the editor since the first keyframe
is hit immediately (since it keeps the time clamped to 0 when not animating),
and the first keyframe triggered ONLY when t==0 exactly.

With this change no keyframes are skipped, and during an animation loop,
the last and the first keyframe are hit together.
entity_setAnimationTime() got an extra param whether to skip keyframes
when setting the time manually (if not skipping, it'll catch up).

This commit also fixes a bug(?) that animationKey() was called with key -1
when changing animations, which was a side-effect of how the old code worked.
(I hope nothing depended on this behavior, i'm not sure but i think it's safe to fix)
2025-01-17 05:38:07 +01:00
..
AnimationEditor.cpp anim editor usability fixes 2025-01-13 04:58:43 +01:00
AnimationEditor.h anim editor usability fixes 2025-01-13 04:58:43 +01:00
Aquaria.ico
aquaria.rc
AquariaComboBox.cpp
AquariaCompileConfig.h Now is the time to finally switch on AQUARIA_SAVE_MAPVIS_RAW for good 2024-11-16 06:01:02 +01:00
AquariaMenuItem.cpp
AquariaMenuItem.h
AquariaOSE.ico
AquariaSaveSlot.cpp
Avatar.cpp
Avatar.h
Beam.cpp
Beam.h
BitBlotLogo.cpp
CMakeLists.txt
CollideEntity.cpp
CollideEntity.h
Continuity.cpp Fix a couple oversights in gem data loading 2024-11-16 04:53:23 +01:00
Continuity.h
Credits.cpp
CurrentRender.cpp
custom-fields.h
Damage.h
DSQ.cpp more tweaks to anim editor, allow seeking via timeline when RMB is held 2025-01-12 03:30:08 +01:00
DSQ.h more tweaks to anim editor, allow seeking via timeline when RMB is held 2025-01-12 03:30:08 +01:00
Element.cpp
Element.h
Emote.cpp
Entity.cpp
Entity.h
FlockEntity.cpp
FlockEntity.h
Game.cpp
Game.h
GameEnums.cpp
GameEnums.h
GameplayVariables.cpp
GameStructs.cpp
GameStructs.h
GasCloud.cpp
GasCloud.h
GridRender.cpp
GridRender.h
Hair.cpp couple random warning fixes, no functional changes 2025-01-13 00:56:28 +01:00
Hair.h
InGameMenu.cpp
InGameMenu.h
Ingredient.cpp
Ingredient.h
Intro.cpp
Intro.h
Main.cpp
ManaBall.cpp
ManaBall.h
MiniMapRender.cpp
Mod.cpp
Mod.h
ModDownloader.cpp
ModDownloader.h
ModSelector.cpp
ModSelector.h
Network.cpp
Network.h
ParticleEditor.cpp
Path.cpp
Path.h
PathFinding.cpp
PathFinding.h
PathRender.cpp
RecipeMenuEntry.cpp
RecipeMenuEntry.h
SceneEditor.cpp fix startup crash when holding down Alt key 2025-01-06 16:38:11 +01:00
SceneEditor.h
SchoolFish.cpp
SchoolFish.h
Scriptable.cpp
Scriptable.h
ScriptedEntity.cpp couple random warning fixes, no functional changes 2025-01-13 00:56:28 +01:00
ScriptedEntity.h
ScriptInterface.cpp Fixes to skel keyframe handling that would usually skip the first keyframe 2025-01-17 05:38:07 +01:00
ScriptInterface.h
Segmented.cpp couple random warning fixes, no functional changes 2025-01-13 00:56:28 +01:00
Segmented.h couple random warning fixes, no functional changes 2025-01-13 00:56:28 +01:00
SFXLoops.cpp
Shot.cpp couple random warning fixes, no functional changes 2025-01-13 00:56:28 +01:00
Shot.h couple random warning fixes, no functional changes 2025-01-13 00:56:28 +01:00
Spore.cpp
Spore.h
States.cpp
States.h
StatsAndAchievements.cpp
StatsAndAchievements.h
SteamRender.cpp couple random warning fixes, no functional changes 2025-01-13 00:56:28 +01:00
Strand.cpp couple random warning fixes, no functional changes 2025-01-13 00:56:28 +01:00
StringBank_gen.h
SubtitlePlayer.cpp
SubtitlePlayer.h
TileMgr.cpp
TileMgr.h
TileVector.h
ToolTip.cpp
ToolTip.h
UserSettings.cpp
UserSettings.h
WaterSurfaceRender.cpp
WaterSurfaceRender.h
Web.cpp couple random warning fixes, no functional changes 2025-01-13 00:56:28 +01:00
Web.h couple random warning fixes, no functional changes 2025-01-13 00:56:28 +01:00
WorldMap.h
WorldMapRender.cpp fix old fixme, remove unused code 2024-11-16 06:00:00 +01:00
WorldMapRender.h fix gem scaling, attempt #2 2024-11-16 04:55:56 +01:00
WorldMapTiles.cpp