Searched refs:COLOUR_END (Results 1 – 13 of 13) sorted by relevance
/dports/games/openttd/openttd-12.1/src/ |
H A D | company_cmd.cpp | 402 static const byte _colour_sort[COLOUR_END] = {2, 2, 3, 2, 3, 2, 3, 2, 3, 2, 2, 2, 3, 1, 1, 1}; 404 static const Colours _similar_colour[COLOUR_END][2] = { 429 Colours colours[COLOUR_END]; in GenerateCompanyColour() 432 for (uint i = 0; i < COLOUR_END; i++) colours[i] = (Colours)i; in GenerateCompanyColour() 441 for (uint i = 0; i < COLOUR_END; i++) { in GenerateCompanyColour() 442 for (uint j = 1; j < COLOUR_END; j++) { in GenerateCompanyColour() 453 for (uint i = 0; i < COLOUR_END; i++) { in GenerateCompanyColour() 464 for (uint i = 1; i < COLOUR_END; i++) { in GenerateCompanyColour() 471 for (uint i = 0; i < COLOUR_END; i++) { in GenerateCompanyColour() 961 if (scheme >= LS_END || (colour >= COLOUR_END && colour != INVALID_COLOUR)) return CMD_ERROR; in CmdSetCompanyColour()
|
H A D | gfx_type.h | 244 COLOUR_END, enumerator 247 template <> struct EnumPropsT<Colours> : MakeEnumPropsT<Colours, byte, COLOUR_BEGIN, COLOUR_END, IN…
|
H A D | story.cpp | 122 assert(button_colour < COLOUR_END); in SetColour() 171 return GB(this->referenced_id, 0, 8) < COLOUR_END; in ValidateColour()
|
H A D | gfx_func.h | 183 extern byte _colour_gradient[COLOUR_END][8];
|
H A D | console_gui.cpp | 532 for (uint i = COLOUR_BEGIN; i < COLOUR_END; i++) { in IsValidConsoleColour()
|
H A D | company_gui.cpp | 521 return this->result >= COLOUR_END ? STR_COLOUR_DEFAULT : _colour_dropdown[this->result]; in String() 540 DrawSprite(SPR_VEH_BUS_SIDE_VIEW, PALETTE_RECOLOUR_START + (this->result % COLOUR_END), in Draw() 605 default_col = (primary ? default_livery->colour1 : default_livery->colour2) + COLOUR_END; in ShowColourDropDownMenu() 991 if (index >= COLOUR_END) index = INVALID_COLOUR; in OnDropdownSelect()
|
H A D | group_cmd.cpp | 647 if (colour >= COLOUR_END && colour != INVALID_COLOUR) return CMD_ERROR; in CmdSetGroupLivery()
|
H A D | openttd.cpp | 866 if (_settings_client.gui.starting_colour != COLOUR_END) { in MakeNewGameDone()
|
H A D | gfx.cpp | 52 byte _colour_gradient[COLOUR_END][8];
|
H A D | widget.cpp | 211 assert(colour < COLOUR_END); in DrawFrameRect()
|
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/tools/kitchen_sink/ |
H A D | kitchen_sink.cpp | 44 #define COLOUR_END "m" macro 45 #define COLOUR_RESET COLOUR_START "0" COLOUR_END 62 #define HEADER_TX "[" COLOUR_START COLOUR_HIGH COLOUR_RED COLOUR_END "TX" COLOUR_RESET … 63 #define HEADER_RX "[" COLOUR_START COLOUR_HIGH COLOUR_GREEN COLOUR_END "RX" COLOUR_RESET … 64 #define HEADER_AS "[" COLOUR_START COLOUR_HIGH COLOUR_BLUE COLOUR_END "AS" COLOUR_RESET "… 65 #define HEADER_ERROR "[" COLOUR_START COLOUR_BACK_HIGH COLOUR_RED COLOUR_END "!!" COLOUR_RES… 66 #define HEADER_WARN "[" COLOUR_START COLOUR_BACK_HIGH COLOUR_YELLOW COLOUR_END "**" COLOUR_… 154 std::string(COLOUR_START COLOUR_UNDERLINE COLOUR_END) + in get_stringified_time()
|
/dports/games/openttd/openttd-12.1/src/widgets/ |
H A D | dropdown.cpp | 102 …NWidget(WWT_PANEL, COLOUR_END, WID_DM_ITEMS), SetMinimalSize(1, 1), SetScrollbar(WID_DM_SCROLL), E… 104 NWidget(NWID_VSCROLLBAR, COLOUR_END, WID_DM_SCROLL),
|
/dports/games/openttd/openttd-12.1/src/table/settings/ |
H A D | gui_settings.ini | 331 def = COLOUR_END 333 max = COLOUR_END
|