Changeset 1166


Ignore:
Timestamp:
Mar 16, 2012, 7:37:00 PM (10 years ago)
Author:
gary
Message:

win32: fix SDL support in lolcore.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/monsterz.cpp

    r1063 r1166  
    4040#if defined _WIN32
    4141    _chdir(".."); /* Temporary Win32 hack */
     42    _chdir("../../.."); /* Temporary Win32 hack */
    4243#endif
    4344
  • trunk/win32/Contribs.props

    r1155 r1166  
    1919    <GtkDeps>gobject-2.0.lib;gthread-2.0.lib;glib-2.0.lib;gdk-win32-2.0.lib;gtk-win32-2.0.lib;gtkgl-2.0.lib</GtkDeps>
    2020    <SdlDeps>SDL.lib;SDLmain.lib;SDL_image.lib;SDL_mixer.lib</SdlDeps>
    21     <Win32Defines>USE_GLEW;GLEW_STATIC;HAVE_SDL_H</Win32Defines>
     21    <Win32Defines>USE_GLEW;GLEW_STATIC;HAVE_SDL_H;USE_SDL</Win32Defines>
    2222    <XboxDefines></XboxDefines>
    2323  </PropertyGroup>
  • trunk/win32/lolcore.vcxproj

    r1155 r1166  
    7575      <Optimization>Disabled</Optimization>
    7676      <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
    77       <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     77      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    7878      <FloatingPointModel>Fast</FloatingPointModel>
    7979    </ClCompile>
     
    9090      <Optimization>Disabled</Optimization>
    9191      <PreprocessorDefinitions>_XBOX;_DEBUG;_LIB;$(XboxDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
    92       <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     92      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    9393      <FloatingPointModel>Fast</FloatingPointModel>
    9494    </ClCompile>
     
    107107      <IntrinsicFunctions>true</IntrinsicFunctions>
    108108      <PreprocessorDefinitions>WIN32;NDEBUG;_LIB;$(Win32Defines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
    109       <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     109      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    110110      <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
    111111      <FloatingPointModel>Fast</FloatingPointModel>
     
    127127      <IntrinsicFunctions>true</IntrinsicFunctions>
    128128      <PreprocessorDefinitions>_XBOX;NDEBUG;_LIB;$(XboxDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions>
    129       <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     129      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(GlIncludes);$(SdlIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    130130      <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
    131131      <FloatingPointModel>Fast</FloatingPointModel>
Note: See TracChangeset for help on using the changeset viewer.