clang-format peep

This commit is contained in:
clang-format authored and Hielke Morsink committed 2018-07-23 16:00:07 +02:00
1 parent 191973b202
commit bb3561f70b
6 files changed
+3043 -2968

No files matched your search

File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+652 -654
View File
File diff suppressed because it is too large. Load diff
+550 -534
View File
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+36 -36
View File
@@ -37,12 +37,12 @@ enum STAFF_TYPE
enum STAFF_ORDERS
{
STAFF_ORDERS_SWEEPING = (1 << 0),
STAFF_ORDERS_SWEEPING = (1 << 0),
STAFF_ORDERS_WATER_FLOWERS = (1 << 1),
STAFF_ORDERS_EMPTY_BINS = (1 << 2),
STAFF_ORDERS_MOWING = (1 << 3),
STAFF_ORDERS_EMPTY_BINS = (1 << 2),
STAFF_ORDERS_MOWING = (1 << 3),
STAFF_ORDERS_INSPECT_RIDES = (1 << 0),
STAFF_ORDERS_FIX_RIDES = (1 << 1)
STAFF_ORDERS_FIX_RIDES = (1 << 1)
};
enum ENTERTAINER_COSTUME
@@ -64,43 +64,43 @@ enum ENTERTAINER_COSTUME
extern const rct_string_id StaffCostumeNames[ENTERTAINER_COSTUME_COUNT];
extern uint32_t gStaffPatrolAreas[(STAFF_MAX_COUNT + STAFF_TYPE_COUNT) * STAFF_PATROL_AREA_SIZE];
extern uint8_t gStaffModes[STAFF_MAX_COUNT + STAFF_TYPE_COUNT];
extern uint16_t gStaffDrawPatrolAreas;
extern uint32_t gStaffPatrolAreas[(STAFF_MAX_COUNT + STAFF_TYPE_COUNT) * STAFF_PATROL_AREA_SIZE];
extern uint8_t gStaffModes[STAFF_MAX_COUNT + STAFF_TYPE_COUNT];
extern uint16_t gStaffDrawPatrolAreas;
extern colour_t gStaffHandymanColour;
extern colour_t gStaffMechanicColour;
extern colour_t gStaffSecurityColour;
void game_command_hire_new_staff_member(int32_t * eax, int32_t * ebx, int32_t * ecx, int32_t * edx, int32_t * esi, int32_t * edi,
int32_t * ebp);
void game_command_callback_hire_new_staff_member(int32_t eax, int32_t ebx, int32_t ecx, int32_t edx, int32_t esi, int32_t edi,
int32_t ebp);
void game_command_set_staff_order(int32_t * eax, int32_t * ebx, int32_t * ecx, int32_t * edx, int32_t * esi, int32_t * edi,
int32_t * ebp);
void game_command_set_staff_patrol(int32_t * eax, int32_t * ebx, int32_t * ecx, int32_t * edx, int32_t * esi, int32_t * edi,
int32_t * ebp);
void game_command_fire_staff_member(int32_t * eax, int32_t * ebx, int32_t * ecx, int32_t * edx, int32_t * esi, int32_t * edi,
int32_t * ebp);
void game_command_set_staff_name(int32_t * eax, int32_t * ebx, int32_t * ecx, int32_t * edx, int32_t * esi, int32_t * edi,
int32_t * ebp);
void game_command_pickup_staff(int32_t * eax, int32_t * ebx, int32_t * ecx, int32_t * edx, int32_t * esi, int32_t * edi,
int32_t * ebp);
void game_command_hire_new_staff_member(
int32_t* eax, int32_t* ebx, int32_t* ecx, int32_t* edx, int32_t* esi, int32_t* edi, int32_t* ebp);
void game_command_callback_hire_new_staff_member(
int32_t eax, int32_t ebx, int32_t ecx, int32_t edx, int32_t esi, int32_t edi, int32_t ebp);
void game_command_set_staff_order(
int32_t* eax, int32_t* ebx, int32_t* ecx, int32_t* edx, int32_t* esi, int32_t* edi, int32_t* ebp);
void game_command_set_staff_patrol(
int32_t* eax, int32_t* ebx, int32_t* ecx, int32_t* edx, int32_t* esi, int32_t* edi, int32_t* ebp);
void game_command_fire_staff_member(
int32_t* eax, int32_t* ebx, int32_t* ecx, int32_t* edx, int32_t* esi, int32_t* edi, int32_t* ebp);
void game_command_set_staff_name(
int32_t* eax, int32_t* ebx, int32_t* ecx, int32_t* edx, int32_t* esi, int32_t* edi, int32_t* ebp);
void game_command_pickup_staff(
int32_t* eax, int32_t* ebx, int32_t* ecx, int32_t* edx, int32_t* esi, int32_t* edi, int32_t* ebp);
void staff_reset_modes();
void staff_set_name(uint16_t spriteIndex, const char * name);
uint16_t hire_new_staff_member(uint8_t staffType);
void staff_update_greyed_patrol_areas();
bool staff_is_location_in_patrol(rct_peep * mechanic, int32_t x, int32_t y);
bool staff_is_location_on_patrol_edge(rct_peep * mechanic, int32_t x, int32_t y);
bool staff_can_ignore_wide_flag(rct_peep * mechanic, int32_t x, int32_t y, uint8_t z, rct_tile_element * path);
int32_t staff_path_finding(rct_peep * peep);
void staff_reset_stats();
bool staff_is_patrol_area_set(int32_t staffIndex, int32_t x, int32_t y);
void staff_set_patrol_area(int32_t staffIndex, int32_t x, int32_t y, bool value);
void staff_toggle_patrol_area(int32_t staffIndex, int32_t x, int32_t y);
void staff_reset_modes();
void staff_set_name(uint16_t spriteIndex, const char* name);
uint16_t hire_new_staff_member(uint8_t staffType);
void staff_update_greyed_patrol_areas();
bool staff_is_location_in_patrol(rct_peep* mechanic, int32_t x, int32_t y);
bool staff_is_location_on_patrol_edge(rct_peep* mechanic, int32_t x, int32_t y);
bool staff_can_ignore_wide_flag(rct_peep* mechanic, int32_t x, int32_t y, uint8_t z, rct_tile_element* path);
int32_t staff_path_finding(rct_peep* peep);
void staff_reset_stats();
bool staff_is_patrol_area_set(int32_t staffIndex, int32_t x, int32_t y);
void staff_set_patrol_area(int32_t staffIndex, int32_t x, int32_t y, bool value);
void staff_toggle_patrol_area(int32_t staffIndex, int32_t x, int32_t y);
colour_t staff_get_colour(uint8_t staffType);
bool staff_set_colour(uint8_t staffType, colour_t value);
uint32_t staff_get_available_entertainer_costumes();
int32_t staff_get_available_entertainer_costume_list(uint8_t * costumeList);
bool staff_set_colour(uint8_t staffType, colour_t value);
uint32_t staff_get_available_entertainer_costumes();
int32_t staff_get_available_entertainer_costume_list(uint8_t* costumeList);
#endif