~starkingdoms/starkingdoms

ref: aa2aadee626d8d90bc9fb67699cda2a588a6a992 starkingdoms/starkingdoms-client/src/native/mod.rs -rw-r--r-- 379 bytes
aa2aadee — core switch to matricies for sprite positioning 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
/// --- IMPORTANT: THIS IS A DUAL TARGET CRATE ---
/// THIS WILL ONLY EXECUTE ON NATIVE
/// DO ONLY PLATFORM SPECIFIC INITIALIZATION HERE
/// FOR ACTUAL PROGRAM LOGIC, EDIT `crate::start`
/// DO NOT RENAME
pub fn entrypoint() {
    tracing_subscriber::fmt::init();

    // All done with platform-specific initialization, call back into the common code path
    crate::start();
}