Scene script
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
errorret_t assetInitPBP(const char_t *pbpPath) {
|
||||
assertNotNull(pbpPath, "PBP path cannot be null.");
|
||||
assertStrLenMin(pbpPath, 1, "PBP path cannot be empty.");
|
||||
assertStrLenMax(pbpPath, FILENAME_MAX, "PBP path is too long.");
|
||||
assertStrLenMax(pbpPath, ASSET_FILE_PATH_MAX, "PBP path is too long.");
|
||||
|
||||
ASSET.platform.pbpFile = fopen(pbpPath, "rb");
|
||||
if(ASSET.platform.pbpFile == NULL) {
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
#include "error/error.h"
|
||||
#include "asset/assetfile.h"
|
||||
|
||||
#define ASSET_PBP_SIGNATURE_SIZE 4
|
||||
#define ASSET_PBP_SIGNATURE "\0PBP"
|
||||
|
||||
Reference in New Issue
Block a user