added being able to create a host on the game server now need to work on joining that game

This commit is contained in:
2026-02-06 16:36:13 -06:00
parent 468ab94aa7
commit b2fa3052f3
23 changed files with 432 additions and 326 deletions

3
host.c
View File

@@ -118,7 +118,7 @@ char *get_this_name(int i)
{
if(!lobby_has_name) {
if(i == -1){return host.lobby_name; }
if(i == -1){ return host.lobby_name; }
if(i == 0) { return host.lobby_name_perm; }
}
else{
@@ -217,6 +217,7 @@ void render_main()
else if(SDL_PointInRect(&mouse_pos, &host.set_name_rect)){
over_object = SET_NAME_BUTTON;
}
else {over_object = NO_OBJECT; }
if(lobby_has_name){ render_lobby(); }
else{ render_lobby_name(); }