mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-01-24 09:16:48 +00:00
7b8f540c7e
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) |
||
---|---|---|
.. | ||
AnimationEditor.cpp | ||
AnimationEditor.h | ||
Aquaria.ico | ||
aquaria.rc | ||
AquariaComboBox.cpp | ||
AquariaCompileConfig.h | ||
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 | ||
Continuity.h | ||
Credits.cpp | ||
CurrentRender.cpp | ||
custom-fields.h | ||
Damage.h | ||
DSQ.cpp | ||
DSQ.h | ||
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 | ||
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 | ||
SceneEditor.h | ||
SchoolFish.cpp | ||
SchoolFish.h | ||
Scriptable.cpp | ||
Scriptable.h | ||
ScriptedEntity.cpp | ||
ScriptedEntity.h | ||
ScriptInterface.cpp | ||
ScriptInterface.h | ||
Segmented.cpp | ||
Segmented.h | ||
SFXLoops.cpp | ||
Shot.cpp | ||
Shot.h | ||
Spore.cpp | ||
Spore.h | ||
States.cpp | ||
States.h | ||
StatsAndAchievements.cpp | ||
StatsAndAchievements.h | ||
SteamRender.cpp | ||
Strand.cpp | ||
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 | ||
Web.h | ||
WorldMap.h | ||
WorldMapRender.cpp | ||
WorldMapRender.h | ||
WorldMapTiles.cpp |