Scene script

This commit is contained in:
2026-04-20 15:34:24 -05:00
parent b89ae2391b
commit b640295be2
14 changed files with 143 additions and 27 deletions
+1 -1
View File
@@ -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) {
+1
View File
@@ -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"