rename winmain to main

This commit is contained in:
yangws 2010-11-06 10:06:39 +00:00
parent c165ad36a7
commit 0d0de78cb6
6 changed files with 11 additions and 17 deletions

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -1,4 +1,4 @@
#include "winmain.h" #include "main.h"
#include "TestApplication.h" #include "TestApplication.h"
HINSTANCE g_hInstance; HINSTANCE g_hInstance;

View File

@ -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:

View File

@ -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="&quot;$(OutDir)&quot;" AdditionalLibraryDirectories="&quot;$(OutDir)&quot;"
@ -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="&quot;$(OutDir)&quot;" AdditionalLibraryDirectories="&quot;$(OutDir)&quot;"
@ -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>