Compare commits
2
Commits
db42bca44b
...
327c2bec70
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
327c2bec70 | ||
|
|
fc0195d9f7 |
No files matched your search
@@ -9,7 +9,7 @@
|
||||
#include "error/error.h"
|
||||
#include <zip.h>
|
||||
|
||||
#define ASSET_FILE_NAME_MAX 48
|
||||
#define ASSET_FILE_NAME_MAX 128
|
||||
|
||||
// Max bytes requested per zip_fread() call in assetFileRead(). Some
|
||||
// zip_fread() implementations (seen on PSP) reject a single call asking
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "rpg/entity/entity.h"
|
||||
#include "rpg/entity/entitytype.h"
|
||||
#include "rpg/overworld/worldpos.h"
|
||||
#include "rpg/overworld/map.h"
|
||||
|
||||
uiplayerpos_t UIPLAYERPOS;
|
||||
|
||||
@@ -46,7 +47,8 @@ errorret_t uiPlayerPosDraw() {
|
||||
stringFormat(
|
||||
UIPLAYERPOS.text,
|
||||
UI_PLAYERPOS_TEXT_MAX - 1,
|
||||
"%d,%d,%d[%d,%d,%d]#%d",
|
||||
"%s %d,%d,%d[%d,%d,%d]#%d",
|
||||
MAP.name,
|
||||
(int_t)player->position.x,
|
||||
(int_t)player->position.y,
|
||||
(int_t)player->position.z,
|
||||
|
||||
@@ -28,9 +28,9 @@ extern uiplayerpos_t UIPLAYERPOS;
|
||||
errorret_t uiPlayerPosInit();
|
||||
|
||||
/**
|
||||
* Draws the player world position, chunk position, and chunk index on
|
||||
* screen. Searches for the first ENTITY_TYPE_PLAYER and renders:
|
||||
* WORLDX,WORLDY,WORLDZ[chunkx,chunky,chunkz]#chunkIndex
|
||||
* Draws the current map name, player world position, chunk position, and
|
||||
* chunk index on screen. Searches for the first ENTITY_TYPE_PLAYER and
|
||||
* renders: MAPNAME WORLDX,WORLDY,WORLDZ[chunkx,chunky,chunkz]#chunkIndex
|
||||
*
|
||||
* @return Any error that occurs.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user