Merge branch 'unstable' of github.com:sm64ex-coop-dev/sm64ex-coop into unstable
This commit is contained in:
commit
7aab487adb
17
Makefile
17
Makefile
|
@ -58,6 +58,9 @@ DISCORD_SDK ?= 1
|
||||||
# Enable docker build workarounds
|
# Enable docker build workarounds
|
||||||
DOCKERBUILD ?= 0
|
DOCKERBUILD ?= 0
|
||||||
|
|
||||||
|
# Should It compile with windows Icon
|
||||||
|
ICON ?= 1
|
||||||
|
|
||||||
# Various workarounds for weird toolchains
|
# Various workarounds for weird toolchains
|
||||||
|
|
||||||
NO_BZERO_BCOPY ?= 0
|
NO_BZERO_BCOPY ?= 0
|
||||||
|
@ -829,6 +832,20 @@ else
|
||||||
# endif
|
# endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
#icon
|
||||||
|
ifeq ($(WINDOWS_BUILD),1)
|
||||||
|
ifeq ($(ICON),1)
|
||||||
|
|
||||||
|
Command := mkdir $(BUILD_DIR)/res
|
||||||
|
Reponce := $(shell $(call Command))
|
||||||
|
|
||||||
|
Command := windres -o $(BUILD_DIR)/res/icon.o -i res/icon.rc
|
||||||
|
Reponce := $(shell $(call Command))
|
||||||
|
|
||||||
|
LDFLAGS += $(BUILD_DIR)/res/icon.o
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# Coop specific libraries
|
# Coop specific libraries
|
||||||
|
|
||||||
# Lua
|
# Lua
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 401 KiB |
|
@ -0,0 +1 @@
|
||||||
|
id ICON res/icon.ico
|
|
@ -1529,6 +1529,12 @@ void update_mario_inputs(struct MarioState *m) {
|
||||||
#endif
|
#endif
|
||||||
/* End of developer stuff */
|
/* End of developer stuff */
|
||||||
|
|
||||||
|
if ((m->action == ACT_END_PEACH_CUTSCENE || m->action == ACT_CREDITS_CUTSCENE) && m->controller->buttonPressed & START_BUTTON) {
|
||||||
|
gCurrActStarNum = 0;
|
||||||
|
gCurrActNum = 0;
|
||||||
|
gChangeLevel = 16;
|
||||||
|
}
|
||||||
|
|
||||||
if (m->playerIndex == 0) {
|
if (m->playerIndex == 0) {
|
||||||
if (!localIsPaused && gCameraMovementFlags & CAM_MOVE_C_UP_MODE) {
|
if (!localIsPaused && gCameraMovementFlags & CAM_MOVE_C_UP_MODE) {
|
||||||
if (m->action & ACT_FLAG_ALLOW_FIRST_PERSON) {
|
if (m->action & ACT_FLAG_ALLOW_FIRST_PERSON) {
|
||||||
|
|
Loading…
Reference in New Issue