rust/hedgewars-server/src/server.rs
author sheepluva
Mon, 05 Aug 2019 00:20:45 +0200
changeset 15316 f382ec6dba11
parent 15096 e935b1ad23f3
child 15569 863059f61793
permissions -rw-r--r--
In hindsight my emscripten-ifdef (70d416a8f63f) is nonsense. As fpcrtl_glShaderSource() would not be defined and lead to compiling issues. So either it's 3 ifdefs (in pas2cRedo, pas2cSystem and misc.c), in order to toggle between fpcrtl_ and the native function, or alternatively have no ifdef for it at all. I'm going with none at all, which means emscripten will compile with the original (const) function prototype, being wrapped by the fpcrtl_ function, same as non-emscripten builds.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14477
a077aac9df01 Start database interaction implementation
unc0rr
parents: 14436
diff changeset
     1
#[cfg(feature = "official-server")]
a077aac9df01 Start database interaction implementation
unc0rr
parents: 14436
diff changeset
     2
mod database;
14800
f43ab2bd76ae add a thread for internal server IO and implement account checking with it
alfadur
parents: 14713
diff changeset
     3
#[cfg(feature = "official-server")]
14478
98ef2913ec73 Apply rustfmt to all files
unc0rr
parents: 14477
diff changeset
     4
pub mod io;
15096
e935b1ad23f3 normalize type names
alfadur
parents: 15095
diff changeset
     5
pub mod network;