⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install.bat

📁 S60 SDL is a Simple DirectMedia Layer adaptation for S60. SDL is a cross-platform multimedia library
💻 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 + -