diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-15 15:00:27 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-15 15:00:27 +0200 |
commit | 340aa47c4652fe2f0ec5b0e4f293cfff407a0e6c (patch) | |
tree | 1d0aad02c54a223b092eb74d065dfbc68cba56f6 /light-client/src/main.rs | |
parent | d3101bbfd9adf84ef8f0061383272eeaecf224d3 (diff) | |
download | hurrycurry-340aa47c4652fe2f0ec5b0e4f293cfff407a0e6c.tar hurrycurry-340aa47c4652fe2f0ec5b0e4f293cfff407a0e6c.tar.bz2 hurrycurry-340aa47c4652fe2f0ec5b0e4f293cfff407a0e6c.tar.zst |
add texture import/export system for light client
Diffstat (limited to 'light-client/src/main.rs')
-rw-r--r-- | light-client/src/main.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/light-client/src/main.rs b/light-client/src/main.rs index 03c2fd76..85254ef4 100644 --- a/light-client/src/main.rs +++ b/light-client/src/main.rs @@ -1,3 +1,4 @@ +use network::Network; /* Hurry Curry! - a game about cooking Copyright 2024 metamuffin @@ -24,8 +25,11 @@ use sdl2::{ }; pub mod network; +pub mod game; fn main() { + let net = Network::connect("ws://127.0.0.1:27032/"); + let sdl_context = sdl2::init().unwrap(); let video_subsystem = sdl_context.video().unwrap(); let _image_context = sdl2::image::init(InitFlag::WEBP).unwrap(); |