Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
PlayerSelectionCatalog.hpp
Go to the documentation of this file.
1#pragma once
2
3// Exact UDPsel.cpp::udpsel_InitializeObjects catalog; dat_lm01/02 regional tags.
5
7{
8 enum class Object
9 {
73 };
75 inline std::vector<ObjectSpec> catalog(bool europe)
76 {
78 return {
79 {Object::HISCORE_STATIC, P::HiScore, (europe ? 0x00050433U : 0x000502A7U), 0, 0, 0, 0, 1000},
80 {Object::HISCORE_BUTTON_PLAY, P::HiScore, (europe ? 0x0005040BU : 0x00050280U), (europe ? 0x0005040AU : 0x0005027FU), (europe ? 0x00050409U : 0x0005027EU), 0, 0, 1000},
81 {Object::LOCALNETWORK_BUTTON_LOCAL, P::LocalOrNetwork, (europe ? 0x00050406U : 0x0005027BU), (europe ? 0x00050405U : 0x0005027AU), (europe ? 0x00050404U : 0x00050279U), 0, 0, 1000},
82 {Object::LOCALNETWORK_BUTTON_NETWORK, P::LocalOrNetwork, (europe ? 0x00050410U : 0x00050285U), (europe ? 0x0005040FU : 0x00050284U), (europe ? 0x0005040EU : 0x00050283U), 0, 0, 1000},
83 {Object::LOCALNETWORK_BUTTON_SAVED, P::LocalOrNetwork, (europe ? 0x000503E3U : 0x00050258U), (europe ? 0x000503E2U : 0x00050257U), (europe ? 0x000503E1U : 0x00050256U), 0, 0, 1000},
84 {Object::SELECTPLAYER_TITLE, P::SelectPlayer, (europe ? 0x00050414U : 0x00050288U), 0, 0, 0, 0, 1000},
85 {Object::SELECTPLAYER_BUTTON_NEW, P::SelectPlayer, (europe ? 0x000503ECU : 0x00050261U), (europe ? 0x000503EBU : 0x00050260U), (europe ? 0x000503EAU : 0x0005025FU), 0, 0, 1000},
86 {Object::SELECTPLAYER_BUTTON_MORE, P::SelectPlayer, (europe ? 0x000503E6U : 0x0005025BU), (europe ? 0x000503E5U : 0x0005025AU), (europe ? 0x000503E4U : 0x00050259U), 0, 0, 1000},
87 {Object::ENTERNAME_TITLE, P::EnterName, (europe ? 0x00050408U : 0x0005027DU), 0, 0, 0, 0, 1000},
88 {Object::ENTERNAME_TEXTBOX, P::EnterName, (europe ? 0x000503BBU : 0x00050230U), (europe ? 0x000503B9U : 0x0005022EU), (europe ? 0x000503BAU : 0x0005022FU), 0, 0, 1000},
89 {Object::ENTERNAME_BUTTON_NEXT, P::EnterName, (europe ? 0x000503E9U : 0x0005025EU), 0, 0, 0, -18, 1000},
90 {Object::PICKTOKEN_TITLE, P::SelectToken, (europe ? 0x00050415U : 0x00050289U), 0, 0, 0, 0, 1000},
91 {Object::PICKTOKEN_STATIC_ROTATING, P::SelectToken, 0x00030039U, 0x00030038U, 0x0003003AU, 0, 0, 1000},
92 {Object::PICKTOKEN_ROTATING_CANNON, P::SelectToken, 0x0003002DU, 0, 0, 0, 0, 1500},
93 {Object::PICKTOKEN_ROTATING_IRON, P::SelectToken, 0x00030031U, 0, 0, 0, 0, 1504},
94 {Object::PICKTOKEN_ROTATING_THIMBLE, P::SelectToken, 0x00030035U, 0, 0, 0, 0, 1508},
95 {Object::PICKTOKEN_ROTATING_RACECAR, P::SelectToken, 0x0003002EU, 0, 0, 0, 0, 1501},
96 {Object::PICKTOKEN_ROTATING_HORSE, P::SelectToken, 0x00030032U, 0, 0, 0, 0, 1505},
97 {Object::PICKTOKEN_ROTATING_WHEELBARROW, P::SelectToken, 0x00030036U, 0, 0, 0, 0, 1509},
98 {Object::PICKTOKEN_ROTATING_DOG, P::SelectToken, 0x0003002FU, 0, 0, 0, 0, 1502},
99 {Object::PICKTOKEN_ROTATING_BATTLESHIP, P::SelectToken, 0x00030033U, 0, 0, 0, 0, 1506},
100 {Object::PICKTOKEN_ROTATING_SACKOFMONEY, P::SelectToken, 0x00030037U, 0, 0, 0, 0, 1510},
101 {Object::PICKTOKEN_ROTATING_TOPHAT, P::SelectToken, 0x00030030U, 0, 0, 0, 0, 1503},
102 {Object::PICKTOKEN_ROTATING_SHOE, P::SelectToken, 0x00030034U, 0, 0, 0, 0, 1507},
103 {Object::PICKTOKEN_BUTTON_CANNON, P::SelectToken, 0x0003004BU, 0x0003004AU, 0x0003004CU, 0, 0, 1500},
104 {Object::PICKTOKEN_BUTTON_IRON, P::SelectToken, 0x00030057U, 0x00030056U, 0x00030058U, 0, 0, 1504},
105 {Object::PICKTOKEN_BUTTON_THIMBLE, P::SelectToken, 0x00030048U, 0x00030047U, 0x00030049U, 0, 0, 1508},
106 {Object::PICKTOKEN_BUTTON_RACECAR, P::SelectToken, 0x0003005AU, 0x00030059U, 0x0003005BU, 0, 0, 1501},
107 {Object::PICKTOKEN_BUTTON_HORSE, P::SelectToken, 0x00030054U, 0x00030053U, 0x00030055U, 0, 0, 1505},
108 {Object::PICKTOKEN_BUTTON_WHEELBARROW, P::SelectToken, 0x00030051U, 0x00030050U, 0x00030052U, 0, 0, 1509},
109 {Object::PICKTOKEN_BUTTON_DOG, P::SelectToken, 0x0003003CU, 0x0003003BU, 0x0003003DU, 0, 0, 1502},
110 {Object::PICKTOKEN_BUTTON_BATTLESHIP, P::SelectToken, 0x0003004EU, 0x0003004DU, 0x0003004FU, 0, 0, 1506},
111 {Object::PICKTOKEN_BUTTON_SACKOFMONEY, P::SelectToken, 0x00030045U, 0x00030044U, 0x00030046U, 0, 0, 1510},
112 {Object::PICKTOKEN_BUTTON_TOPHAT, P::SelectToken, 0x0003003FU, 0x0003003EU, 0x00030040U, 0, 0, 1503},
113 {Object::PICKTOKEN_BUTTON_SHOE, P::SelectToken, 0x00030042U, 0x00030041U, 0x00030043U, 0, 0, 1507},
114 {Object::PICKTOKEN_BUTTON_NEXT, P::SelectToken, (europe ? 0x000503E9U : 0x0005025EU), (europe ? 0x000503E8U : 0x0005025DU), (europe ? 0x000503E7U : 0x0005025CU), 21, -18, 1000},
115 {Object::START_BUTTON_ADDHUMAN, P::StartAddRemove, (europe ? 0x000503ACU : 0x00050222U), (europe ? 0x000503ABU : 0x00050221U), (europe ? 0x000503AAU : 0x00050220U), 0, 0, 1000},
116 {Object::START_BUTTON_ADDCOMPUTER, P::StartAddRemove, (europe ? 0x000503A9U : 0x0005021FU), (europe ? 0x000503A8U : 0x0005021EU), (europe ? 0x000503A7U : 0x0005021DU), 0, 0, 1000},
117 {Object::START_BUTTON_REMOVEPLAYER, P::StartAddRemove, (europe ? 0x00050418U : 0x0005028CU), (europe ? 0x00050417U : 0x0005028BU), (europe ? 0x00050416U : 0x0005028AU), 0, 3, 1000},
118 {Object::START_BUTTON_STARTGAME, P::StartAddRemove, (europe ? 0x0005042BU : 0x0005029FU), (europe ? 0x0005042AU : 0x0005029EU), (europe ? 0x00050429U : 0x0005029DU), 0, 0, 1000},
119 {Object::REMOVE_BUTTON_CANCEL, P::RemovePlayer, (europe ? 0x000503C1U : 0x00050236U), (europe ? 0x000503C0U : 0x00050235U), (europe ? 0x000503BFU : 0x00050234U), 0, 0, 1000},
120 {Object::AISTRENGTH_TITLE, P::SelectAIStrength, (europe ? 0x00050407U : 0x0005027CU), 0, 0, 0, 0, 1000},
121 {Object::AISTRENGTH_BUTTON_EASY, P::SelectAIStrength, (europe ? 0x000503D3U : 0x00050248U), (europe ? 0x000503D2U : 0x00050247U), (europe ? 0x000503D1U : 0x00050246U), 0, 0, 1000},
122 {Object::AISTRENGTH_BUTTON_MEDIUM, P::SelectAIStrength, (europe ? 0x000503BEU : 0x00050233U), (europe ? 0x000503BDU : 0x00050232U), (europe ? 0x000503BCU : 0x00050231U), 0, 0, 1000},
123 {Object::AISTRENGTH_BUTTON_HARD, P::SelectAIStrength, (europe ? 0x00050436U : 0x000502AAU), (europe ? 0x00050435U : 0x000502A9U), (europe ? 0x00050434U : 0x000502A8U), 0, 0, 1000},
124 {Object::CITY_BUTTON_CLASSICBOARD, P::SelectCity, (europe ? 0x000503AFU : 0x00050225U), (europe ? 0x000503AEU : 0x00050224U), (europe ? 0x000503ADU : 0x00050223U), 0, -40, 1000},
125 {Object::CITY_BUTTON_LOADBOARD, P::SelectCity, (europe ? 0x000503DFU : 0x00050254U), (europe ? 0x000503DEU : 0x00050253U), (europe ? 0x000503DDU : 0x00050252U), 0, -40, 1000},
126 {Object::CITY_STATIC, P::SelectCity, (europe ? 0x0005039FU : 0x00050215U), (europe ? 0x0005039EU : 0x00050214U), (europe ? 0x000503A0U : 0x00050216U), 0, 0, 1500},
127 {Object::CITY_BUTTON_LEFT, P::SelectCity, 0x00030077U, 0x00030079U, 0, 0, 0, 1501},
128 {Object::CITY_BUTTON_RIGHT, P::SelectCity, 0x00030084U, 0x00030086U, 0, 0, 0, 1501},
129 {Object::COUNTRY_STATIC, P::SelectCity, (europe ? 0x000503A2U : 0x00050218U), (europe ? 0x000503A1U : 0x00050217U), (europe ? 0x000503A3U : 0x00050219U), 0, 0, 1500},
130 {Object::COUNTRY_BUTTON_LEFT, P::SelectCity, 0x0003006FU, 0x00030071U, 0, 0, 0, 1501},
131 {Object::COUNTRY_BUTTON_RIGHT, P::SelectCity, 0x0003007CU, 0x0003007EU, 0, 0, 0, 1501},
132 {Object::CURRENCY_STATIC, P::SelectCity, (europe ? 0x000503A5U : 0x0005021BU), (europe ? 0x000503A4U : 0x0005021AU), (europe ? 0x000503A6U : 0x0005021CU), 0, 0, 1500},
133 {Object::CURRENCY_BUTTON_LEFT, P::SelectCity, 0x00030073U, 0x00030075U, 0, 0, 0, 1501},
134 {Object::CURRENCY_BUTTON_RIGHT, P::SelectCity, 0x00030080U, 0x00030082U, 0, 0, 0, 1501},
135 {Object::CITY_BUTTON_NEXT, P::SelectCity, (europe ? 0x000503E9U : 0x0005025EU), (europe ? 0x000503E8U : 0x0005025DU), (europe ? 0x000503E7U : 0x0005025CU), 0, -18, 1000},
136 {Object::RULESCHOICE_BUTTON_STANDARD, P::StandardOrCustomRules, (europe ? 0x0005042FU : 0x000502A3U), (europe ? 0x0005042EU : 0x000502A2U), (europe ? 0x0005042DU : 0x000502A1U), 0, 0, 1000},
137 {Object::RULESCHOICE_BUTTON_CUSTOM, P::StandardOrCustomRules, (europe ? 0x000503B5U : 0x0005022BU), (europe ? 0x000503B4U : 0x0005022AU), (europe ? 0x000503B3U : 0x00050229U), 0, 0, 1000},
138 {Object::RULES_TITLE, P::CustomizeRules, (europe ? 0x0005041FU : 0x00050293U), 0, 0, 0, -152, 1000},
139 {Object::RULES_BUTTON_OKAY, P::CustomizeRules, (europe ? 0x000503F9U : 0x0005026EU), (europe ? 0x000503F8U : 0x0005026DU), (europe ? 0x000503FAU : 0x0005026FU), 337, 450, 1000},
140 {Object::RULES_BUTTON_RESTORESTANDARD, P::CustomizeRules, (europe ? 0x0005041BU : 0x0005028FU), (europe ? 0x0005041AU : 0x0005028EU), (europe ? 0x00050419U : 0x0005028DU), 0, 0, 1000},
141 {Object::RULES_BUTTON_SHORTGAME, P::CustomizeRules, (europe ? 0x0005041EU : 0x00050292U), (europe ? 0x0005041DU : 0x00050291U), (europe ? 0x0005041CU : 0x00050290U), 0, 0, 1000},
142 };
143 }
144}
unsigned index
std::uint32_t DataId
Definition DataBanks.hpp:10
std::vector< ObjectSpec > catalog(bool europe)