// // Copyright(C) 2023 by Ryan Krafnick // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version 2 // of the License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // DESCRIPTION: // DSDA Text Color // #ifndef __DSDA_TEXT_COLOR__ #define __DSDA_TEXT_COLOR__ typedef enum { dsda_tc_exhud_time_label, dsda_tc_exhud_level_time, dsda_tc_exhud_total_time, dsda_tc_exhud_demo_length, dsda_tc_exhud_armor_zero, dsda_tc_exhud_armor_one, dsda_tc_exhud_armor_two, dsda_tc_exhud_command_entry, dsda_tc_exhud_command_queue, dsda_tc_exhud_coords_base, dsda_tc_exhud_coords_mf50, dsda_tc_exhud_coords_sr40, dsda_tc_exhud_coords_sr50, dsda_tc_exhud_coords_fast, dsda_tc_exhud_fps_bad, dsda_tc_exhud_fps_fine, dsda_tc_exhud_health_bad, dsda_tc_exhud_health_warning, dsda_tc_exhud_health_ok, dsda_tc_exhud_health_super, dsda_tc_exhud_line_close, dsda_tc_exhud_line_far, dsda_tc_exhud_line_special, dsda_tc_exhud_line_normal, dsda_tc_exhud_mobj_alive, dsda_tc_exhud_mobj_dead, dsda_tc_exhud_player_damage, dsda_tc_exhud_player_neutral, dsda_tc_exhud_ammo_label, dsda_tc_exhud_ammo_mana1, dsda_tc_exhud_ammo_mana2, dsda_tc_exhud_ammo_value, dsda_tc_exhud_ammo_bad, dsda_tc_exhud_ammo_warning, dsda_tc_exhud_ammo_ok, dsda_tc_exhud_ammo_full, dsda_tc_exhud_render_label, dsda_tc_exhud_render_good, dsda_tc_exhud_render_bad, dsda_tc_exhud_sector_active, dsda_tc_exhud_sector_special, dsda_tc_exhud_sector_normal, dsda_tc_exhud_speed_label, dsda_tc_exhud_speed_slow, dsda_tc_exhud_speed_normal, dsda_tc_exhud_speed_fast, dsda_tc_exhud_totals_label, dsda_tc_exhud_totals_value, dsda_tc_exhud_totals_max, dsda_tc_exhud_weapon_label, dsda_tc_exhud_weapon_owned, dsda_tc_exhud_weapon_berserk, dsda_tc_exhud_attempts, dsda_tc_exhud_event_split, dsda_tc_exhud_line_activation, dsda_tc_exhud_local_time, dsda_tc_exhud_free_text, dsda_tc_hud_message, dsda_tc_hud_secret_message, dsda_tc_map_coords, dsda_tc_map_time_level, dsda_tc_map_time_total, dsda_tc_map_title, dsda_tc_map_totals_label, dsda_tc_map_totals_value, dsda_tc_map_totals_max, dsda_tc_inter_split_normal, dsda_tc_inter_split_good, dsda_tc_inter_split_best, dsda_tc_menu_title, dsda_tc_menu_tab, dsda_tc_menu_tab_highlight, dsda_tc_menu_label, dsda_tc_menu_label_highlight, dsda_tc_menu_label_edit, dsda_tc_menu_value, dsda_tc_menu_value_highlight, dsda_tc_menu_value_edit, dsda_tc_menu_info_highlight, dsda_tc_menu_info_edit, dsda_tc_menu_warning, dsda_tc_menu_scrollbar, dsda_tc_stbar_health_bad, dsda_tc_stbar_health_warning, dsda_tc_stbar_health_ok, dsda_tc_stbar_health_super, dsda_tc_stbar_armor_zero, dsda_tc_stbar_armor_one, dsda_tc_stbar_armor_two, dsda_tc_stbar_ammo_bad, dsda_tc_stbar_ammo_warning, dsda_tc_stbar_ammo_ok, dsda_tc_stbar_ammo_full, } dsda_text_color_index_t; void dsda_LoadTextColor(void); const char* dsda_TextColor(dsda_text_color_index_t i); int dsda_TextCR(dsda_text_color_index_t i); int dsda_ColorNameToIndex(const char* name); #endif