mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-22 13:42:47 +00:00
add netplay feature
This commit is contained in:
parent
ac29d35950
commit
361baeb20d
|
@ -21,12 +21,13 @@ opt-level = 1
|
||||||
opt-level = 1
|
opt-level = 1
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["scripting", "backend-sdl", "ogg-playback"]
|
default = ["scripting", "backend-sdl", "ogg-playback", "netplay"]
|
||||||
ogg-playback = ["lewton"]
|
ogg-playback = ["lewton"]
|
||||||
backend-sdl = ["sdl2"]
|
backend-sdl = ["sdl2"]
|
||||||
#backend-sokol = ["sokol"]
|
#backend-sokol = ["sokol"]
|
||||||
backend-glutin = ["winit", "glutin"]
|
backend-glutin = ["winit", "glutin"]
|
||||||
scripting = ["lua-ffi"]
|
scripting = ["lua-ffi"]
|
||||||
|
netplay = []
|
||||||
editor = []
|
editor = []
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
|
@ -47,6 +47,8 @@ mod live_debugger;
|
||||||
mod macros;
|
mod macros;
|
||||||
mod map;
|
mod map;
|
||||||
mod menu;
|
mod menu;
|
||||||
|
#[cfg(feature = "netplay")]
|
||||||
|
mod netplay;
|
||||||
mod npc;
|
mod npc;
|
||||||
mod physics;
|
mod physics;
|
||||||
mod player;
|
mod player;
|
||||||
|
|
Loading…
Reference in a new issue