Update Jabo Mode, rename window title, minor tweaks

This commit is contained in:
Llennpie 2021-11-26 17:43:19 -05:00
parent 5879b11b4e
commit dc24f25e76
4 changed files with 5 additions and 5 deletions

View File

@ -336,6 +336,7 @@ namespace MoonInternal {
namespace Moon {
void showAchievement(Achievement* achievement){
return; // here at saturn we dont show achievements
if(cheatsGotEnabled || gCurrDemoInput) return;
if(find_if(entries[gCurrSaveFileNum - 1].begin(), entries[gCurrSaveFileNum - 1].end(), [&cae = achievement] (auto &m) -> bool { return cae->id == m->achievement->id; }) != entries[gCurrSaveFileNum - 1].end()) return;

View File

@ -81,8 +81,8 @@ using namespace std;
SDL_Window* window = nullptr;
ImGuiIO* io = nullptr;
#define SM64_WIDTH 1280
#define SM64_HEIGHT 960
#define SM64_WIDTH 960
#define SM64_HEIGHT 720
// Helper to display a little (?) mark which shows a tooltip when hovered.
static void HelpMarker(const char* desc)

View File

@ -104,8 +104,7 @@ namespace MoonInternal {
}
case SDL_CONTROLLERBUTTONDOWN:
if (ev->cbutton.button == SDL_CONTROLLER_BUTTON_DPAD_UP) {
if (!show_menu_bar)
freeze_camera();
freeze_camera();
}
if (ev->cbutton.button == SDL_CONTROLLER_BUTTON_DPAD_RIGHT) {
//cycle_eye_state(1);

View File

@ -211,7 +211,7 @@ void main_func(char *argv[]) {
# define RAPI_NAME "OpenGL"
# endif
char window_title[96] = "Saturn";
char window_title[96] = "Saturn: Moon Edition";
gfx_init(wm_api, rendering_api, window_title);
wm_api->set_keyboard_callbacks(keyboard_on_key_down, keyboard_on_key_up, keyboard_on_all_keys_up);