fix: styling
This commit is contained in:
+4
-4
@@ -1,11 +1,11 @@
|
||||
startView = 1 ; LOGO = 0, MENU = 1, GAMEPLAY = 2, SETTINGS = 3
|
||||
|
||||
window_title = The Last Pirate
|
||||
window_width = 1280 ; in Pixel
|
||||
window_height = 720 ; in Pixel
|
||||
windowTitle = The Last Pirate
|
||||
windowWidth = 1280 ; in Pixel
|
||||
windowHeight = 720 ; in Pixel
|
||||
|
||||
showFPS = 0 ; OFF = 0, ON = 1
|
||||
limitFPS = 1 ; OFF = 0, ON = 1
|
||||
soundtrackOn = 1 ; OFF = 0, ON = 1
|
||||
|
||||
font_path = assets/SproutLandsUI/fonts/pixelFont-7-8x14-sproutLands.fnt
|
||||
fontPath = assets/font.fnt
|
||||
|
||||
@@ -8,13 +8,13 @@ void ConfigApp(App* app){
|
||||
app->flags.showFPS = GetConfigInt(&app->config, "showFPS");
|
||||
app->flags.limitFPS = GetConfigInt(&app->config, "limitFPS");
|
||||
app->flags.soundtrackOn = GetConfigInt(&app->config, "soundtrackOn");
|
||||
app->window.title = GetConfigString(&app->config, "window_title");
|
||||
app->window.width = GetConfigInt(&app->config, "window_width");
|
||||
app->window.height = GetConfigInt(&app->config, "window_height");
|
||||
app->window.title = GetConfigString(&app->config, "windowTitle");
|
||||
app->window.width = GetConfigInt(&app->config, "windowWidth");
|
||||
app->window.height = GetConfigInt(&app->config, "windowHeight");
|
||||
}
|
||||
|
||||
void InitApp(App *app){
|
||||
InitFont(&app->font, "assets/font.fnt");
|
||||
InitFont(&app->font, GetConfigString(&app->config, "fontPath"));
|
||||
InitLogo(&app->logo);
|
||||
InitMenu(&app->menu);
|
||||
InitGame(app);
|
||||
|
||||
Reference in New Issue
Block a user