mirror of
https://github.com/knightfox75/nds_nflib.git
synced 2025-06-18 16:55:32 -04:00
library: Fix typo in function name
This commit is contained in:
parent
7dd92e646b
commit
92f39078a1
@ -164,11 +164,11 @@ int main(int argc, char **argv) {
|
||||
NF_Set3dSpritePriority(TARGET, prio);
|
||||
}
|
||||
// Restaura la prioridad por defecto
|
||||
if (keys & KEY_X) NF_3dSpriteSetDeep(TARGET, 0);
|
||||
if (keys & KEY_X) NF_3dSpriteSetDepth(TARGET, 0);
|
||||
// Fuerza estar al frente
|
||||
if (keys & KEY_R) NF_3dSpriteSetDeep(TARGET, -512);
|
||||
if (keys & KEY_R) NF_3dSpriteSetDepth(TARGET, -512);
|
||||
// Fuerza estar al fondo
|
||||
if (keys & KEY_L) NF_3dSpriteSetDeep(TARGET, 512);
|
||||
if (keys & KEY_L) NF_3dSpriteSetDepth(TARGET, 512);
|
||||
|
||||
// Dibuja los 3D Sprites
|
||||
NF_Draw3dSprites();
|
||||
|
@ -403,7 +403,10 @@ void NF_3dSpriteGetPalColor(u8 pal, u8 number, u8* r, u8* g, u8* b);
|
||||
///
|
||||
/// Change the sprite depth to prevent it from intersecting with other sprites
|
||||
/// when rotation or zoom are applied.
|
||||
void NF_3dSpriteSetDeep(u8 id, s16 z);
|
||||
void NF_3dSpriteSetDepth(u8 id, s16 z);
|
||||
|
||||
// Defines for backwards compatibility
|
||||
#define NF_3dSpriteSetDeep NF_3dSpriteSetDepth
|
||||
|
||||
/// @}
|
||||
|
||||
|
@ -1089,8 +1089,8 @@ void NF_3dSpriteGetPalColor(u8 pal, u8 number, u8* r, u8* g, u8* b) {
|
||||
}
|
||||
|
||||
|
||||
// Funcion NF_3dSpriteSetDeep();
|
||||
void NF_3dSpriteSetDeep(u8 id, s16 z) {
|
||||
// Funcion NF_3dSpriteSetDepth();
|
||||
void NF_3dSpriteSetDepth(u8 id, s16 z) {
|
||||
|
||||
// Asigna la profundidad
|
||||
NF_3DSPRITE[id].z = z;
|
||||
|
Loading…
Reference in New Issue
Block a user