snf: demo file brainstorming
This commit is contained in:
parent
1318ae20ca
commit
63fbc94287
@ -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<R:BinReaderExt>{
|
||||
map:Box<crate::map::StreamableMap<R>>,
|
||||
map:Vec<crate::map::StreamableMap<R>>,
|
||||
bots:Vec<crate::bot::StreamableBot<R>>,
|
||||
}
|
||||
impl<R:BinReaderExt> StreamableDemo<R>{
|
||||
|
Loading…
Reference in New Issue
Block a user