there is now a player character and the world renders using a cammera
This commit is contained in:
@@ -18,12 +18,17 @@ int main() {
|
||||
ServerConfig conf = {
|
||||
.id = 123,
|
||||
.port = 2222,
|
||||
.threadCount = 0,
|
||||
.cbs = (ServerLoopCallbacks){
|
||||
.ssh_init = client_init,
|
||||
.ssh_stop = client_stop,
|
||||
.ssh_run = client_update,
|
||||
.ssh_resize = client_resize,
|
||||
}
|
||||
};
|
||||
for(int i = 0; i < 12; i++) {
|
||||
conf.clients[i] = 0;
|
||||
}
|
||||
ssh_start(&conf);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user