- Timestamp:
- Jun 16, 2006, 11:16:38 AM (19 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/acinclude.m4
r8293 r8523 278 278 279 279 AC_CHECK_LIB([dl], [dlopen]) 280 AX_CHECK_REQUIRED_HEADER_LIB([lua.h], [lua lua50], [lua_open], 281 dnl libLUA found 282 [LUA_LIBS="${LUA_LIBS} -l${LAST_FOUND_LIB}" AX_CHECK_REQUIRED_HEADER_LIB([lualib.h], [lualib lualib50], [luaopen_base], 280 AX_CHECK_REQUIRED_HEADER_LIB([lua.h], [lua lua50], [lua_open],,,) 281 AX_CHECK_REQUIRED_HEADER_LIB([lualib.h], [lualib lualib50], [luaopen_base]) 282 #dnl libLUA found 283 # [LUA_LIBS="${LUA_LIBS} -l${LAST_FOUND_LIB}" AX_CHECK_REQUIRED_HEADER_LIB([lualib.h], [lualib lualib50], [luaopen_base], 283 284 dnl liblualib found 284 [LUA_LIBS="${LUA_LIBS} -l${LAST_FOUND_LIB}"],,285 [http://www.lua.org],, [${LUA_LIBS} -ldl -lm])],286 dnl liblua not found (download it)287 [AX_GET_INSTALL_NECESSARY_LIB([http://www.lua.org/ftp], [lua-5.0.tar.gz], [lua-5.0], [extern_libs/], [include/*.h lib/*.a])288 LUA_LIBS="-llualib -llua" LUA_INCLUDES="-I$(top_build_dir)/extern_libs" ], [http://www.lua.org])285 # [LUA_LIBS="${LUA_LIBS} -l${LAST_FOUND_LIB}"],, 286 # [http://www.lua.org],, [${LUA_LIBS} -ldl -lm])], 287 #dnl liblua not found (download it) 288 # [AX_GET_INSTALL_NECESSARY_LIB([http://www.lua.org/ftp], [lua-5.0.tar.gz], [lua-5.0], [extern_libs/], [include/*.h lib/*.a]) 289 # LUA_LIBS="-llualib -llua" LUA_INCLUDES="-I$(top_build_dir)/extern_libs" ], [http://www.lua.org]) 289 290 290 291 AC_SUBST([LUA_LIBS]) … … 340 341 341 342 #cleaning up 342 echo "rm -rf ${_get_install_DISTDIR}"343 rm -rf ${_get_install_DISTDIR}344 echo "rm ${_get_install_DISTFILE}"345 rm ${_get_install_DISTFILE}346 ]) 343 # echo "rm -rf ${_get_install_DISTDIR}" 344 # rm -rf ${_get_install_DISTDIR} 345 # echo "rm ${_get_install_DISTFILE}" 346 # rm ${_get_install_DISTFILE} 347 ]) -
trunk/configure.ac
r8448 r8523 293 293 294 294 CPPFLAGS="-I/usr/include -I/mingw/include ${CPPFLAGS}" 295 295 LDFLAGS="${LDFLAGS} -L/mingw/lib" 296 296 mingw="yes" 297 297 MSBITFIELDS="-mms-bitfields" -
trunk/src/lib/graphics/effects/volfog_effect.cc
r8495 r8523 25 25 26 26 #define GLX_GLXEXT_PROTOTYPES 27 #include <GL/glx.h>27 //#include <GL/glx.h> 28 28 // #include <GL/glut.h> 29 29 … … 90 90 91 91 92 glFogCoordfEXT = (PFNGLFOGCOORDFEXTPROC)glXGetProcAddressARB((const GLubyte*)"glFogCoordfEXT");92 /* glFogCoordfEXT = (PFNGLFOGCOORDFEXTPROC)glXGetProcAddressARB((const GLubyte*)"glFogCoordfEXT"); 93 93 glFogCoordfvEXT = (PFNGLFOGCOORDFVEXTPROC)glXGetProcAddressARB((const GLubyte*)"glFogCoordfvEXT"); 94 94 glFogCoorddEXT = (PFNGLFOGCOORDDEXTPROC)glXGetProcAddressARB((const GLubyte*)"glFogCoorddEXT"); 95 95 glFogCoorddvEXT = (PFNGLFOGCOORDDVEXTPROC)glXGetProcAddressARB((const GLubyte*)"glFogCoorddvEXT"); 96 96 glFogCoordPointerEXT = (PFNGLFOGCOORDPOINTEREXTPROC)glXGetProcAddressARB((const GLubyte*)"glFogCoordPointerEXT"); 97 97 */ 98 98 // set the fog attributes 99 99 glFogf (GL_FOG_START, fogStart); -
trunk/src/lib/util/filesys/directory.cc
r8332 r8523 99 99 return false; 100 100 } 101 102 dirent* entry; 103 while ((entry = readdir(handle)) != NULL) 104 this->_fileNames.push_back(entry->d_name); 105 closedir(handle); 106 101 107 #else 102 108 HANDLE handle; … … 124 130 this->_fileNames.push_back(entry.cFileName); 125 131 } 126 #endif 127 128 // BUILDING the list of contained Files. (only the names) 129 #if not defined(__WIN32__) 130 dirent* entry; 131 while ((entry = readdir(handle)) != NULL) 132 this->_fileNames.push_back(entry->d_name); 133 closedir(handle); 134 #else 135 WIN32_FIND_DATA entry; 136 while ((int ok = FindNextFile(handle, &entry)) != 0) 132 int ok; 133 while ((ok = FindNextFile(handle, &entry)) != 0) 137 134 this->_fileNames.push_back(entry.cFileName); 138 135 FindClose(handle); 139 #endif 136 #endif /* __WIN_32__ */ 137 140 138 this->_opened = true; 141 139 return true; -
trunk/src/story_entities/simple_game_menu.cc
r8518 r8523 191 191 #include <ApplicationServices/ApplicationServices.h> 192 192 #elif defined __WIN32__ 193 #include <shellapi.h>193 //#include <shellapi.h> 194 194 #endif 195 195 … … 205 205 CFRelease (url_handle); 206 206 #elif defined __WIN32__ 207 ShellExecute(GetActiveWindow(),207 /* ShellExecute(GetActiveWindow(), 208 208 "open", URL.c_str(), NULL, NULL, SW_SHOWNORMAL); 209 } 209 }*/ 210 210 #endif 211 211 PRINTF(3)("loaded external webpage %s\n", URL.c_str()); -
trunk/src/util/signal_handler.h
r8293 r8523 73 73 void dontCatch() {}; 74 74 void registerCallback( SignalCallback cb, void * someData ) {}; 75 76 private: 77 static SignalHandler * singletonRef; 75 78 }; 76 79 #endif
Note: See TracChangeset
for help on using the changeset viewer.