kimi gone wild

This commit is contained in:
ra
2026-02-14 23:12:33 -07:00
parent bbd205ecbe
commit 0222be36c5
98 changed files with 39726 additions and 309 deletions

View File

@@ -0,0 +1,31 @@
defmodule Odinsea.Game.Movement.Bounce do
@moduledoc """
Bounce movement - bouncing off surfaces.
Ported from Java BounceMovement.java
Used for:
- Bouncing (command -1)
- Wall bouncing (commands 18, 19)
- Platform bouncing (commands 5-7)
"""
@type t :: %__MODULE__{
command: integer(), # Movement command type (-1, 5-7, 18, 19)
x: integer(), # Bounce X position
y: integer(), # Bounce Y position
unk: integer(), # Unknown short value
foothold: integer(), # Foothold after bounce
stance: integer(), # New stance/move action
duration: integer() # Movement duration in ms
}
defstruct [
:command,
:x,
:y,
:unk,
:foothold,
:stance,
:duration
]
end