Compare commits
10 Commits
02be2d6f98
...
4e01841693
Author | SHA1 | Date |
---|---|---|
Agent X | 4e01841693 | |
ThePlayerRolo | b18af26c61 | |
Agent X | 9bd8b7f017 | |
Agent X | 044413653e | |
Agent X | a4ed5ddb53 | |
Agent X | dad54c3dd3 | |
Agent X | e6edb61dfb | |
Agent X | 4a971580ea | |
Agent X | d9512a392a | |
Agent X | c94990f743 |
|
@ -12557,13 +12557,10 @@ SPTASK_STATE_FINISHED_DP = 4
|
|||
MAX_VERSION_LENGTH = 32
|
||||
|
||||
--- @type integer
|
||||
MINOR_VERSION_NUMBER = 1
|
||||
|
||||
--- @type integer
|
||||
PATCH_VERSION_NUMBER = 0
|
||||
MINOR_VERSION_NUMBER = 2
|
||||
|
||||
--- @type string
|
||||
SM64COOPDX_VERSION = "v1.0.1"
|
||||
SM64COOPDX_VERSION = "v1.0.3"
|
||||
|
||||
--- @type integer
|
||||
VERSION_NUMBER = 37
|
||||
|
|
|
@ -4463,7 +4463,6 @@
|
|||
## [version.h](#version.h)
|
||||
- MAX_VERSION_LENGTH
|
||||
- MINOR_VERSION_NUMBER
|
||||
- PATCH_VERSION_NUMBER
|
||||
- SM64COOPDX_VERSION
|
||||
- VERSION_NUMBER
|
||||
- VERSION_REGION
|
||||
|
|
|
@ -1156,7 +1156,7 @@ static s32 obj_is_in_view(struct GraphNodeObject *node, Mat4 matrix) {
|
|||
// visibly pop in or out at the edge of the screen.
|
||||
//
|
||||
// Half of the fov in in-game angle units instead of degrees.
|
||||
s16 halfFov = (get_first_person_enabled() ? gFirstPersonCamera.fov : not_zero(gCurGraphNodeCamFrustum->fov, gOverrideFOV) / 2.0f + 1.0f) * 32768.0f / 180.0f + 0.5f;
|
||||
s16 halfFov = ((get_first_person_enabled() ? gFirstPersonCamera.fov : not_zero(gCurGraphNodeCamFrustum->fov, gOverrideFOV)) / 2.0f + 1.0f) * 32768.0f / 180.0f + 0.5f;
|
||||
|
||||
f32 divisor = coss(halfFov);
|
||||
if (divisor == 0) { divisor = 1; }
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "pc_main.h"
|
||||
#include "platform.h"
|
||||
#include "configfile.h"
|
||||
#include "cliopts.h"
|
||||
|
@ -57,8 +56,6 @@ struct FunctionConfigOption {
|
|||
/*
|
||||
*Config options and default values
|
||||
*/
|
||||
|
||||
static_assert(NUM_SAVE_FILES == 4); // update this if more save slots are added
|
||||
char configSaveNames[4][MAX_SAVE_NAME_STRING] = {
|
||||
"SM64",
|
||||
"SM64",
|
||||
|
@ -684,8 +681,6 @@ NEXT_OPTION:
|
|||
|
||||
fs_close(file);
|
||||
|
||||
if ((int)configWindow.msaa > WAPI.get_max_msaa()) { configWindow.msaa = WAPI.get_max_msaa(); }
|
||||
|
||||
if (configFrameLimit < 30) { configFrameLimit = 30; }
|
||||
if (configFrameLimit > 3000) { configFrameLimit = 3000; }
|
||||
|
||||
|
|
|
@ -47,11 +47,10 @@ void djui_panel_host_message_do_host(UNUSED struct DjuiBase* caller) {
|
|||
}
|
||||
|
||||
void djui_panel_host_message_create(struct DjuiBase* caller) {
|
||||
f32 warningLines = 0;
|
||||
char* warningMessage = NULL;
|
||||
bool hideHostButton = false;
|
||||
|
||||
warningLines = 7;
|
||||
f32 warningLines = 8;
|
||||
warningMessage = calloc(512, sizeof(char));
|
||||
snprintf(warningMessage, 512, DLANG(HOST_MESSAGE, WARN_SOCKET), configHostPort);
|
||||
|
||||
|
|
|
@ -87,7 +87,9 @@ static void djui_panel_mod_menu_mod_create_element(struct DjuiBase* parent, int
|
|||
}
|
||||
break;
|
||||
}
|
||||
case MOD_MENU_ELEMENT_MAX:
|
||||
case MOD_MENU_ELEMENT_MAX: {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4397,11 +4397,10 @@ char gSmluaConstants[] = ""
|
|||
"COOP_OBJ_FLAG_LUA = (1 << 1)\n"
|
||||
"COOP_OBJ_FLAG_NON_SYNC = (1 << 2)\n"
|
||||
"COOP_OBJ_FLAG_INITIALIZED = (1 << 3)\n"
|
||||
"SM64COOPDX_VERSION = 'v1.0.1'\n"
|
||||
"SM64COOPDX_VERSION = 'v1.0.3'\n"
|
||||
"VERSION_TEXT = 'v'\n"
|
||||
"VERSION_NUMBER = 37\n"
|
||||
"MINOR_VERSION_NUMBER = 1\n"
|
||||
"PATCH_VERSION_NUMBER = 0\n"
|
||||
"MINOR_VERSION_NUMBER = 2\n"
|
||||
"VERSION_REGION = 'JP'\n"
|
||||
"VERSION_REGION = 'EU'\n"
|
||||
"VERSION_REGION = 'SH'\n"
|
||||
|
|
|
@ -96,7 +96,7 @@ C_FIELD bool mod_storage_save_number(const char* key, f32 value) {
|
|||
// this assumes mod_storage_load will only ever be called by Lua
|
||||
static char str[MAX_KEY_VALUE_LENGTH];
|
||||
if (floor(value) == value) {
|
||||
snprintf(str, MAX_KEY_VALUE_LENGTH, "%d", (s64)value);
|
||||
snprintf(str, MAX_KEY_VALUE_LENGTH, "%lld", (s64)value);
|
||||
} else {
|
||||
snprintf(str, MAX_KEY_VALUE_LENGTH, "%f", value);
|
||||
}
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
#ifndef VERSION_H
|
||||
#define VERSION_H
|
||||
|
||||
#define SM64COOPDX_VERSION "v1.0.1"
|
||||
#define SM64COOPDX_VERSION "v1.0.3"
|
||||
|
||||
// internal version
|
||||
#define VERSION_TEXT "v"
|
||||
#define VERSION_NUMBER 37
|
||||
#define MINOR_VERSION_NUMBER 1
|
||||
#define PATCH_VERSION_NUMBER 0
|
||||
#define MINOR_VERSION_NUMBER 2
|
||||
|
||||
#if defined(VERSION_JP)
|
||||
#define VERSION_REGION "JP"
|
||||
|
|
Loading…
Reference in New Issue