Revision 1378,
662 bytes
checked in by giegl, 18 years ago
(diff) |
GTPD - Jungle Rumble - integrate into GTP SVN structure
|
Rev | Line | |
---|
[1378] | 1 | #include "dxstdafx.h"
|
---|
| 2 | #include ".\physxoutputstream.h"
|
---|
| 3 | #include "GameManager.h"
|
---|
| 4 |
|
---|
| 5 | PhysXOutputStream::PhysXOutputStream(void)
|
---|
| 6 | {
|
---|
| 7 | }
|
---|
| 8 |
|
---|
| 9 | PhysXOutputStream::~PhysXOutputStream(void)
|
---|
| 10 | {
|
---|
| 11 | }
|
---|
| 12 |
|
---|
| 13 | void PhysXOutputStream::reportError (NxErrorCode code, const char *message, const char* file, int line)
|
---|
| 14 | {
|
---|
| 15 | this->manager->printToConsole(message);
|
---|
| 16 | }
|
---|
| 17 |
|
---|
| 18 | NxAssertResponse PhysXOutputStream::reportAssertViolation (const char *message, const char *file,int line)
|
---|
| 19 | {
|
---|
| 20 | assert(0);
|
---|
| 21 | return NX_AR_CONTINUE;
|
---|
| 22 |
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | void PhysXOutputStream::print (const char *message)
|
---|
| 26 | {
|
---|
| 27 | char temp[200];
|
---|
| 28 | sprintf(temp, "SDK says: %s", message);
|
---|
| 29 | this->manager->printToConsole(temp);
|
---|
| 30 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.