mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-09-04 10:51:37 -04:00
load course dl textures from otr and move objects
This commit is contained in:
@@ -4,10 +4,9 @@
|
||||
#include <memory>
|
||||
|
||||
#include "MarioRaceway.h"
|
||||
#include "GameObject.h"
|
||||
#include "World.h"
|
||||
#include "engine/actors/AFinishline.h"
|
||||
#include "engine/vehicles/OBombKart.h"
|
||||
#include "engine/objects/OBombKart.h"
|
||||
|
||||
extern "C" {
|
||||
#include "main.h"
|
||||
@@ -34,11 +33,45 @@ extern "C" {
|
||||
extern const char *mario_raceway_dls[];
|
||||
}
|
||||
|
||||
const course_texture mario_raceway_textures[] = {
|
||||
{ gTextureCheckerboardYellowPink, 0x0149, 0x0800, 0x0 },
|
||||
{ gTexture64619C, 0x0124, 0x0800, 0x0 },
|
||||
{ gTextureGrass1, 0x0125, 0x0800, 0x0 },
|
||||
{ gTexture64BB60, 0x0169, 0x0800, 0x0 },
|
||||
{ gTextureGrass7, 0x05DE, 0x0800, 0x0 },
|
||||
{ gTextureGrass5, 0x023F, 0x0800, 0x0 },
|
||||
{ gTextureFlagRed, 0x019E, 0x0800, 0x0 },
|
||||
{ gTexture663F90, 0x0122, 0x0800, 0x0 },
|
||||
{ gTexture6642A4, 0x0162, 0x0800, 0x0 },
|
||||
{ gTexture6640B4, 0x01EF, 0x0800, 0x0 },
|
||||
{ gTextureGrass10, 0x01F8, 0x0800, 0x0 },
|
||||
{ gTexture6684F8, 0x010D, 0x0800, 0x0 },
|
||||
{ gTextureSignLuigis0, 0x0287, 0x1000, 0x0 },
|
||||
{ gTextureSignLuigis1, 0x02AF, 0x1000, 0x0 },
|
||||
{ gTextureSignMarioStar0, 0x02D2, 0x1000, 0x0 },
|
||||
{ gTextureSignMarioStar1, 0x02B1, 0x1000, 0x0 },
|
||||
{ gTexture66C8F4, 0x01A1, 0x0800, 0x0 },
|
||||
{ gTextureSignNintendoRed0, 0x02A6, 0x1000, 0x0 },
|
||||
{ gTextureSignNintendoRed1, 0x02F7, 0x1000, 0x0 },
|
||||
{ gTexture670AC8, 0x0FBF, 0x1000, 0x0 },
|
||||
{ gTexture674354, 0x046F, 0x0800, 0x0 },
|
||||
{ gTextureRoad0, 0x0300, 0x1000, 0x0 },
|
||||
{ gTextureRoadFinish0, 0x0338, 0x1000, 0x0 },
|
||||
{ gTexture67B9B0, 0x0225, 0x0800, 0x0 },
|
||||
{ gTextureSignYoshi, 0x04DF, 0x1000, 0x0 },
|
||||
{ gTextureCheckerboardBlueGray, 0x04A1, 0x1000, 0x0 },
|
||||
{ gTextureSignShellShot0, 0x038C, 0x1000, 0x0 },
|
||||
{ gTextureSignShellShot1, 0x0247, 0x1000, 0x0 },
|
||||
{ gTextureSignKoopaAir0, 0x0360, 0x1000, 0x0 },
|
||||
{ gTextureSignKoopaAir1, 0x0304, 0x1000, 0x0 },
|
||||
{ 0x00000000, 0x0000, 0x0000, 0x0 },
|
||||
};
|
||||
|
||||
MarioRaceway::MarioRaceway() {
|
||||
this->vtx = d_course_mario_raceway_vertex;
|
||||
this->gfx = d_course_mario_raceway_packed_dls;
|
||||
this->gfxSize = 3367;
|
||||
this->textures = mario_raceway_textures;
|
||||
Props.textures = mario_raceway_textures;
|
||||
Props.MinimapTexture = gTextureCourseOutlineMarioRaceway;
|
||||
Props.D_800E5548[0] = 64;
|
||||
Props.D_800E5548[1] = 64;
|
||||
|
||||
Reference in New Issue
Block a user