21 lines
629 B
C
21 lines
629 B
C
#pragma once
|
|
|
|
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
|
|
|
#include <assert.h>
|
|
//#include <crtdbg.h>
|
|
|
|
//#include "Forest.h"
|
|
#include "SpeedTreeForestDirectX8.h"
|
|
|
|
// Armadillo nanomite protection
|
|
#ifndef NANOBEGIN
|
|
#ifdef __BORLANDC__
|
|
#define NANOBEGIN __emit__ (0xEB,0x03,0xD6,0xD7,0x01)
|
|
#define NANOEND __emit__ (0xEB,0x03,0xD6,0xD7,0x00)
|
|
#else
|
|
#define NANOBEGIN __asm _emit 0xEB __asm _emit 0x03 __asm _emit 0xD6 __asm _emit 0xD7 __asm _emit 0x01
|
|
#define NANOEND __asm _emit 0xEB __asm _emit 0x03 __asm _emit 0xD6 __asm _emit 0xD7 __asm _emit 0x00
|
|
#endif
|
|
#endif
|