From 63fbc9428703d51faccadd151dc7e34f5d6f51fb Mon Sep 17 00:00:00 2001 From: Quaternions Date: Mon, 6 Jan 2025 23:14:04 -0800 Subject: [PATCH] snf: demo file brainstorming --- lib/snf/src/demo.rs | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/lib/snf/src/demo.rs b/lib/snf/src/demo.rs index 119290a..3c870e8 100644 --- a/lib/snf/src/demo.rs +++ b/lib/snf/src/demo.rs @@ -7,21 +7,29 @@ pub enum Error{ /* BLOCK_DEMO_HEADER: -u128 map_resource_id -u64 map_header_block_id +u32 num_maps +for map_id in 0..num_maps{ + i64 simulation_time + u128 map_resource_id + u64 map_header_block_id +} u32 num_bots for bot_id in 0..num_bots{ + i64 simulation_time u128 bot_resource_id u64 bot_header_block_id } +//map loading timeline + //bot loading timeline how to do worldstate for deathrun!? +- this is done in the client, there is no worldstate in the demo file */ pub struct StreamableDemo{ - map:Box>, + map:Vec>, bots:Vec>, } impl StreamableDemo{