diff options
author | chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> | 2014-04-30 08:20:45 +0000 |
---|---|---|
committer | chirs241097@gmail.com <chirs241097@gmail.com@c17bf020-1265-9734-9302-a83f62007ddb> | 2014-04-30 08:20:45 +0000 |
commit | 3a51283329635021b839c8abbea4fac6bd7fe688 (patch) | |
tree | 39d96c81d480eb3be31771b8c54c6c07cdbe3d67 /hgewin | |
parent | a53ffa43a1b9bb8eff54d94f9668e3ce0d9fb583 (diff) | |
download | bullet-lab-remix-3a51283329635021b839c8abbea4fac6bd7fe688.tar.xz |
Fix a critical bug in Score_Initailize.
Modify level pinball.
Drop "_PR" in version string.
Partly rewrite the credit scene, displaying accurate version
details.
Remove some warnings from hgewin.
A set of basic tests are done on a Intel+Nvidia desktop computer.
Add a simple build script(instead of makefile).
Reduce the Windows version executable size...(local work, recompile
freetype using reduced features enabled.)
Current tested (by me) and worked plantforms:
Debian sid x86_64 @Intel core i7-2670QM, 8GiB RAM, Intel HD3000 &
@Intel Core2 Quad Q8300, 8GiB RAM, nvidia GT320.
Windows XP x64 @VirutalBox, Dualcore Virtual CPU, 1.5GiB RAM, VBox
Addons installed.
Windows XP @Intel core i3-3240, 4GiB RAM, Intel HD3000.
Diffstat (limited to 'hgewin')
-rwxr-xr-x | hgewin/hge_impl.h | 3 | ||||
-rwxr-xr-x | hgewin/input.cpp | 2 | ||||
-rwxr-xr-x | hgewin/resource.cpp | 2 | ||||
-rwxr-xr-x | hgewin/system.cpp | 4 |
4 files changed, 6 insertions, 5 deletions
diff --git a/hgewin/hge_impl.h b/hgewin/hge_impl.h index b3f0fe5..5acdcd4 100755 --- a/hgewin/hge_impl.h +++ b/hgewin/hge_impl.h @@ -1,3 +1,4 @@ +// -*- C++ -*- /* ** Haaf's Game Engine 1.8 ** Copyright (C) 2003-2007, Relish Games @@ -199,7 +200,7 @@ public: static HGE_Impl* _Interface_Get(); void _FocusChange(bool bAct); - void _PostError(char *error); + void _PostError(const char *error); HINSTANCE hInstance; diff --git a/hgewin/input.cpp b/hgewin/input.cpp index 080f335..0610376 100755 --- a/hgewin/input.cpp +++ b/hgewin/input.cpp @@ -10,7 +10,7 @@ #include "hge_impl.h" -char *KeyNames[] = +const char *KeyNames[] = { "?", "Left Mouse Button", "Right Mouse Button", "?", "Middle Mouse Button", diff --git a/hgewin/resource.cpp b/hgewin/resource.cpp index fa1ddf9..6921dc6 100755 --- a/hgewin/resource.cpp +++ b/hgewin/resource.cpp @@ -82,7 +82,7 @@ void CALL HGE_Impl::Resource_RemoveAllPacks() #undef DWORD void* CALL HGE_Impl::Resource_Load(const char *filename, DWORD *size) { - static char *res_err="Can't load resource: %s"; + static const char *res_err="Can't load resource: %s"; CResourceList *resItem=res; char szName[_MAX_PATH]; diff --git a/hgewin/system.cpp b/hgewin/system.cpp index 9dfda86..2cbd741 100755 --- a/hgewin/system.cpp +++ b/hgewin/system.cpp @@ -77,7 +77,7 @@ bool CALL HGE_Impl::System_Initiate() System_Log("%s: HGE Started...",SYSTEM_SRC_FN); - System_Log("%s: hge-unix version: %X.%X", SYSTEM_SRC_FN, HGE_VERSION>>8, HGE_VERSION & 0xFF); + System_Log("%s: hge version: %X.%X", SYSTEM_SRC_FN, HGE_VERSION>>8, HGE_VERSION & 0xFF); GetLocalTime(&tm); System_Log("%s: Date: %02d.%02d.%d, %02d:%02d:%02d\n", SYSTEM_SRC_FN, tm.wDay, tm.wMonth, tm.wYear, tm.wHour, tm.wMinute, tm.wSecond); @@ -741,7 +741,7 @@ HGE_Impl::HGE_Impl() szAppPath[i+1]=0; } -void HGE_Impl::_PostError(char *error) +void HGE_Impl::_PostError(const char *error) { System_Log(error); strcpy(szError,error); |