mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 20:15:17 +00:00
Merge branch 'unstable' of github.com:djoslin0/sm64ex-coop into unstable
This commit is contained in:
commit
32d62272b4
3 changed files with 22 additions and 6 deletions
|
@ -95,8 +95,13 @@ struct PlayerColor gPlayerColors[] = {
|
||||||
// fake wario
|
// fake wario
|
||||||
DEFINE_PLAYER_COLOR(0xf9, 0xeb, 0x30, /**/ 0x7f, 0x20, 0x7a),
|
DEFINE_PLAYER_COLOR(0xf9, 0xeb, 0x30, /**/ 0x7f, 0x20, 0x7a),
|
||||||
|
|
||||||
|
DEFINE_PLAYER_COLOR(0x7b, 0x00, 0xde, /**/ 0xff, 0x00, 0x00),
|
||||||
|
DEFINE_PLAYER_COLOR(0x95, 0x43, 0x01, /**/ 0xc6, 0xb1, 0x32),
|
||||||
|
DEFINE_PLAYER_COLOR(0x4c, 0x5f, 0x20, /**/ 0x07, 0x09, 0x07),
|
||||||
DEFINE_PLAYER_COLOR(0x00, 0x2f, 0xc8, /**/ 0xbf, 0xde, 0xff),
|
DEFINE_PLAYER_COLOR(0x00, 0x2f, 0xc8, /**/ 0xbf, 0xde, 0xff),
|
||||||
|
DEFINE_PLAYER_COLOR(0x11, 0x11, 0x11, /**/ 0xf8, 0x3b, 0x05),
|
||||||
DEFINE_PLAYER_COLOR(0xc1, 0x2c, 0x72, /**/ 0x34, 0x16, 0x0d),
|
DEFINE_PLAYER_COLOR(0xc1, 0x2c, 0x72, /**/ 0x34, 0x16, 0x0d),
|
||||||
|
DEFINE_PLAYER_COLOR(0xff, 0x96, 0xc8, /**/ 0xff, 0x00, 0x00),
|
||||||
DEFINE_PLAYER_COLOR(0x4c, 0xff, 0x4c, /**/ 0x81, 0x00, 0x00),
|
DEFINE_PLAYER_COLOR(0x4c, 0xff, 0x4c, /**/ 0x81, 0x00, 0x00),
|
||||||
DEFINE_PLAYER_COLOR(0xa9, 0x78, 0xfc, /**/ 0x61, 0x3d, 0x2e),
|
DEFINE_PLAYER_COLOR(0xa9, 0x78, 0xfc, /**/ 0x61, 0x3d, 0x2e),
|
||||||
|
|
||||||
|
@ -109,6 +114,9 @@ struct PlayerColor gPlayerColors[] = {
|
||||||
DEFINE_PLAYER_COLOR(0xff, 0x8a, 0x00, /**/ 0x00, 0x51, 0x10),
|
DEFINE_PLAYER_COLOR(0xff, 0x8a, 0x00, /**/ 0x00, 0x51, 0x10),
|
||||||
DEFINE_PLAYER_COLOR(0x65, 0xfa, 0xff, /**/ 0x4c, 0x1e, 0x3f),
|
DEFINE_PLAYER_COLOR(0x65, 0xfa, 0xff, /**/ 0x4c, 0x1e, 0x3f),
|
||||||
DEFINE_PLAYER_COLOR(0xe6, 0xe6, 0xe6, /**/ 0xb2, 0x28, 0x18),
|
DEFINE_PLAYER_COLOR(0xe6, 0xe6, 0xe6, /**/ 0xb2, 0x28, 0x18),
|
||||||
|
DEFINE_PLAYER_COLOR(0xe6, 0xe6, 0xe6, /**/ 0x00, 0x98, 0x00),
|
||||||
|
DEFINE_PLAYER_COLOR(0xe6, 0xe6, 0xe6, /**/ 0x6d, 0x3c, 0x9a),
|
||||||
|
DEFINE_PLAYER_COLOR(0xe6, 0xe6, 0xe6, /**/ 0xf9, 0xeb, 0x30),
|
||||||
};
|
};
|
||||||
|
|
||||||
const size_t gNumPlayerColors = sizeof(gPlayerColors) / sizeof(*gPlayerColors);
|
const size_t gNumPlayerColors = sizeof(gPlayerColors) / sizeof(*gPlayerColors);
|
||||||
|
|
|
@ -91,13 +91,18 @@ void djui_panel_player_create(struct DjuiBase* caller) {
|
||||||
djui_base_set_size(&selectionbox1->base, 1.0f, 32);
|
djui_base_set_size(&selectionbox1->base, 1.0f, 32);
|
||||||
djui_interactable_hook_value_change(&selectionbox1->base, djui_panel_player_value_changed);
|
djui_interactable_hook_value_change(&selectionbox1->base, djui_panel_player_value_changed);
|
||||||
|
|
||||||
char* paletteChoices[16] = {
|
char* paletteChoices[24] = {
|
||||||
"Mario",
|
"Mario",
|
||||||
"Luigi",
|
"Luigi",
|
||||||
"Waluigi",
|
"Waluigi",
|
||||||
"Wario",
|
"Wario",
|
||||||
|
"Chuckya",
|
||||||
|
"Goomba",
|
||||||
|
"Clover",
|
||||||
"Cobalt",
|
"Cobalt",
|
||||||
|
"Fury",
|
||||||
"Hot Pink",
|
"Hot Pink",
|
||||||
|
"Nice Pink",
|
||||||
"Seafoam",
|
"Seafoam",
|
||||||
"Lilac",
|
"Lilac",
|
||||||
"Copper",
|
"Copper",
|
||||||
|
@ -107,9 +112,12 @@ void djui_panel_player_create(struct DjuiBase* caller) {
|
||||||
"Eggplant",
|
"Eggplant",
|
||||||
"Orange",
|
"Orange",
|
||||||
"Arctic",
|
"Arctic",
|
||||||
"Fire",
|
"Fire Mario",
|
||||||
|
"Fire Luigi",
|
||||||
|
"Fire Waluigi",
|
||||||
|
"Fire Wario",
|
||||||
};
|
};
|
||||||
struct DjuiSelectionbox* selectionbox2 = djui_selectionbox_create(&body->base, "Palette", paletteChoices, 16, &configPlayerPalette);
|
struct DjuiSelectionbox* selectionbox2 = djui_selectionbox_create(&body->base, "Palette", paletteChoices, 24, &configPlayerPalette);
|
||||||
djui_base_set_size_type(&selectionbox2->base, DJUI_SVT_RELATIVE, DJUI_SVT_ABSOLUTE);
|
djui_base_set_size_type(&selectionbox2->base, DJUI_SVT_RELATIVE, DJUI_SVT_ABSOLUTE);
|
||||||
djui_base_set_size(&selectionbox2->base, 1.0f, 32);
|
djui_base_set_size(&selectionbox2->base, 1.0f, 32);
|
||||||
djui_interactable_hook_value_change(&selectionbox2->base, djui_panel_player_value_changed);
|
djui_interactable_hook_value_change(&selectionbox2->base, djui_panel_player_value_changed);
|
||||||
|
|
|
@ -224,7 +224,7 @@ void main_func(void) {
|
||||||
mod_list_init();
|
mod_list_init();
|
||||||
configfile_load(configfile_name());
|
configfile_load(configfile_name());
|
||||||
if (configPlayerModel >= CT_MAX) { configPlayerModel = 0; }
|
if (configPlayerModel >= CT_MAX) { configPlayerModel = 0; }
|
||||||
if (configPlayerPalette >= 16) { configPlayerPalette = 0; }
|
if (configPlayerPalette >= 24) { configPlayerPalette = 0; }
|
||||||
|
|
||||||
if (gCLIOpts.FullScreen == 1)
|
if (gCLIOpts.FullScreen == 1)
|
||||||
configWindow.fullscreen = true;
|
configWindow.fullscreen = true;
|
||||||
|
|
Loading…
Reference in a new issue