mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 05:25:14 +00:00
April Fools
This commit is contained in:
parent
5b306b2a17
commit
4df5037399
2 changed files with 8 additions and 3 deletions
|
@ -265,10 +265,15 @@ void djui_panel_player_create(struct DjuiBase* caller) {
|
||||||
}
|
}
|
||||||
djui_selectionbox_create(body, DLANG(PLAYER, MODEL), modelChoices, CT_MAX, &configPlayerModel, djui_panel_player_value_changed);
|
djui_selectionbox_create(body, DLANG(PLAYER, MODEL), modelChoices, CT_MAX, &configPlayerModel, djui_panel_player_value_changed);
|
||||||
|
|
||||||
|
time_t currentTime;
|
||||||
|
time(¤tTime);
|
||||||
|
struct tm *lt = localtime(¤tTime);
|
||||||
|
bool aprilFools = lt->tm_mon == 3 && lt->tm_mday == 1; // months are 0 indexed
|
||||||
|
|
||||||
char* paletteChoices[PALETTE_PRESET_MAX+1] = {
|
char* paletteChoices[PALETTE_PRESET_MAX+1] = {
|
||||||
DLANG(PALETTE, MARIO),
|
DLANG(PALETTE, MARIO),
|
||||||
DLANG(PALETTE, LUIGI),
|
DLANG(PALETTE, LUIGI),
|
||||||
DLANG(PALETTE, WALUIGI),
|
aprilFools ? "Lame Shitilizer" : DLANG(PALETTE, WALUIGI),
|
||||||
DLANG(PALETTE, WARIO),
|
DLANG(PALETTE, WARIO),
|
||||||
DLANG(PALETTE, CHUCKYA),
|
DLANG(PALETTE, CHUCKYA),
|
||||||
DLANG(PALETTE, GOOMBA),
|
DLANG(PALETTE, GOOMBA),
|
||||||
|
@ -297,7 +302,7 @@ void djui_panel_player_create(struct DjuiBase* caller) {
|
||||||
DLANG(PALETTE, RASPBERRY),
|
DLANG(PALETTE, RASPBERRY),
|
||||||
DLANG(PALETTE, BUBBLEGUM),
|
DLANG(PALETTE, BUBBLEGUM),
|
||||||
DLANG(PALETTE, ICE_MARIO),
|
DLANG(PALETTE, ICE_MARIO),
|
||||||
DLANG(PALETTE, ICE_LUIGI),
|
aprilFools ? "The Shitilizer" : DLANG(PALETTE, ICE_LUIGI),
|
||||||
DLANG(PALETTE, TOAD),
|
DLANG(PALETTE, TOAD),
|
||||||
DLANG(PALETTE, CUSTOM),
|
DLANG(PALETTE, CUSTOM),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue