Torque 3D 3.7
ContentsIndexHome
PreviousUpNext
platform.h

Copyright (c) 2012 GarageGames, LLC 

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

 
Name 
Description 
 
This is record DFILE_STATUS. 
 
Physical type of a drive. 
 
Properties for CPU. 
 
Global processor identifiers.
@note These enums must be globally scoped so that they work with the inline assembly 
 
Name 
Description 
 
This is function delete. 
 
This is function delete[]. 
 
This is function dFileClose. 
 
FileIO functions
 
 
This is function dFileRead. 
 
This is function dFileRename. 
 
 
 
This is function dFileWrite. 
 
This is function dFree. 
 
This is function dFree_aligned. 
 
This is function dMalloc_aligned. 
 
Don't manage our own memory 
 
 
 
This is function dMemcpy. 
 
 
 
 
 
This is function dOpenFileRead. 
 
This is function dOpenFileReadWrite. 
 
This is function dPathCopy. 
 
 
 
This is function dRealloc_r. 
 
 
 
new 
Manage our own memory, add overloaded memory operators and functions 
 
This is function new[]. 
 
 
 
This is function setBreakAlloc. 
 
namespace Memory 
Name 
Description 
_new 
This is macro _new. 
This is macro _PLATFORM_H_. 
The dALIGN macro ensures the passed declaration is data aligned at 16 byte boundaries. 
This is macro dALIGN_BEGIN. 
This is macro dMalloc. 
This is macro dRealloc. 
dT 
Unicode string conversions UNICODE is a windows platform API switching flag. Don't define it on other platforms. 
Misc StdLib functions 
Macro to do in-line debug breaks, used for asserts. Does inline assembly when possible. 
This is macro TORQUE_TMM_ARGS. 
Memory functions 
This is macro TORQUE_TMM_LOC. 
Name 
Description 
This is namespace Platform. 
 
Name 
Description 
 
Math 
 
 
Processor info manager. 
Name 
Description 
This is type FILE_HANDLE. 
Copyright (c) 2015. All rights reserved.
What do you think about this topic? Send feedback!