diff libmlk-adventure/adventure/state/splashscreen.c @ 282:a15f77eda9a4

adventure: rename functions
author David Demelier <markand@malikania.fr>
date Sun, 20 Dec 2020 11:04:41 +0100
parents cd5bdb995052
children 196264679079
line wrap: on
line diff
--- a/libmlk-adventure/adventure/state/splashscreen.c	Sun Dec 20 10:55:53 2020 +0100
+++ b/libmlk-adventure/adventure/state/splashscreen.c	Sun Dec 20 11:04:41 2020 +0100
@@ -75,7 +75,7 @@
 	self->elapsed += ticks;
 
 	if (self->elapsed >= DELAY)
-		game_switch(mainmenu_state_new(), false);
+		game_switch(state_mainmenu_new(), false);
 }
 
 static void
@@ -100,7 +100,7 @@
 }
 
 struct state *
-splashscreen_state_new(void)
+state_splashscreen_new(void)
 {
 	struct self *self;