mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 21:40:31 +00:00
Merge branch 'development' of https://github.com/GarageGames/Torque3D into memberMess
# Conflicts: # Engine/source/console/consoleFunctions.cpp
This commit is contained in:
commit
cbce2ee805
154 changed files with 2950 additions and 705 deletions
|
|
@ -184,7 +184,7 @@ void afxAudioBank::packData(BitStream* stream)
|
|||
if(!mFilename)
|
||||
buffer[0] = 0;
|
||||
else
|
||||
dStrcpy(buffer, mFilename);
|
||||
dStrcpy(buffer, mFilename, 256);
|
||||
stream->writeString(buffer);
|
||||
*/
|
||||
|
||||
|
|
|
|||
|
|
@ -141,8 +141,9 @@ bool afxParticleEmitterData::onAdd()
|
|||
if (tpaths_string != ST_NULLSTRING)
|
||||
{
|
||||
Vector<char*> dataBlocks(__FILE__, __LINE__);
|
||||
char* tokCopy = new char[dStrlen(tpaths_string) + 1];
|
||||
dStrcpy(tokCopy, tpaths_string);
|
||||
dsize_t tokCopyLen = dStrlen(tpaths_string) + 1;
|
||||
char* tokCopy = new char[tokCopyLen];
|
||||
dStrcpy(tokCopy, tpaths_string, tokCopyLen);
|
||||
|
||||
char* currTok = dStrtok(tokCopy, " \t");
|
||||
while (currTok != NULL)
|
||||
|
|
@ -467,8 +468,9 @@ bool afxParticleEmitterPathData::onAdd()
|
|||
if (epaths_string != ST_NULLSTRING)
|
||||
{
|
||||
Vector<char*> dataBlocks(__FILE__, __LINE__);
|
||||
char* tokCopy = new char[dStrlen(epaths_string) + 1];
|
||||
dStrcpy(tokCopy, epaths_string);
|
||||
dsize_t tokCopyLen = dStrlen(epaths_string) + 1;
|
||||
char* tokCopy = new char[tokCopyLen];
|
||||
dStrcpy(tokCopy, epaths_string, tokCopyLen);
|
||||
|
||||
char* currTok = dStrtok(tokCopy, " \t");
|
||||
while (currTok != NULL)
|
||||
|
|
@ -552,8 +554,9 @@ void afxParticleEmitterPathData::onPerformSubstitutions()
|
|||
if (epaths_string != ST_NULLSTRING)
|
||||
{
|
||||
Vector<char*> dataBlocks(__FILE__, __LINE__);
|
||||
char* tokCopy = new char[dStrlen(epaths_string) + 1];
|
||||
dStrcpy(tokCopy, epaths_string);
|
||||
dsize_t tokCopyLen = dStrlen(epaths_string) + 1;
|
||||
char* tokCopy = new char[tokCopyLen];
|
||||
dStrcpy(tokCopy, epaths_string, tokCopyLen);
|
||||
|
||||
char* currTok = dStrtok(tokCopy, " \t");
|
||||
while (currTok != NULL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue