1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-01-24 17:26:41 +00:00
Aquaria/BBGE
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
..
ActionInput.cpp warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat 2024-04-16 01:43:36 +02:00
ActionInput.h
ActionMapper.cpp
ActionMapper.h
ActionSet.cpp warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat 2024-04-16 01:43:36 +02:00
ActionSet.h warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat 2024-04-16 01:43:36 +02:00
ActionStatus.cpp Add MOUSE_BUTTON_REAL_* mapping IDs because sometimes we need to handle unmapped mouse buttons 2024-09-22 02:36:18 +02:00
ActionStatus.h Add MOUSE_BUTTON_REAL_* mapping IDs because sometimes we need to handle unmapped mouse buttons 2024-09-22 02:36:18 +02:00
AfterEffect.cpp Changes to rendering logic, incl water surface flicker fix, plus other fixes. 2024-04-25 03:33:02 +02:00
AfterEffect.h Changes to rendering logic, incl water surface flicker fix, plus other fixes. 2024-04-25 03:33:02 +02:00
Base.cpp make dmon optional at compile time, and a dedicated runtime option 2024-06-27 23:43:26 +02:00
Base.h make dmon optional at compile time, and a dedicated runtime option 2024-06-27 23:43:26 +02:00
BaseText.h Build fixes for Linux, some warnings and compatibility fixes for C++17 and up 2023-05-25 16:58:08 +02:00
bithacks.h
BitmapFont.cpp warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat 2024-04-16 01:43:36 +02:00
BitmapFont.h BmpFont usage is now a ref instead of a ptr, const-ify glfont 2023-05-31 17:08:52 +02:00
CMakeLists.txt more fixes and improvements to anim editor; eliminate OutlineRect 2025-01-12 18:42:58 +01:00
Cocoa.mm
Core.cpp fix missed break in prev^2 commit 2024-10-15 04:11:30 +02:00
Core.h Change the text input box to use SDL textinput events 2024-10-15 04:07:22 +02:00
DarkLayer.cpp Changes to rendering logic, incl water surface flicker fix, plus other fixes. 2024-04-25 03:33:02 +02:00
DarkLayer.h Changes to rendering logic, incl water surface flicker fix, plus other fixes. 2024-04-25 03:33:02 +02:00
DataStructures.cpp
DataStructures.h Reduce Game::fillGrid() complexity from O(n^2) to O(n) when trimming 2024-11-04 04:47:34 +01:00
DebugFont.cpp fix a warning 2024-09-22 03:23:51 +02:00
DebugFont.h Build fixes for Linux, some warnings and compatibility fixes for C++17 and up 2023-05-25 16:58:08 +02:00
DirWatcher.cpp make dmon optional at compile time, and a dedicated runtime option 2024-06-27 23:43:26 +02:00
DirWatcher.h integrate directory watching for mod gfx in dev mode, and reload texture files that change 2024-06-25 04:49:44 +02:00
Emitter.cpp tentative fix for particle flip not working properly in some cases 2023-10-20 03:53:29 +02:00
EngineEnums.h
Event.cpp warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat 2024-04-16 01:43:36 +02:00
Event.h warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat 2024-04-16 01:43:36 +02:00
FmodOpenALBridge.cpp warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat 2024-04-16 01:43:36 +02:00
FmodOpenALBridge.h
FrameBuffer.cpp unbind framebuffer after init; fixes loading bar screen staying black 2024-05-07 00:44:04 +02:00
FrameBuffer.h Changes to rendering logic, incl water surface flicker fix, plus other fixes. 2024-04-25 03:33:02 +02:00
GameKeyNames.cpp
GameKeyNames.h
GameKeys.h warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat 2024-04-16 01:43:36 +02:00
GLLoad.cpp fix issues with glDrawBuffersARB() code path in prev commit 2024-04-26 03:28:07 +02:00
GLLoad.h
Gradient.cpp Preliminary support for vertial orientation: 2024-04-28 02:08:38 +02:00
Gradient.h Build fixes for Linux, some warnings and compatibility fixes for C++17 and up 2023-05-25 16:58:08 +02:00
Image.cpp save savefile previews as png. this finally kills .zga format, but it's kept for backwards compat 2024-11-09 03:46:52 +01:00
Image.h save savefile previews as png. this finally kills .zga format, but it's kept for backwards compat 2024-11-09 03:46:52 +01:00
Interpolators.cpp make both spline modes toggle-able ("assist" mode) 2024-07-07 05:36:21 +02:00
Interpolators.h make both spline modes toggle-able ("assist" mode) 2024-07-07 05:36:21 +02:00
Joystick.cpp warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat 2024-04-16 01:43:36 +02:00
Joystick.h warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat 2024-04-16 01:43:36 +02:00
Localization.cpp
Localization.h
MathFunctions.h
MT.cpp warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat 2024-04-16 01:43:36 +02:00
MT.h
OpenGLStubs.h Changes to rendering logic, incl water surface flicker fix, plus other fixes. 2024-04-25 03:33:02 +02:00
OSFunctions.cpp Support _mods/modname/mod-info.xml in addition to the old _mods/modname.xml 2024-11-04 22:38:29 +01:00
OSFunctions.h Support _mods/modname/mod-info.xml in addition to the old _mods/modname.xml 2024-11-04 22:38:29 +01:00
ParticleEffect.cpp
ParticleManager.cpp
Particles.h tentative fix for particle flip not working properly in some cases 2023-10-20 03:53:29 +02:00
Precacher.cpp warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat 2024-04-16 01:43:36 +02:00
Precacher.h Rework texture loading, part 1 2023-05-31 00:55:16 +02:00
Quad.cpp remove last traces of GL_BLEND/glBlendFunc() manipulation 2024-01-11 23:05:47 +01:00
Quad.h more fixes and improvements to anim editor; eliminate OutlineRect 2025-01-12 18:42:58 +01:00
QuadGrid.cpp
QuadGrid.h Build fixes for Linux, some warnings and compatibility fixes for C++17 and up 2023-05-25 16:58:08 +02:00
ReadXML.cpp
ReadXML.h
Rect.h Cleanup underwater checks, fix rectangular water bubbles 2023-06-23 15:05:05 +02:00
Refcounted.h Drop textures when no longer needed 2023-05-31 01:36:50 +02:00
RenderBase.cpp
RenderBase.h Changes to rendering logic, incl water surface flicker fix, plus other fixes. 2024-04-25 03:33:02 +02:00
RenderGrid.cpp remove GRID_DRAW_WORLDMAP and some associated code 2024-11-15 03:28:11 +01:00
RenderGrid.h remove GRID_DRAW_WORLDMAP and some associated code 2024-11-15 03:28:11 +01:00
RenderObject.cpp fix Lua func obj_fhTo() and variants, minor related cleanups in RenderObject 2025-01-13 04:57:35 +01:00
RenderObject.h fix broken scrolling in mod selector in vertical mode 2024-04-28 13:15:41 +02:00
RenderObject_inline.h don't update render water surface framebuffer when off screen 2024-04-28 04:04:30 +02:00
RenderObjectLayer.cpp remove RenderObjectLayer::update. now all layers are updated, always. 2024-05-12 18:01:43 +02:00
RenderState.cpp remove last traces of GL_BLEND/glBlendFunc() manipulation 2024-01-11 23:05:47 +01:00
RenderState.h remove last traces of GL_BLEND/glBlendFunc() manipulation 2024-01-11 23:05:47 +01:00
RoundedRect.cpp
RoundedRect.h Build fixes for Linux, some warnings and compatibility fixes for C++17 and up 2023-05-25 16:58:08 +02:00
ScreenTransition.cpp Changes to rendering logic, incl water surface flicker fix, plus other fixes. 2024-04-25 03:33:02 +02:00
ScreenTransition.h Build fixes for Linux, some warnings and compatibility fixes for C++17 and up 2023-05-25 16:58:08 +02:00
ScriptObject.cpp
ScriptObject.h
Shader.cpp
Shader.h
SimpleIStringStream.h
SkeletalSprite.cpp Fixes to skel keyframe handling that would usually skip the first keyframe 2025-01-17 05:38:07 +01:00
SkeletalSprite.h Fixes to skel keyframe handling that would usually skip the first keyframe 2025-01-17 05:38:07 +01:00
Slider.cpp
Slider.h
SoundManager.cpp
SoundManager.h
SpawnParticleData.cpp
SplineGrid.cpp ocd fix 2024-07-08 01:54:13 +02:00
SplineGrid.h make both spline modes toggle-able ("assist" mode) 2024-07-07 05:36:21 +02:00
StateMachine.cpp
StateMachine.h
StateManager.cpp Build fixes for Linux, some warnings and compatibility fixes for C++17 and up 2023-05-25 16:58:08 +02:00
StateManager.h warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat 2024-04-16 01:43:36 +02:00
StringBank.cpp very slightly more verbose loading 2023-06-01 12:59:07 +02:00
StringBank.h warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat 2024-04-16 01:43:36 +02:00
Texture.cpp Worldmap overhaul, part 1 2024-11-15 03:12:14 +01:00
Texture.h Worldmap overhaul, part 1 2024-11-15 03:12:14 +01:00
TextureMgr.cpp integrate directory watching for mod gfx in dev mode, and reload texture files that change 2024-06-25 04:49:44 +02:00
TextureMgr.h integrate directory watching for mod gfx in dev mode, and reload texture files that change 2024-06-25 04:49:44 +02:00
Tile.cpp typo; fix tile wavy-effect flip (this effectively made numpad 5+6 effects the same) 2024-09-22 04:32:18 +02:00
Tile.h don't lose tile flags when changing solidness; update grid when flipping solid tile 2024-09-23 23:29:10 +02:00
TileRender.cpp make editor outline not so dull, closer to what it was 2024-05-06 04:27:28 +02:00
TileRender.h fixes to SceneEditor, some more things are working again 2023-10-20 00:35:25 +02:00
Tileset.cpp more editor fixes: 2023-10-25 00:46:12 +02:00
Tileset.h more editor fixes: 2023-10-25 00:46:12 +02:00
TTFFont.cpp remove last traces of GL_BLEND/glBlendFunc() manipulation 2024-01-11 23:05:47 +01:00
TTFFont.h Build fixes for Linux, some warnings and compatibility fixes for C++17 and up 2023-05-25 16:58:08 +02:00
Vector.cpp couple random warning fixes, no functional changes 2025-01-13 00:56:28 +01:00
Vector.h couple random warning fixes, no functional changes 2025-01-13 00:56:28 +01:00
VertexBuffer.cpp fix some oversights in vertex buffer binding cache 2024-01-11 22:59:26 +01:00
VertexBuffer.h warning fixes, signed vs unsigned mismatch, cleanups, c++98 compat 2024-04-16 01:43:36 +02:00
Window.cpp
Window.h
Window_SDL1.cpp
Window_SDL2.cpp Experimenting with GL debug context and GL_ARB_debug_output 2023-08-09 02:34:12 +02:00