?? install.bat
字號:
@echo off
rem ** Even if your development enviroment is not windows
rem ** doing this manually is an easy task
rem ** Markus Mertama
perl clean.pl "\SDL-1.2.13" symbian
unzip -o sdl_source.zip -d "\SDL-1.2.13"
rem ** then modify existing code a bit :-)
perl subst.pl "\SDL-1.2.13\include\SDL_opengl.h" "\#elif\s+defined\(__MACOS__\)!!#include\s*\<gl\.h\>\s+\/\* Header File For The OpenGL Library \*\/!!#include\s*\<glu\.h\>\s+\/\* Header File For The GLU Library \*\/" "" "#elif defined(__SYMBIAN32__) //GL_ES!!#include <SDL_gliop.h>!!#include <gles/gl.h>"
perl subst.pl "\SDL-1.2.13\include\SDL_opengl.h" "" "\#if defined\(_WIN32\) && !defined\(APIENTRY\) && !defined\(__CYGWIN__\) && !defined\(__SCITECH_SNAP__\)" "#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) && !defined(__SYMBIAN32__) //GL_ES"
perl subst.pl "\SDL-1.2.13\include\SDL_opengl.h" "#include \"SDL_config.h\"!!.*" "\#ifdef __WIN32__" "#if defined(__WIN32__) && !defined(__SYMBIAN32__) //GL_ES"
perl subst.pl "\SDL-1.2.13\include\begin_code.h" "\#ifdef __SYMBIAN32__" "\#ifndef\s+EKA2!!\#undef DECLSPEC!!\#define DECLSPEC!!\#elif !defined\(__WINS__\)" "#if !defined(__WINS__)"
perl subst.pl "\SDL-1.2.13\src\video\SDL_sysvideo.h" "\#if\s+SDL_VIDEO_OPENGL" "\#if\s+!defined\(__WIN32__\)" "#if !defined(__WIN32__) || defined(__SYMBIAN32__)"
perl subst.pl "\SDL-1.2.13\src\video\SDL_video.c" "if\s*\(lock_count==-1\)!!\{" "" "#ifndef GL_ES //GL_ES"
perl subst.pl "\SDL-1.2.13\src\video\SDL_video.c" "this-\>glMatrixMode\(GL_MODELVIEW\);!!this-\>glPushMatrix\(\);!!this-\>glLoadIdentity\(\);" "" "#endif //GL_ES"
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -