1
0
Fork 0
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:
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 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]

View file

@ -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;