Skip to content

Commit

Permalink
Fix some more colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagabond committed Oct 12, 2024
1 parent 8d4b01d commit 37e2802
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/game/gui/menu_background.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

#define COLOR_MENU_LINE 252
#define COLOR_MENU_BORDER 251
#define COLOR_MENU_LINE2 250
#define COLOR_MENU_BORDER1 253
#define COLOR_MENU_BORDER2 254
#define COLOR_MENU_LINE2 172
#define COLOR_MENU_BORDER1 164
#define COLOR_MENU_BORDER2 162
#define COLOR_MENU_BG 0

void menu_background_create(surface *s, int w, int h) {
Expand All @@ -23,7 +23,7 @@ void menu_background_create(surface *s, int w, int h) {
image_free(&img);
}

// the *other* style menu background
// the *other* style menu background, used on VS and MELEE
void menu_background2_create(surface *s, int w, int h) {
image img;
image_create(&img, w, h);
Expand Down
4 changes: 2 additions & 2 deletions src/game/scenes/vs.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,10 @@ void vs_render(scene *scene) {
video_draw(&local->arena_select_bg, 55, 150);

// arena name
font_render_wrapped(&font_small, lang_get(56 + local->arena), 56 + 72, 153, (211 - 72) - 4, TEXT_MEDIUM_GREEN);
font_render_wrapped(&font_small, lang_get(56 + local->arena), 56 + 72, 153, (211 - 72) - 4, TEXT_BRIGHT_GREEN);

// arena description
font_render_wrapped(&font_small, lang_get(66 + local->arena), 56 + 72, 160, (211 - 72) - 4, TEXT_MEDIUM_GREEN);
font_render_wrapped(&font_small, lang_get(66 + local->arena), 56 + 72, 160, (211 - 72) - 4, TEXT_BRIGHT_GREEN);
} else if(player2->pilot && player2->pilot->pilot_id == PILOT_KREISSACK &&
settings_get()->gameplay.difficulty < 2) {
// kreissack, but not on Veteran or higher
Expand Down

0 comments on commit 37e2802

Please sign in to comment.