A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
ObjectId.hh
Go to the documentation of this file.
1#pragma once
2
3#include <Common.hh>
4
5namespace Kinoko::Field {
6
10enum class ObjectId {
11 None = 0x0,
12 Psea = 0x2,
13 Itembox = 0x65,
14 DummyPole = 0x66,
15 Woodbox = 0x70,
16 SunDS = 0x72,
17 WLWallGC = 0xcb,
18 CarA1 = 0xcc,
19 Basabasa = 0xcd,
20 HeyhoShipGBA = 0xce,
21 KoopaBall = 0xcf,
22 KartTruck = 0xd0,
23 CarBody = 0xd1,
24 W_Woodbox = 0xd3,
25 ItemboxLine = 0xd5,
26 VolcanoBall = 0xd6,
27 PenguinS = 0xd7,
28 PenguinM = 0xd8,
29 Dossunc = 0xdb,
30 DossuncSoko = 0xdc,
31 Boble = 0xdd,
32 Hanachan = 0xe2,
33 Seagull = 0xe3,
34 Crab = 0xe5,
36 CarA2 = 0xe7,
37 CarA3 = 0xe8,
38 Hwanwan = 0xe9,
39 HeyhoBallGBA = 0xea,
40 DokanSFC = 0x12e,
41 CastleTree1c = 0x130,
42 MarioTreeGCc = 0x134,
43 PeachTreeGCc = 0x138,
45 WLDokanGC = 0x13f,
46 MarioGo64c = 0x140,
47 KinokoT1 = 0x142,
48 Pylon = 0x144,
49 PalmTree = 0x145,
50 Parasol = 0x146,
51 HeyhoTreeGBAc = 0x14a,
52 GardenTreeDSc = 0x151,
53 DKtreeA64c = 0x158,
54 DKTreeB64c = 0x15a,
55 TownTreeDsc = 0x15b,
56 OilSFC = 0x15d,
57 ParasolR = 0x16e,
60 KoopaFigure64 = 0x18b,
61 Kuribo = 0x191,
62 Choropu = 0x192,
63 Cow = 0x193,
64 PakkunF = 0x194,
65 WLFirebarGC = 0x195,
66 Wanwan = 0x196,
67 Poihana = 0x197,
68 DKRockGC = 0x198,
69 Sanbo = 0x199,
70 Choropu2 = 0x19a,
71 TruckWagon = 0x19b,
72 Heyho = 0x19c,
73 Press = 0x19d,
74 PressSoko = 0x19e,
75 WLFireRingGC = 0x1a1,
76 PakkunDokan = 0x1a2,
77 FireSnake = 0x1a4,
78 KoopaFirebar = 0x1a5,
79 Propeller = 0x1a6,
80 DCPillarC = 0x1a7,
81 FireSnakeV = 0x1a8,
82 PuchiPakkun = 0x1aa,
83 KinokoUd = 0x1f5,
84 KinokoBend = 0x1f6,
85 VolcanoRock = 0x1f7,
86 BulldozerL = 0x1f8,
87 BulldozerR = 0x1f9,
88 KinokoNm = 0x1fa,
89 Crane = 0x1fb,
90 VolcanoPiece = 0x1fc,
91 FlamePole = 0x1fd,
92 TwistedWay = 0x1fe,
93 TownBridge = 0x1ff,
94 DKShip64 = 0x200,
95 Turibashi = 0x202,
96 FlamePoleEff = 0x203,
97 Aurora = 0x204,
98 DCPillar = 0x208,
99 Sandcone = 0x209,
100 Ami = 0x20e,
101 FlamePoleV = 0x212,
103 Mdush = 0x217,
104 BeltEasy = 0x25a,
105 BeltCrossing = 0x25b,
106 BeltCurveA = 0x25c,
107 Escalator = 0x25e,
109};
110
115 Itembox = 0x65,
116 CastleTree2 = 0x131,
118 MarioTreeGC = 0x133,
119 DonkyTree1GC = 0x135,
120 DonkyTree2GC = 0x136,
121 PeachTreeGC = 0x137,
123 GardenTreeDS = 0x150,
124 FlagA1 = 0x152,
125 FlagA2 = 0x153,
126 FlagB1 = 0x154,
127 FlagB2 = 0x155,
128 FlagA3 = 0x156,
129 DKTreeA64 = 0x157,
130 DKTreeB64 = 0x159,
131 MiiBalloon = 0x160,
132 Windmill = 0x161,
133 TownTreeDS = 0x163,
134 Hanabi = 0x16a,
135 LightHouse = 0x16d,
136 FlagA5 = 0x180,
137 SentakuDS = 0x189,
138 FlagB3 = 0x2c4,
139 FlagB4 = 0x2c7,
140 UtsuboDokan = 0x2d6,
141 EnvSnow = 0x2ef,
142};
143
185
186} // namespace Kinoko::Field
This header houses common data types such as our integral types and enums.
Pertains to collision.
ObjectId
Unique identifiers for each object.
Definition ObjectId.hh:10
@ GardenTreeDSc
The DS Peach Gardens trees.
Definition ObjectId.hh:52
@ SunDS
DS Desert Hills sun that shoots ObjectFireSnake projectiles.
Definition ObjectId.hh:16
@ Press
The Toad's Factory stompers.
Definition ObjectId.hh:73
@ KoopaFirebar
The Bowser's Castle rotating firebar before the last turn.
Definition ObjectId.hh:78
@ Boble
The GBA Bowser Castle 3 rising/falling fireballs.
Definition ObjectId.hh:31
@ FlamePole
The Bowser's Castle fire pillars erupting from geysers.
Definition ObjectId.hh:91
@ TownTreeDsc
The DS Delfino Square trees.
Definition ObjectId.hh:55
@ ObakeBlockSFCc
A subset of the wall blocks on SNES Ghost Valley 2.
Definition ObjectId.hh:44
@ ObakeBlock2SFCc
A subset of the wall blocks on SNES Ghost Valley 2.
Definition ObjectId.hh:58
@ KinokoBend
Bending mushrooms on MG (functionality unused in-game).
Definition ObjectId.hh:84
@ DKShip64
The N64 DK's Jungle Parkway paddle steamer.
Definition ObjectId.hh:94
@ Hanachan
The Maple Treeway Wiggler.
Definition ObjectId.hh:32
@ Itembox
An item box.
Definition ObjectId.hh:13
@ Mdush
The Mario Circuit trick ramp near the Chain Chomp.
Definition ObjectId.hh:103
@ Dossunc
A Thwomp or group of Thwomps, like on N64 Bowser's Castle.
Definition ObjectId.hh:29
@ PeachTreeGCc
The GCN Peach Beach trees.
Definition ObjectId.hh:43
@ Escalator
The Coconut Mall single escalators.
Definition ObjectId.hh:107
@ FlamePoleV
A vertical fire pillar, like on Grumble Volcano.
Definition ObjectId.hh:101
@ VolcanoPiece
The Grumble Volcano shaking/falling sections of the floor.
Definition ObjectId.hh:90
@ KinokoUd
Oscillating mushrooms on MG (functionality unused in-game).
Definition ObjectId.hh:83
@ Choropu2
The DS Peach Gardens moles which do not move.
Definition ObjectId.hh:70
@ WLDokanGC
The GCN Waluigi Stadium giant piranhas (not including the pipes).
Definition ObjectId.hh:45
@ KoopaFigure64
The N64 Bowser's Castle Bowser statues.
Definition ObjectId.hh:60
@ HeyhoShipGBA
GBA Shy Guy Beach ship shooting ObjectHeyhoBall projectiles.
Definition ObjectId.hh:20
@ PakkunF
The GCN Mario Circuit piranhas (not including the pipe).
Definition ObjectId.hh:64
@ Ami
The Maple Treeway net.
Definition ObjectId.hh:100
@ PalmTree
The Coconut Mall palm trees.
Definition ObjectId.hh:49
@ Wanwan
The Mario Circuit and GCN Mario Circuit Chain Chomps.
Definition ObjectId.hh:66
@ Aurora
The Rainbow Road wavy trick road.
Definition ObjectId.hh:97
@ PakkunDokan
The GCN Mario Circuit pipes holding piranha plants.
Definition ObjectId.hh:76
@ ObakeBlock3SFCc
A subset of the wall blocks on SNES Ghost Valley 2.
Definition ObjectId.hh:59
@ BulldozerL
The left bulldozer on Toad's Factory.
Definition ObjectId.hh:86
@ Psea
The GCN Peach Beach rising water.
Definition ObjectId.hh:12
@ TownBridge
The DS Delfino Square drawbridge.
Definition ObjectId.hh:93
@ DCPillarC
The part of the Dry Dry Ruins pillars that falls.
Definition ObjectId.hh:80
@ DummyPole
Used for some finish line poles, like on Mario Circuit.
Definition ObjectId.hh:14
@ CarBody
The Moonview Highway cars.
Definition ObjectId.hh:23
@ Hwanwan
The DS Peach Gardens walking Chain Chomps.
Definition ObjectId.hh:38
@ None
Represents the absence of an object.
Definition ObjectId.hh:11
@ BeltEasy
The Toad's Factory conveyor belts outside the factory.
Definition ObjectId.hh:104
@ BulldozerR
The right bulldozer on Toad's Factory.
Definition ObjectId.hh:87
@ FlamePoleVBig
The large fire pillars at the end of N64 Bowser's Castle.
Definition ObjectId.hh:102
@ VolcanoRock
The Grumble Volcano oscillating platforms.
Definition ObjectId.hh:85
@ Propeller
The Koopa Cape rotating shell lasers.
Definition ObjectId.hh:79
@ KartTruck
The Moonview Highway trucks.
Definition ObjectId.hh:22
@ Heyho
The DK Summit snowboarding Shy Guys.
Definition ObjectId.hh:72
@ Sandcone
The Dry Dry Ruins rising sand cones.
Definition ObjectId.hh:99
@ MarioGo64c
The N64 Mario Raceway rotating signs.
Definition ObjectId.hh:46
@ Woodbox
The DS Delfino Square breakable wooden boxes.
Definition ObjectId.hh:15
@ Parasol
The Coconut Mall umbrellas.
Definition ObjectId.hh:50
@ VolcanoBall
The Grumble Volcano fireballs that erupt from the volcano.
Definition ObjectId.hh:26
@ HeyhoBallGBA
The GBA Shy Guy Beach cannonball shot from an ObjectHeyhoShip.
Definition ObjectId.hh:39
@ Crane
The Toad's Factory moving platforms outside the factory.
Definition ObjectId.hh:89
@ Turibashi
The GCN DK Mountain swaying wooden bridge.
Definition ObjectId.hh:95
@ CarA2
The middle car before the last turn of Coconut Mall.
Definition ObjectId.hh:36
@ DKRockGC
The GCN DK Mountain rocks that roll down the mountain.
Definition ObjectId.hh:68
@ MarioTreeGCc
The GCN Mario Circuit trees.
Definition ObjectId.hh:42
@ Sanbo
The Dry Dry Ruins and DS Desert Hills Pokies.
Definition ObjectId.hh:69
@ W_Woodbox
The Toad's Factory box spawners outside the factory.
Definition ObjectId.hh:24
@ FireSnakeV
The Grumble Volcano bouncing firesnakes.
Definition ObjectId.hh:81
@ Kuribo
Goombas, like on Mario Circuit.
Definition ObjectId.hh:61
@ Choropu
The Moo Moo Meadows moles that move along a Rail.
Definition ObjectId.hh:62
@ CastleTree1c
The Mario Circuit trees.
Definition ObjectId.hh:41
@ ParasolR
The GBA Shy Guy Beach umbrellas.
Definition ObjectId.hh:57
@ OilSFC
The SNES Mario Circuit 3 oil slick.
Definition ObjectId.hh:56
@ PenguinM
N64 Sherbet Land penguins that walk in the cave.
Definition ObjectId.hh:28
@ HeyhoTreeGBAc
The GBA Shy Guy Beach trees.
Definition ObjectId.hh:51
@ KinokoNm
The green non-trickable mushrooms on Mushroom Gorge.
Definition ObjectId.hh:88
@ DKTreeB64c
A subset of the N64 DK's Jungle Parkway trees.
Definition ObjectId.hh:54
@ PuchiPakkun
The N64 Mario Raceway piranhas.
Definition ObjectId.hh:82
@ BeltCurveA
The Toad's Factory curved conveyor belts.
Definition ObjectId.hh:106
@ CarA3
The first car before the last turn of Coconut Mall.
Definition ObjectId.hh:37
@ Pylon
The Daisy Circuit traffic cones.
Definition ObjectId.hh:48
@ PressSoko
ID for a stomper which is actively crushing.
Definition ObjectId.hh:74
@ DossuncSoko
ID for a Thwomp that is actively crushing.
Definition ObjectId.hh:30
@ CarA1
The last car before the last turn of Coconut Mall.
Definition ObjectId.hh:18
@ KoopaBall
The Bowser's Castle rolling/exploding fireball.
Definition ObjectId.hh:21
@ FireSnake
The DS Desert Hills bouncing firesnakes.
Definition ObjectId.hh:77
@ DokanSFC
The SNES Mario Circuit 3 pipes.
Definition ObjectId.hh:40
@ DKtreeA64c
A subset of the N64 DK's Jungle Parkway trees.
Definition ObjectId.hh:53
@ BeltCrossing
The Toad's Factory left+right conveyor belt after the first turn.
Definition ObjectId.hh:105
@ EscalatorGroup
The Coconut Mall double-escalators.
Definition ObjectId.hh:108
@ WLFirebarGC
The GCN Waluigi Stadium rotating firebars.
Definition ObjectId.hh:65
@ WLWallGC
The GCN Waluigi Stadium giant pipes (not including the piranhas).
Definition ObjectId.hh:17
@ Basabasa
The Wario's Gold Mine and Dry Dry Ruins bat spawners.
Definition ObjectId.hh:19
@ KinokoT1
The super tall mushrooms on Mushroom Gorge.
Definition ObjectId.hh:47
@ PenguinS
N64 Sherbet Land penguins that slide on their belly.
Definition ObjectId.hh:27
@ BasabasaDummy
A bat spawned from an ObjectBasabasa spawner.
Definition ObjectId.hh:35
@ TwistedWay
The Bowser's Castle twisting road at the start of the castle.
Definition ObjectId.hh:92
@ FlamePoleEff
The fire pillar effect of a ObjectFlamePole.
Definition ObjectId.hh:96
@ ItemboxLine
Represents the Toad's Factory side stompers after the first turn.
Definition ObjectId.hh:25
@ Poihana
The GCN Peach Beach cataquacks.
Definition ObjectId.hh:67
@ DCPillar
Represents the base + pillar of the Dry Dry Ruins falling pillars.
Definition ObjectId.hh:98
@ Seagull
Flying group of seagulls, like on Toad's Factory.
Definition ObjectId.hh:33
@ TruckWagon
The Wario's Gold Mine minecart spawners.
Definition ObjectId.hh:71
@ Cow
The Moo Moo Meadows cows.
Definition ObjectId.hh:63
@ Crab
The GBA Shy Guy Beach crabs.
Definition ObjectId.hh:34
@ WLFireRingGC
The GCN Waluigi Stadium rotating fireball rings.
Definition ObjectId.hh:75
BlacklistedObjectId
Unique identifiers for objects which are not implemented in Kinoko.
Definition ObjectId.hh:114
@ FlagB2
"L" flag on Luigi Circuit
Definition ObjectId.hh:127
@ FlagA2
Starting line flag on Moo Moo Meadows.
Definition ObjectId.hh:125
@ MiiBalloon
Floating balloon on Coconut Mall.
Definition ObjectId.hh:131
@ TownTreeDS
Decorative trees on DS Delfino Square.
Definition ObjectId.hh:133
@ DonkyTree2GC
Decorative trees on GCN DK Mountain.
Definition ObjectId.hh:120
@ DonkyTree1GC
Decorative trees on GCN DK Mountain.
Definition ObjectId.hh:119
@ SentakuDS
Hanging clothes on DS Delfino Square.
Definition ObjectId.hh:137
@ LightHouse
The lighthouse on Daisy Circuit.
Definition ObjectId.hh:135
@ Windmill
Rotating windmill on Moo Moo Meadows.
Definition ObjectId.hh:132
@ FlagA5
Starting line flag on Koopa Cape.
Definition ObjectId.hh:136
@ MarioTreeGC
Decorative trees on GCN Mario Circuit.
Definition ObjectId.hh:118
@ DKTreeA64
Decorative trees on N64 DK's Jungle Parkway.
Definition ObjectId.hh:129
@ PeachHunsuiGC
Decorative fountain on GCN Peach Beach.
Definition ObjectId.hh:122
@ FlagA1
Starting line flag on Wario's Gold Mine.
Definition ObjectId.hh:124
@ PeachTreeGC
Decorative trees on GCN Peach Beach.
Definition ObjectId.hh:121
@ UtsuboDokan
Eels on Koopa Cape.
Definition ObjectId.hh:140
@ FlagB4
Dark shell flag on Koopa Cape.
Definition ObjectId.hh:139
@ Hanabi
Fireworks on cutscene tracks.
Definition ObjectId.hh:134
@ FlagB3
Bright shell flag on Koopa Cape.
Definition ObjectId.hh:138
@ FlagB1
"W" flag on Wario's Gold Mine
Definition ObjectId.hh:126
@ GardenTreeDS
Decorative trees on DS Peach Gardens.
Definition ObjectId.hh:123
@ FlagA3
Bright shell flag on Koopa Cape.
Definition ObjectId.hh:128
@ CastleFlower1
Decorative flowers on Mario Circuit.
Definition ObjectId.hh:117
@ CastleTree2
Decorative trees on Mario Circuit.
Definition ObjectId.hh:116
@ DKTreeB64
Decorative trees on N64 DK's Jungle Parkway.
Definition ObjectId.hh:130
@ EnvSnow
Snow effect on DK Summit.
Definition ObjectId.hh:141
static constexpr bool IsObjectBlacklisted(u16 id)
Checks if the object ID is blacklisted and should not be loaded in Kinoko.
Definition ObjectId.hh:147
uint16_t u16
Definition Memory.hh:17