mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-11 02:53:16 -04:00
d_camera / m_Do_ext / d_particle + minor various wip (#210)
This commit is contained in:
@@ -196,9 +196,9 @@ void dRenderingMap_c::makeResTIMG(ResTIMG* p_image, u16 width, u16 height, u8* p
|
||||
p_image->height = height;
|
||||
p_image->wrapS = GX_CLAMP;
|
||||
p_image->wrapT = GX_CLAMP;
|
||||
p_image->palettesEnabled = true;
|
||||
p_image->paletteFormat = 2;
|
||||
p_image->paletteCount = param_5 * 4;
|
||||
p_image->indexTexture = true;
|
||||
p_image->colorFormat = 2;
|
||||
p_image->numColors = param_5 * 4;
|
||||
p_image->paletteOffset = p_palette - (u8*)p_image;
|
||||
p_image->mipmapEnabled = false;
|
||||
p_image->doEdgeLOD = false;
|
||||
@@ -210,7 +210,7 @@ void dRenderingMap_c::makeResTIMG(ResTIMG* p_image, u16 width, u16 height, u8* p
|
||||
p_image->maxLOD = 0;
|
||||
p_image->mipmapCount = 1;
|
||||
p_image->LODBias = 0;
|
||||
p_image->texDataOffset = p_data - (u8*)p_image;
|
||||
p_image->imageOffset = p_data - (u8*)p_image;
|
||||
}
|
||||
|
||||
/* 8003CDAC-8003CE78 0376EC 00CC+00 0/0 2/2 0/0 .text renderingMap__15dRenderingMap_cFv
|
||||
|
||||
@@ -245,7 +245,7 @@ Vec dMapInfo_n::getMapPlayerPos() {
|
||||
Vec pos;
|
||||
fopAc_ac_c* player = daPy_getPlayerActorClass();
|
||||
if (player != NULL) {
|
||||
pos = player->mCurrent.mPosition;
|
||||
pos = player->current.pos;
|
||||
} else {
|
||||
f32 tmp = FLOAT_LABEL(lit_3796);
|
||||
pos.x = tmp;
|
||||
|
||||
Reference in New Issue
Block a user