Fixed loading of tilesets and images from tilemaps to correctly use relative paths.
This commit is contained in:
@@ -3,8 +3,9 @@
|
||||
|
||||
#include "string.h"
|
||||
#include <akerror.h>
|
||||
#include <limits.h>
|
||||
|
||||
#define AKGL_MAX_STRING_LENGTH 256
|
||||
#define AKGL_MAX_STRING_LENGTH PATH_MAX
|
||||
|
||||
typedef struct
|
||||
{
|
||||
@@ -13,5 +14,5 @@ typedef struct
|
||||
} akgl_String;
|
||||
|
||||
akerr_ErrorContext AKERR_NOIGNORE *akgl_string_initialize(akgl_String *obj, char *init);
|
||||
|
||||
akerr_ErrorContext AKERR_NOIGNORE *akgl_string_copy(akgl_String *src, akgl_String *dst, int count);
|
||||
#endif //_STRING_H_
|
||||
|
||||
Reference in New Issue
Block a user