From 63063a284353611744d4bb0f21913f0dae3f09dc Mon Sep 17 00:00:00 2001 From: dark-ether Date: Sun, 27 Mar 2022 18:15:45 -0300 Subject: [PATCH 10/10] reordered the actions enum so that the user actions are last --- common/actions.h | 136 +++++++++++++++++++++++------------------------ 1 file changed, 68 insertions(+), 68 deletions(-) diff --git a/common/actions.h b/common/actions.h index c3ba983b4a..c88089be2c 100644 --- a/common/actions.h +++ b/common/actions.h @@ -226,74 +226,74 @@ extern "C" { #define SPECENUM_VALUE79NAME "Frighten Hut 2" #define SPECENUM_VALUE80 ACTION_UNIT_MOVE #define SPECENUM_VALUE80NAME "Unit Move" -#define SPECENUM_VALUE81 ACTION_USER_ACTION1 -#define SPECENUM_VALUE81NAME "User Action 1" -#define SPECENUM_VALUE82 ACTION_USER_ACTION2 -#define SPECENUM_VALUE82NAME "User Action 2" -#define SPECENUM_VALUE83 ACTION_USER_ACTION3 -#define SPECENUM_VALUE83NAME "User Action 3" -#define SPECENUM_VALUE84 ACTION_USER_ACTION4 -#define SPECENUM_VALUE84NAME "User Action 4" -#define SPECENUM_VALUE85 ACTION_HEAL_UNIT2 -#define SPECENUM_VALUE85NAME "Heal Unit 2" -#define SPECENUM_VALUE86 ACTION_CONQUER_CITY3 -#define SPECENUM_VALUE86NAME "Conquer City 3" -#define SPECENUM_VALUE87 ACTION_CONQUER_CITY4 -#define SPECENUM_VALUE87NAME "Conquer City 4" -#define SPECENUM_VALUE88 ACTION_CONQUER_EXTRAS3 -#define SPECENUM_VALUE88NAME "Conquer Extras 3" -#define SPECENUM_VALUE89 ACTION_CONQUER_EXTRAS4 -#define SPECENUM_VALUE89NAME "Conquer Extras 4" -#define SPECENUM_VALUE90 ACTION_TRANSPORT_DISEMBARK3 -#define SPECENUM_VALUE90NAME "Transport Disembark 3" -#define SPECENUM_VALUE91 ACTION_TRANSPORT_DISEMBARK4 -#define SPECENUM_VALUE91NAME "Transport Disembark 4" -#define SPECENUM_VALUE92 ACTION_TRANSPORT_EMBARK2 -#define SPECENUM_VALUE92NAME "Transport Embark 2" -#define SPECENUM_VALUE93 ACTION_TRANSPORT_EMBARK3 -#define SPECENUM_VALUE93NAME "Transport Embark 3" -#define SPECENUM_VALUE94 ACTION_HUT_ENTER3 -#define SPECENUM_VALUE94NAME "Enter Hut 3" -#define SPECENUM_VALUE95 ACTION_HUT_ENTER4 -#define SPECENUM_VALUE95NAME "Enter Hut 4" -#define SPECENUM_VALUE96 ACTION_HUT_FRIGHTEN3 -#define SPECENUM_VALUE96NAME "Frighten Hut 3" -#define SPECENUM_VALUE97 ACTION_HUT_FRIGHTEN4 -#define SPECENUM_VALUE97NAME "Frighten Hut 4" -#define SPECENUM_VALUE98 ACTION_UNIT_MOVE2 -#define SPECENUM_VALUE98NAME "Unit Move 2" -#define SPECENUM_VALUE99 ACTION_UNIT_MOVE3 -#define SPECENUM_VALUE99NAME "Unit Move 3" -#define SPECENUM_VALUE100 ACTION_PARADROP_CONQUER -#define SPECENUM_VALUE100NAME "Paradrop Unit Conquer" -#define SPECENUM_VALUE101 ACTION_PARADROP_FRIGHTEN -#define SPECENUM_VALUE101NAME "Paradrop Unit Frighten" -#define SPECENUM_VALUE102 ACTION_PARADROP_FRIGHTEN_CONQUER -#define SPECENUM_VALUE102NAME "Paradrop Unit Frighten Conquer" -#define SPECENUM_VALUE103 ACTION_PARADROP_ENTER -#define SPECENUM_VALUE103NAME "Paradrop Unit Enter" -#define SPECENUM_VALUE104 ACTION_PARADROP_ENTER_CONQUER -#define SPECENUM_VALUE104NAME "Paradrop Unit Enter Conquer" -#define SPECENUM_VALUE105 ACTION_HOMELESS -#define SPECENUM_VALUE105NAME "Unit Make Homeless" -#define SPECENUM_VALUE106 ACTION_WIPE_UNITS -#define SPECENUM_VALUE106NAME "Wipe Units" -#define SPECENUM_VALUE107 ACTION_BOMBARD_LETHAL -#define SPECENUM_VALUE107NAME "Bombard Lethal" -#define SPECENUM_VALUE108 ACTION_SPY_ESCAPE -#define SPECENUM_VALUE108NAME "Spy Escape" -#define SPECENUM_VALUE109 ACTION_TRANSPORT_LOAD -#define SPECENUM_VALUE109NAME "Transport Load" -#define SPECENUM_VALUE110 ACTION_TRANSPORT_LOAD2 -#define SPECENUM_VALUE110NAME "Transport Load 2" -#define SPECENUM_VALUE111 ACTION_TRANSPORT_LOAD3 -#define SPECENUM_VALUE111NAME "Transport Load 3" -#define SPECENUM_VALUE112 ACTION_TRANSPORT_BOARD2 -#define SPECENUM_VALUE112NAME "Transport Board 2" -#define SPECENUM_VALUE113 ACTION_TRANSPORT_BOARD3 -#define SPECENUM_VALUE113NAME "Transport Board_3" -#define SPECENUM_VALUE114 ACTION_TRANSPORT_EMBARK4 -#define SPECENUM_VALUE114NAME "Transport Embark 4" +#define SPECENUM_VALUE81 ACTION_HEAL_UNIT2 +#define SPECENUM_VALUE81NAME "Heal Unit 2" +#define SPECENUM_VALUE82 ACTION_CONQUER_CITY3 +#define SPECENUM_VALUE82NAME "Conquer City 3" +#define SPECENUM_VALUE83 ACTION_CONQUER_CITY4 +#define SPECENUM_VALUE83NAME "Conquer City 4" +#define SPECENUM_VALUE84 ACTION_CONQUER_EXTRAS3 +#define SPECENUM_VALUE84NAME "Conquer Extras 3" +#define SPECENUM_VALUE85 ACTION_CONQUER_EXTRAS4 +#define SPECENUM_VALUE85NAME "Conquer Extras 4" +#define SPECENUM_VALUE86 ACTION_TRANSPORT_DISEMBARK3 +#define SPECENUM_VALUE86NAME "Transport Disembark 3" +#define SPECENUM_VALUE87 ACTION_TRANSPORT_DISEMBARK4 +#define SPECENUM_VALUE87NAME "Transport Disembark 4" +#define SPECENUM_VALUE88 ACTION_TRANSPORT_EMBARK2 +#define SPECENUM_VALUE88NAME "Transport Embark 2" +#define SPECENUM_VALUE89 ACTION_TRANSPORT_EMBARK3 +#define SPECENUM_VALUE89NAME "Transport Embark 3" +#define SPECENUM_VALUE90 ACTION_HUT_ENTER3 +#define SPECENUM_VALUE90NAME "Enter Hut 3" +#define SPECENUM_VALUE91 ACTION_HUT_ENTER4 +#define SPECENUM_VALUE91NAME "Enter Hut 4" +#define SPECENUM_VALUE92 ACTION_HUT_FRIGHTEN3 +#define SPECENUM_VALUE92NAME "Frighten Hut 3" +#define SPECENUM_VALUE93 ACTION_HUT_FRIGHTEN4 +#define SPECENUM_VALUE93NAME "Frighten Hut 4" +#define SPECENUM_VALUE94 ACTION_UNIT_MOVE2 +#define SPECENUM_VALUE94NAME "Unit Move 2" +#define SPECENUM_VALUE95 ACTION_UNIT_MOVE3 +#define SPECENUM_VALUE95NAME "Unit Move 3" +#define SPECENUM_VALUE96 ACTION_PARADROP_CONQUER +#define SPECENUM_VALUE96NAME "Paradrop Unit Conquer" +#define SPECENUM_VALUE97 ACTION_PARADROP_FRIGHTEN +#define SPECENUM_VALUE97NAME "Paradrop Unit Frighten" +#define SPECENUM_VALUE98 ACTION_PARADROP_FRIGHTEN_CONQUER +#define SPECENUM_VALUE98NAME "Paradrop Unit Frighten Conquer" +#define SPECENUM_VALUE99 ACTION_PARADROP_ENTER +#define SPECENUM_VALUE99NAME "Paradrop Unit Enter" +#define SPECENUM_VALUE100 ACTION_PARADROP_ENTER_CONQUER +#define SPECENUM_VALUE100NAME "Paradrop Unit Enter Conquer" +#define SPECENUM_VALUE101 ACTION_HOMELESS +#define SPECENUM_VALUE101NAME "Unit Make Homeless" +#define SPECENUM_VALUE102 ACTION_WIPE_UNITS +#define SPECENUM_VALUE102NAME "Wipe Units" +#define SPECENUM_VALUE103 ACTION_BOMBARD_LETHAL +#define SPECENUM_VALUE103NAME "Bombard Lethal" +#define SPECENUM_VALUE104 ACTION_SPY_ESCAPE +#define SPECENUM_VALUE104NAME "Spy Escape" +#define SPECENUM_VALUE105 ACTION_TRANSPORT_LOAD +#define SPECENUM_VALUE105NAME "Transport Load" +#define SPECENUM_VALUE106 ACTION_TRANSPORT_LOAD2 +#define SPECENUM_VALUE106NAME "Transport Load 2" +#define SPECENUM_VALUE107 ACTION_TRANSPORT_LOAD3 +#define SPECENUM_VALUE107NAME "Transport Load 3" +#define SPECENUM_VALUE108 ACTION_TRANSPORT_BOARD2 +#define SPECENUM_VALUE108NAME "Transport Board 2" +#define SPECENUM_VALUE109 ACTION_TRANSPORT_BOARD3 +#define SPECENUM_VALUE109NAME "Transport Board_3" +#define SPECENUM_VALUE110 ACTION_TRANSPORT_EMBARK4 +#define SPECENUM_VALUE110NAME "Transport Embark 4" +#define SPECENUM_VALUE111 ACTION_USER_ACTION1 +#define SPECENUM_VALUE111NAME "User Action 1" +#define SPECENUM_VALUE112 ACTION_USER_ACTION2 +#define SPECENUM_VALUE112NAME "User Action 2" +#define SPECENUM_VALUE113 ACTION_USER_ACTION3 +#define SPECENUM_VALUE113NAME "User Action 3" +#define SPECENUM_VALUE114 ACTION_USER_ACTION4 +#define SPECENUM_VALUE114NAME "User Action 4" #define SPECENUM_BITVECTOR bv_actions #define SPECENUM_COUNT ACTION_COUNT #include "specenum_gen.h" -- 2.35.1