diff --git a/content/textures.toml b/content/textures.toml index c2ff824..ee1b947 100644 --- a/content/textures.toml +++ b/content/textures.toml @@ -17,7 +17,7 @@ file = "planet/luna.png" file = "projectile/blaster.png" [texture."ship::gypsum"] -file = "ship/gypsum.png" +file = "ship/gypsum2.png" [texture."ui::radar"] file = "ui/radar.png" diff --git a/crates/content/src/part/texture.rs b/crates/content/src/part/texture.rs index df8541a..79f8749 100644 --- a/crates/content/src/part/texture.rs +++ b/crates/content/src/part/texture.rs @@ -26,7 +26,6 @@ pub(crate) mod syntax { pub file: PathBuf, } - // TODO: loop mode #[derive(Debug, Deserialize)] pub struct FramesTexture { pub frames: Vec, diff --git a/crates/render/src/vertexbuffer/types.rs b/crates/render/src/vertexbuffer/types.rs index fa97add..4b2f18c 100644 --- a/crates/render/src/vertexbuffer/types.rs +++ b/crates/render/src/vertexbuffer/types.rs @@ -208,13 +208,9 @@ pub struct ParticleInstance { /// Rotation matrix for this sprite, in world coordinates pub rotation: [[f32; 2]; 2], - // TODO: docs: particle frames must all have the same size - // TODO: is transparency trimmed? That's not ideal for animated particles! /// The height of this particle, in world units pub size: f32, - // TODO: animated sprites - // TODO: texture aspect ratio /// The time, in seconds, at which this particle was created. /// Time is kept by a variable in the global uniform. pub created: f32, diff --git a/crates/world/src/objects/projectile.rs b/crates/world/src/objects/projectile.rs index cedfa48..58e7a14 100644 --- a/crates/world/src/objects/projectile.rs +++ b/crates/world/src/objects/projectile.rs @@ -11,13 +11,13 @@ use galactica_render::ObjectSprite; /// A single projectile in the world #[derive(Debug)] pub struct ProjectileWorldObject { - /// TODO + /// This projectile's game data pub projectile: object::Projectile, - /// TODO + /// This projectile's rigidbody pub rigid_body: RigidBodyHandle, - /// TODO + /// This projectile's collider pub collider: ColliderHandle, } diff --git a/crates/world/src/objects/ship.rs b/crates/world/src/objects/ship.rs index 52ec6fb..3570601 100644 --- a/crates/world/src/objects/ship.rs +++ b/crates/world/src/objects/ship.rs @@ -28,13 +28,13 @@ impl ShipControls { /// A ship instance in the physics system pub struct ShipWorldObject { - /// TODO + /// This ship's physics handle pub physics_handle: ShipPhysicsHandle, - /// TODO + /// This ship's game data pub ship: object::Ship, - /// TODO + /// This ship's controls pub controls: ShipControls, }