Make changelog accessible through Info

This commit is contained in:
Agent X 2024-03-02 16:45:35 -05:00
parent 5fc381d616
commit b97b7d47e6
13 changed files with 21 additions and 16 deletions

View file

@ -255,7 +255,6 @@ PAUSE_IN_SINGLEPLAYER = "Pauza v hře s jedním hráčem"
DISABLE_POPUPS = "Vypnout vyskakovací okna" DISABLE_POPUPS = "Vypnout vyskakovací okna"
MENU_OPTIONS = "Nastavení hlavního menu" MENU_OPTIONS = "Nastavení hlavního menu"
INFORMATION = "Informace" INFORMATION = "Informace"
CHANGELOG = "Záznam změn"
DEBUG = "Debug" DEBUG = "Debug"
LANGUAGE = "Jazyk" LANGUAGE = "Jazyk"
COOP_COMPATIBILITY = "Povolit kompatibilitu sm64ex-coop" COOP_COMPATIBILITY = "Povolit kompatibilitu sm64ex-coop"
@ -263,6 +262,7 @@ R_BUTTON = "Tlačítko R - Možnosti"
[INFORMATION] [INFORMATION]
INFORMATION_TITLE = "INFORMACE" INFORMATION_TITLE = "INFORMACE"
CHANGELOG = "Záznam změn"
[CONSOLE] [CONSOLE]
CONSOLE = "ŘÍDICÍ PANEL" CONSOLE = "ŘÍDICÍ PANEL"

View file

@ -255,7 +255,6 @@ PAUSE_IN_SINGLEPLAYER = "Pauzeer in een speler"
DISABLE_POPUPS = "Popups uitzetten" DISABLE_POPUPS = "Popups uitzetten"
MENU_OPTIONS = "Menu Instellingen" MENU_OPTIONS = "Menu Instellingen"
INFORMATION = "Informatie" INFORMATION = "Informatie"
CHANGELOG = "Wijzigingenlogboek"
DEBUG = "Debug" DEBUG = "Debug"
LANGUAGE = "Taal" LANGUAGE = "Taal"
COOP_COMPATIBILITY = "Schakel sm64ex-coop compatibiliteit in" COOP_COMPATIBILITY = "Schakel sm64ex-coop compatibiliteit in"
@ -263,6 +262,7 @@ R_BUTTON = "R-knop - Opties"
[INFORMATION] [INFORMATION]
INFORMATION_TITLE = "INFORMATIE" INFORMATION_TITLE = "INFORMATIE"
CHANGELOG = "Wijzigingenlogboek"
[CONSOLE] [CONSOLE]
CONSOLE = "LOGBOEK" CONSOLE = "LOGBOEK"

View file

@ -255,7 +255,6 @@ PAUSE_IN_SINGLEPLAYER = "Pause In Singleplayer"
DISABLE_POPUPS = "Disable Popups" DISABLE_POPUPS = "Disable Popups"
MENU_OPTIONS = "Menu Options" MENU_OPTIONS = "Menu Options"
INFORMATION = "Info" INFORMATION = "Info"
CHANGELOG = "Changelog"
DEBUG = "Debug" DEBUG = "Debug"
LANGUAGE = "Language" LANGUAGE = "Language"
COOP_COMPATIBILITY = "Enable sm64ex-coop Compatibility" COOP_COMPATIBILITY = "Enable sm64ex-coop Compatibility"
@ -263,6 +262,7 @@ R_BUTTON = "R Button - Options"
[INFORMATION] [INFORMATION]
INFORMATION_TITLE = "INFO" INFORMATION_TITLE = "INFO"
CHANGELOG = "Changelog"
[CONSOLE] [CONSOLE]
CONSOLE = "CONSOLE" CONSOLE = "CONSOLE"

View file

@ -255,7 +255,6 @@ PAUSE_IN_SINGLEPLAYER = "Pause en Solo"
DISABLE_POPUPS = "Désactiver les Pop-ups" DISABLE_POPUPS = "Désactiver les Pop-ups"
MENU_OPTIONS = "Options du menu" MENU_OPTIONS = "Options du menu"
INFORMATION = "Information" INFORMATION = "Information"
CHANGELOG = "Journal des modifications"
DEBUG = "Débogage" DEBUG = "Débogage"
LANGUAGE = "Langue" LANGUAGE = "Langue"
COOP_COMPATIBILITY = "Activer la compatibilité sm64ex-coop" COOP_COMPATIBILITY = "Activer la compatibilité sm64ex-coop"
@ -263,6 +262,7 @@ R_BUTTON = "Bouton R - Options"
[INFORMATION] [INFORMATION]
INFORMATION_TITLE = "INFORMATION" INFORMATION_TITLE = "INFORMATION"
CHANGELOG = "Journal des modifications"
[CONSOLE] [CONSOLE]
CONSOLE = "CONSOLE" CONSOLE = "CONSOLE"

View file

@ -255,7 +255,6 @@ PAUSE_IN_SINGLEPLAYER = "Pause im Einzelspieler"
DISABLE_POPUPS = "Pop-ups deaktivieren" DISABLE_POPUPS = "Pop-ups deaktivieren"
MENU_OPTIONS = "Menüoptionen" MENU_OPTIONS = "Menüoptionen"
INFORMATION = "Information" INFORMATION = "Information"
CHANGELOG = "Änderungsprotokoll"
DEBUG = "Debug" DEBUG = "Debug"
LANGUAGE = "Sprache" LANGUAGE = "Sprache"
COOP_COMPATIBILITY = "Aktiviere sm64ex-coop-Kompatibilität" COOP_COMPATIBILITY = "Aktiviere sm64ex-coop-Kompatibilität"
@ -263,6 +262,7 @@ R_BUTTON = "R-Taste - Optionen"
[INFORMATION] [INFORMATION]
INFORMATION_TITLE = "INFORMATION" INFORMATION_TITLE = "INFORMATION"
CHANGELOG = "Änderungsprotokoll"
[CONSOLE] [CONSOLE]
CONSOLE = "KONSOLE" CONSOLE = "KONSOLE"

View file

@ -253,7 +253,6 @@ PAUSE_IN_SINGLEPLAYER = "Metti in pausa in giocatore singolo"
DISABLE_POPUPS = "Disabilita Popups" DISABLE_POPUPS = "Disabilita Popups"
MENU_OPTIONS = "Opzioni Menù" MENU_OPTIONS = "Opzioni Menù"
INFORMATION = "Informazione" INFORMATION = "Informazione"
CHANGELOG = "Registro delle modifiche"
DEBUG = "Debug" DEBUG = "Debug"
LANGUAGE = "Lingua" LANGUAGE = "Lingua"
COOP_COMPATIBILITY = "Abilita la compatibilità sm64ex-coop" COOP_COMPATIBILITY = "Abilita la compatibilità sm64ex-coop"
@ -261,6 +260,7 @@ R_BUTTON = "Pulsante R - Opzioni"
[INFORMATION] [INFORMATION]
INFORMATION_TITLE = "INFORMAZIONE" INFORMATION_TITLE = "INFORMAZIONE"
CHANGELOG = "Registro delle modifiche"
[CONSOLE] [CONSOLE]
CONSOLE = "CONSOLE" CONSOLE = "CONSOLE"

View file

@ -255,7 +255,6 @@ PAUSE_IN_SINGLEPLAYER = "Pauza w Trybie Pojedynczego Gracza"
DISABLE_POPUPS = "Wylacz Popupy" DISABLE_POPUPS = "Wylacz Popupy"
MENU_OPTIONS = "Opcje Menu" MENU_OPTIONS = "Opcje Menu"
INFORMATION = "Info" INFORMATION = "Info"
CHANGELOG = "Rejestr zmian"
DEBUG = "Debugowanie" DEBUG = "Debugowanie"
LANGUAGE = "Jezyk" LANGUAGE = "Jezyk"
COOP_COMPATIBILITY = "Włącz kompatybilność sm64ex-coop" COOP_COMPATIBILITY = "Włącz kompatybilność sm64ex-coop"
@ -263,6 +262,7 @@ R_BUTTON = "Przycisk R - Opcje"
[INFORMATION] [INFORMATION]
INFORMATION_TITLE = "INFO" INFORMATION_TITLE = "INFO"
CHANGELOG = "Rejestr zmian"
[CONSOLE] [CONSOLE]
CONSOLE = "KONSOLA" CONSOLE = "KONSOLA"

View file

@ -262,6 +262,7 @@ R_BUTTON = "Botão R - Opções"
[INFORMATION] [INFORMATION]
INFORMATION_TITLE = "INFORMAÇÃO" INFORMATION_TITLE = "INFORMAÇÃO"
CHANGELOG = "Registo de alterações"
[CONSOLE] [CONSOLE]
CONSOLE = "CONSOLE" CONSOLE = "CONSOLE"
@ -389,3 +390,6 @@ REFRESHING = "Recarregando..."
ENTER_PASSWORD = "Coloque a senha da partida privada:" ENTER_PASSWORD = "Coloque a senha da partida privada:"
SEARCH = "Pesquisar" SEARCH = "Pesquisar"
NONE_FOUND = "Nenhuma partida foi encontrada." NONE_FOUND = "Nenhuma partida foi encontrada."
[CHANGELOG]
CHANGELOG_TITLE = "ALTERAÇÕES"

View file

@ -254,7 +254,6 @@ PAUSE_IN_SINGLEPLAYER = "Пауза в одиночной игре"
DISABLE_POPUPS = "Отключить всплывающие окна" DISABLE_POPUPS = "Отключить всплывающие окна"
MENU_OPTIONS = "Параметры меню" MENU_OPTIONS = "Параметры меню"
INFORMATION = "Информация" INFORMATION = "Информация"
CHANGELOG = "Журнал изменений"
DEBUG = "Отладка" DEBUG = "Отладка"
LANGUAGE = "Язык" LANGUAGE = "Язык"
COOP_COMPATIBILITY = "Включить совместимость sm64ex-coop" COOP_COMPATIBILITY = "Включить совместимость sm64ex-coop"
@ -262,6 +261,7 @@ R_BUTTON = "Кнопка R - Опции"
[INFORMATION] [INFORMATION]
INFORMATION_TITLE = "INFORMATION" INFORMATION_TITLE = "INFORMATION"
CHANGELOG = "Журнал изменений"
[CONSOLE] [CONSOLE]
CONSOLE = "Пульт" CONSOLE = "Пульт"

View file

@ -255,7 +255,6 @@ PAUSE_IN_SINGLEPLAYER = "Pausa en modo de un jugador"
DISABLE_POPUPS = "Deshabilitar mensajes emergentes" DISABLE_POPUPS = "Deshabilitar mensajes emergentes"
MENU_OPTIONS = "Opciones del menú" MENU_OPTIONS = "Opciones del menú"
INFORMATION = "Información" INFORMATION = "Información"
CHANGELOG = "Registro de cambios"
DEBUG = "Depuración" DEBUG = "Depuración"
LANGUAGE = "Idioma" LANGUAGE = "Idioma"
COOP_COMPATIBILITY = "Habilitar la compatibilidad de sm64ex-coop" COOP_COMPATIBILITY = "Habilitar la compatibilidad de sm64ex-coop"
@ -263,6 +262,7 @@ R_BUTTON = "Botón R - Opciones"
[INFORMATION] [INFORMATION]
INFORMATION_TITLE = "INFORMACIÓN" INFORMATION_TITLE = "INFORMACIÓN"
CHANGELOG = "Registro de cambios"
[CONSOLE] [CONSOLE]
CONSOLE = "CONSOLA" CONSOLE = "CONSOLA"

View file

@ -48,7 +48,7 @@ Removed Sex in Minecraft (Agent X)"
djui_paginated_calculate_height(paginated); djui_paginated_calculate_height(paginated);
djui_button_create(body, "OK", DJUI_BUTTON_STYLE_BACK, djui_panel_menu_back); djui_button_create(body, DLANG(MENU, BACK), DJUI_BUTTON_STYLE_BACK, djui_panel_menu_back);
} }
djui_panel_add(caller, panel, NULL); djui_panel_add(caller, panel, NULL);

View file

@ -1,6 +1,7 @@
#include "djui.h" #include "djui.h"
#include "djui_panel.h" #include "djui_panel.h"
#include "djui_panel_menu.h" #include "djui_panel_menu.h"
#include "djui_panel_changelog.h"
#include "pc/lua/utils/smlua_misc_utils.h" #include "pc/lua/utils/smlua_misc_utils.h"
static char sInfo[1024]; static char sInfo[1024];
@ -22,7 +23,6 @@ Agent X: Creator\n\
AngelicMiracles: Co-Creator\n\ AngelicMiracles: Co-Creator\n\
eros71: Tester & Developer\n\ eros71: Tester & Developer\n\
FluffaMario: Model Designer\n\ FluffaMario: Model Designer\n\
\n\
Contributors:\n\ Contributors:\n\
mike_dobukai: Logo\n\ mike_dobukai: Logo\n\
Pup64HCP: Website\n\ Pup64HCP: Website\n\
@ -32,12 +32,15 @@ Mr. Porkchop: New aliased font"
struct DjuiText* text = djui_text_create(body, sInfo); struct DjuiText* text = djui_text_create(body, sInfo);
djui_base_set_location(&text->base, 0, 0); djui_base_set_location(&text->base, 0, 0);
djui_base_set_size(&text->base, (DJUI_DEFAULT_PANEL_WIDTH * (configDjuiThemeCenter ? DJUI_THEME_CENTERED_WIDTH : 1)) - 64, 497); djui_base_set_size(&text->base, (DJUI_DEFAULT_PANEL_WIDTH * (configDjuiThemeCenter ? DJUI_THEME_CENTERED_WIDTH : 1)) - 64, 480);
djui_base_set_color(&text->base, 220, 220, 220, 255); djui_base_set_color(&text->base, 220, 220, 220, 255);
djui_text_set_drop_shadow(text, 64, 64, 64, 100); djui_text_set_drop_shadow(text, 64, 64, 64, 100);
djui_text_set_alignment(text, DJUI_HALIGN_CENTER, DJUI_VALIGN_TOP); djui_text_set_alignment(text, DJUI_HALIGN_CENTER, DJUI_VALIGN_TOP);
struct DjuiRect* rect1 = djui_rect_container_create(body, 64);
djui_button_create(body, DLANG(MENU, BACK), DJUI_BUTTON_STYLE_BACK, djui_panel_menu_back); {
djui_button_left_create(&rect1->base, DLANG(MENU, BACK), DJUI_BUTTON_STYLE_BACK, djui_panel_menu_back);
djui_button_right_create(&rect1->base, DLANG(INFORMATION, CHANGELOG), DJUI_BUTTON_STYLE_NORMAL, djui_panel_changelog_create);
}
} }
djui_panel_add(caller, panel, NULL); djui_panel_add(caller, panel, NULL);

View file

@ -5,7 +5,6 @@
#include "djui_panel_options.h" #include "djui_panel_options.h"
#include "djui_panel_language.h" #include "djui_panel_language.h"
#include "djui_panel_info.h" #include "djui_panel_info.h"
#include "djui_panel_changelog.h"
#include "pc/utils/misc.h" #include "pc/utils/misc.h"
#include "pc/configfile.h" #include "pc/configfile.h"
#include "game/hardcoded.h" #include "game/hardcoded.h"
@ -57,7 +56,6 @@ void djui_panel_misc_create(struct DjuiBase* caller) {
djui_button_create(body, DLANG(MISC, LANGUAGE), DJUI_BUTTON_STYLE_NORMAL, djui_panel_language_create); djui_button_create(body, DLANG(MISC, LANGUAGE), DJUI_BUTTON_STYLE_NORMAL, djui_panel_language_create);
djui_button_create(body, DLANG(MISC, MENU_OPTIONS), DJUI_BUTTON_STYLE_NORMAL, djui_panel_main_menu_create); djui_button_create(body, DLANG(MISC, MENU_OPTIONS), DJUI_BUTTON_STYLE_NORMAL, djui_panel_main_menu_create);
djui_button_create(body, DLANG(MISC, INFORMATION), DJUI_BUTTON_STYLE_NORMAL, djui_panel_info_create); djui_button_create(body, DLANG(MISC, INFORMATION), DJUI_BUTTON_STYLE_NORMAL, djui_panel_info_create);
djui_button_create(body, DLANG(MISC, CHANGELOG), DJUI_BUTTON_STYLE_NORMAL, djui_panel_changelog_create);
#ifdef DEVELOPMENT #ifdef DEVELOPMENT
djui_button_create(body, DLANG(MISC, DEBUG), DJUI_BUTTON_STYLE_NORMAL, djui_panel_options_debug_create); djui_button_create(body, DLANG(MISC, DEBUG), DJUI_BUTTON_STYLE_NORMAL, djui_panel_options_debug_create);
#endif #endif