mirror of https://github.com/zeldaret/tmc.git
				
				
				
			
		
			
				
	
	
		
			30 lines
		
	
	
		
			805 B
		
	
	
	
		
			C
		
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			805 B
		
	
	
	
		
			C
		
	
	
	
| #ifndef POSITION_H
 | |
| #define POSITION_H
 | |
| 
 | |
| #include "global.h"
 | |
| #include "entity.h"
 | |
| 
 | |
| s16 FixedMul(s16 r0, s16 r1);
 | |
| s16 FixedDiv(s16 r0, s16 r1);
 | |
| 
 | |
| void* AllocMutableHitbox(Entity*);
 | |
| void UnloadHitbox(Entity*);
 | |
| 
 | |
| void CopyPosition(Entity*, Entity*);
 | |
| void PositionEntityOnTop(Entity*, Entity*);
 | |
| void PositionRelative(Entity*, Entity*, s32, s32);
 | |
| void CopyPositionAndSpriteOffset(Entity* param_1, Entity* param_2);
 | |
| void sub_0806FA90(Entity*, Entity*, s32, s32);
 | |
| void SortEntityAbove(Entity* below_ent, Entity* above_ent);
 | |
| void SortEntityBelow(Entity* above_ent, Entity* below_ent);
 | |
| 
 | |
| u32 sub_0806F5A4(u32 idx);
 | |
| bool32 sub_0806F3E4(Entity*);
 | |
| void LinearMoveUpdate(Entity*);
 | |
| bool32 sub_0806FD54(Entity*);
 | |
| u32 sub_0806FCAC(Entity*, Entity*);
 | |
| 
 | |
| extern const s16 gSineTable[64];
 | |
| extern const s16 gCosineTable[256];
 | |
| #endif
 |