diff options
| author | iamcheeseman <[hidden email]> | 2026-01-16 14:08:51 -0500 |
|---|---|---|
| committer | iamcheeseman <[hidden email]> | 2026-01-16 14:08:51 -0500 |
| commit | 30a49954e4cb434a1c47503c839feb20558a202b (patch) | |
| tree | d18228602676dbc7cd9790e18444b15a8a2157d3 /src/bullet.odin | |
| parent | 64e3dc9c109f4f76d5d1f65a9082340213985361 (diff) | |
Rename enums to use Ada_Case
Diffstat (limited to 'src/bullet.odin')
| -rw-r--r-- | src/bullet.odin | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bullet.odin b/src/bullet.odin index 9b95bb8..f2e2e47 100644 --- a/src/bullet.odin +++ b/src/bullet.odin @@ -19,9 +19,9 @@ make_bullet :: proc( pos: Vec2, vel: Vec2, lifetime: f32 = 5, - image_id := Image_Id.BULLET, - layers: bit_set[phys.Layer;u16] = {.PLAYER_PROJECTILE}, - mask: bit_set[phys.Layer;u16] = {.DEFAULT}, + image_id := Image_Id.Bullet, + layers: bit_set[phys.Layer;u16] = {.Player_Projectile}, + mask: bit_set[phys.Layer;u16] = {.Default}, ) -> (Entity_Handle, ^Bullet) { sprite: Sprite init_sprite(&sprite, image_id) |
