1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-22 05:33:02 +00:00

add netplay feature

This commit is contained in:
Alula 2021-03-12 17:55:20 +01:00
parent ac29d35950
commit 361baeb20d
No known key found for this signature in database
GPG key ID: 3E00485503A1D8BA
2 changed files with 4 additions and 1 deletions

View file

@ -21,12 +21,13 @@ opt-level = 1
opt-level = 1
[features]
default = ["scripting", "backend-sdl", "ogg-playback"]
default = ["scripting", "backend-sdl", "ogg-playback", "netplay"]
ogg-playback = ["lewton"]
backend-sdl = ["sdl2"]
#backend-sokol = ["sokol"]
backend-glutin = ["winit", "glutin"]
scripting = ["lua-ffi"]
netplay = []
editor = []
[dependencies]

View file

@ -47,6 +47,8 @@ mod live_debugger;
mod macros;
mod map;
mod menu;
#[cfg(feature = "netplay")]
mod netplay;
mod npc;
mod physics;
mod player;