mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-25 23:12:56 +00:00
add netplay feature
This commit is contained in:
parent
ac29d35950
commit
361baeb20d
|
@ -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]
|
||||
|
|
|
@ -47,6 +47,8 @@ mod live_debugger;
|
|||
mod macros;
|
||||
mod map;
|
||||
mod menu;
|
||||
#[cfg(feature = "netplay")]
|
||||
mod netplay;
|
||||
mod npc;
|
||||
mod physics;
|
||||
mod player;
|
||||
|
|
Loading…
Reference in a new issue