forked from StrafesNET/roblox-bot-player
hardcode everything
This commit is contained in:
@@ -202,7 +202,11 @@ impl WindowContext<'_>{
|
||||
//WindowContextSetup::into_context
|
||||
let screen_size=glam::uvec2(setup_context.config.width,setup_context.config.height);
|
||||
graphics.resize(&setup_context.device,&setup_context.config,glam::Vec2::ONE);
|
||||
let graphics_thread=crate::graphics::GraphicsWorker::new(graphics,setup_context.config,setup_context.surface,setup_context.device,setup_context.queue);
|
||||
let bot=include_bytes!("../../web-demo/bhop_marble_7cf33a64-7120-4514-b9fa-4fe29d9523d.qbot");
|
||||
let map=include_bytes!("../../web-demo/bhop_marble_5692093612.snfm");
|
||||
let graphics=strafesnet_roblox_bot_player::graphics::Graphics::new(map).unwrap();
|
||||
let bot=strafesnet_roblox_bot_player::bot::Bot::new(bot).unwrap();
|
||||
let graphics_thread=crate::graphics::GraphicsWorker::new(graphics);//,setup_context.config,setup_context.surface,setup_context.device,setup_context.queue);
|
||||
WindowContext{
|
||||
manual_mouse_lock:false,
|
||||
mouse_pos:glam::DVec2::ZERO,
|
||||
@@ -211,6 +215,7 @@ impl WindowContext<'_>{
|
||||
screen_size,
|
||||
window,
|
||||
physics_thread:crate::player::PlayerWorker::new(
|
||||
bot,
|
||||
graphics_thread,
|
||||
),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user