mirror of https://github.com/axmolengine/axmol.git
rename winmain to main
This commit is contained in:
parent
c165ad36a7
commit
0d0de78cb6
|
@ -1,8 +1,5 @@
|
||||||
#include "Box2dTest.h"
|
#include "Box2dTest.h"
|
||||||
#include "../testResource.h"
|
#include "../testResource.h"
|
||||||
//
|
|
||||||
// #pragma comment(lib, "libgles_cm.lib")
|
|
||||||
// //#pragma comment(lib, "libEGL.lib")
|
|
||||||
|
|
||||||
#define PTM_RATIO 32
|
#define PTM_RATIO 32
|
||||||
enum
|
enum
|
||||||
|
|
|
@ -2,9 +2,6 @@
|
||||||
#include "GLES-Render.h"
|
#include "GLES-Render.h"
|
||||||
#include "Test.h"
|
#include "Test.h"
|
||||||
|
|
||||||
//#pragma comment(lib, "libgles_cm.lib")
|
|
||||||
//#pragma comment(lib, "libEGL.lib")
|
|
||||||
|
|
||||||
#define kAccelerometerFrequency 30
|
#define kAccelerometerFrequency 30
|
||||||
#define FRAMES_BETWEEN_PRESSES_FOR_DOUBLE_CLICK 10
|
#define FRAMES_BETWEEN_PRESSES_FOR_DOUBLE_CLICK 10
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "TestApplication.h"
|
#include "TestApplication.h"
|
||||||
#include "winmain.h"
|
#include "main.h"
|
||||||
#include "tests/controller.h"
|
#include "tests/controller.h"
|
||||||
|
|
||||||
using namespace cocos2d;
|
using namespace cocos2d;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include "winmain.h"
|
#include "main.h"
|
||||||
#include "TestApplication.h"
|
#include "TestApplication.h"
|
||||||
|
|
||||||
HINSTANCE g_hInstance;
|
HINSTANCE g_hInstance;
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef __WINMAIN_H__
|
#ifndef __MAIN_H__
|
||||||
#define __WINMAIN_H__
|
#define __MAIN_H__
|
||||||
|
|
||||||
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
||||||
// Windows Header Files:
|
// Windows Header Files:
|
|
@ -62,7 +62,7 @@
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="libcocos2d.lib libEGL.lib libgles_cm.lib libBox2d.lib"
|
AdditionalDependencies="libcocos2d.lib libgles_cm.lib libBox2d.lib"
|
||||||
OutputFile="$(OutDir)\test.exe"
|
OutputFile="$(OutDir)\test.exe"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
AdditionalLibraryDirectories=""$(OutDir)""
|
AdditionalLibraryDirectories=""$(OutDir)""
|
||||||
|
@ -140,7 +140,7 @@
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="libcocos2d.lib libEGL.lib libgles_cm.lib libBox2d.lib"
|
AdditionalDependencies="libcocos2d.lib libgles_cm.lib libBox2d.lib"
|
||||||
OutputFile="$(OutDir)\test.exe"
|
OutputFile="$(OutDir)\test.exe"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
AdditionalLibraryDirectories=""$(OutDir)""
|
AdditionalLibraryDirectories=""$(OutDir)""
|
||||||
|
@ -181,23 +181,23 @@
|
||||||
Name="include"
|
Name="include"
|
||||||
>
|
>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\TestApplication.h"
|
RelativePath=".\main.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\winmain.h"
|
RelativePath=".\TestApplication.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="src"
|
Name="source"
|
||||||
>
|
>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\TestApplication.cpp"
|
RelativePath=".\main.cpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\winmain.cpp"
|
RelativePath=".\TestApplication.cpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
|
Loading…
Reference in New Issue