mac fixes

1) add sdl token for referencing the parent directory of the aplication bundle when determining the root dir
2) shape and mateiral asset macro corrections for a few stray ## redundencies (space, ->, . ect are all conidered token sperators in and of themselves)
This commit is contained in:
AzaezelX 2020-12-30 19:36:51 -06:00
parent 1fbf46fa90
commit 6b53b6581a
3 changed files with 6 additions and 4 deletions

View file

@ -269,14 +269,14 @@ static bool _set##name##Asset(void* obj, const char* index, const char* data)\
}\
return false;\
}\
void className::pack##name##Asset(BitStream *stream)\
void pack##name##Asset(BitStream *stream)\
{\
if (stream->writeFlag(m##name##Asset.notNull()))\
stream->writeString(m##name##Asset.getAssetId());\
else\
stream->writeString(m##name##Name);\
}\
void className::unpack##name##Asset(BitStream *stream)\
void unpack##name##Asset(BitStream *stream)\
{\
if (stream->readFlag())\
{\