Download crates/openwa-core/src/render/mod.rs from nmarshall/wormz-a: direct link, hf CLI and curl.
- Browser
- Download file 1.29 kB
-
https://huggingface.co/nmarshall/wormz-a/resolve/main/crates/openwa-core/src/render/mod.rs
- Command line
-
hf download hf://nmarshall/wormz-a/crates/openwa-core/src/render/mod.rs
-
curl -L -o mod.rs https://huggingface.co/nmarshall/wormz-a/resolve/main/crates/openwa-core/src/render/mod.rs
1.29 kB
| pub mod bungee_trail; | |
| pub mod crosshair_line; | |
| pub mod ddraw; | |
| pub mod display; | |
| pub mod landscape; | |
| pub mod message; | |
| pub mod opengl; | |
| pub mod palette; | |
| pub mod queue; | |
| pub mod queue_dispatch; | |
| pub mod sprite; | |
| pub mod turn_order; | |
| pub use ddraw::CompatRenderer; | |
| pub use display::{ | |
| DisplayBase, DisplayBaseVtable, DisplayGfx, DisplayGfxVtable, DrawScaledSpriteResult, | |
| FastcallResult, FrameCache, FrameCacheEntry, Palette, PaletteVtable, RenderContext, | |
| SpriteCache, | |
| }; | |
| pub use landscape::{DirtyRect, PCLandscape}; | |
| pub use message::{RenderMessage, TypedRenderCmd, COMMAND_TYPE_TYPED}; | |
| pub use opengl::OpenGLState; | |
| pub use queue::RenderQueue; | |
| pub use sprite::{ | |
| KnownSpriteId, ParsedSprite, Sprite, SpriteBank, SpriteFlags, SpriteFrame, SpriteOp, | |
| }; | |
| pub use turn_order::{ | |
| AnimatedItemList, TurnOrderAllianceGroup, TurnOrderTeamEntry, TurnOrderWidget, | |
| }; | |
| /// Render table entry (0x14 = 20 bytes). | |
| /// | |
| /// 14 entries live at DDGame+0x73B0 (stride 0x14). Only the first u32 | |
| /// is zeroed during construction; the rest is uninitialized/unknown. | |
| pub struct RenderEntry { | |
| /// Active/state flag (zeroed on init). | |
| pub active: u32, | |
| /// Unknown data. | |
| pub _unknown: [u8; 16], | |
| } | |
| const _: () = assert!(core::mem::size_of::<RenderEntry>() == 0x14); | |