mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Add libopenmpt to VC10 project
This commit is contained in:
		
							parent
							
								
									c31abf458f
								
							
						
					
					
						commit
						213927b264
					
				
					 5 changed files with 33 additions and 1 deletions
				
			
		
							
								
								
									
										16
									
								
								libs/libopenmpt.props
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								libs/libopenmpt.props
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,16 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||||
|   <ImportGroup Label="PropertySheets" /> | ||||
|   <PropertyGroup Label="UserMacros" /> | ||||
|   <PropertyGroup> | ||||
|     <IncludePath>$(SolutionDir)libs\libopenmpt\inc;$(IncludePath)</IncludePath> | ||||
| 	<LibraryPath Condition="'$(Platform)' == 'Win32'">$(SolutionDir)libs\libopenmpt\lib\x86;$(LibraryPath)</LibraryPath> | ||||
|     <LibraryPath Condition="'$(Platform)' == 'x64'">$(SolutionDir)libs\libopenmpt\lib\x86_64;$(LibraryPath)</LibraryPath> | ||||
|   </PropertyGroup> | ||||
|   <ItemDefinitionGroup> | ||||
|     <Link> | ||||
|       <AdditionalDependencies>libopenmpt.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||||
|     </Link> | ||||
|   </ItemDefinitionGroup> | ||||
|   <ItemGroup /> | ||||
| </Project> | ||||
|  | @ -29,6 +29,12 @@ | |||
| 
 | ||||
| /* 7.18.1.1  Exact-width integer types */ | ||||
| #ifdef _MSC_VER | ||||
| // libopenmpt.h will include stdint.h later;
 | ||||
| // include it now so that INT8_MAX etc. don't get redefined
 | ||||
| #ifdef HAVE_OPENMPT | ||||
| #include <stdint.h> | ||||
| #endif | ||||
| 
 | ||||
| #define UINT8 unsigned __int8 | ||||
| #define SINT8 signed __int8 | ||||
| 
 | ||||
|  | @ -206,6 +212,7 @@ size_t strlcpy(char *dst, const char *src, size_t siz); | |||
| #endif // __BYTEBOOL__
 | ||||
| 
 | ||||
| /* 7.18.2.1  Limits of exact-width integer types */ | ||||
| 
 | ||||
| #ifndef INT8_MIN | ||||
| #define INT8_MIN (-128) | ||||
| #endif | ||||
|  |  | |||
|  | @ -93,6 +93,7 @@ | |||
|     <Import Project="..\..\libs\libpng.props" /> | ||||
|     <Import Project="..\..\libs\SDL2.props" /> | ||||
|     <Import Project="..\..\libs\SDL_mixer.props" /> | ||||
|     <Import Project="..\..\libs\libopenmpt.props" /> | ||||
|     <Import Project="Srb2SDL.props" /> | ||||
|   </ImportGroup> | ||||
|   <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||||
|  | @ -291,6 +292,7 @@ | |||
|     <ClInclude Include="endtxt.h" /> | ||||
|     <ClInclude Include="hwsym_sdl.h" /> | ||||
|     <ClInclude Include="i_ttf.h" /> | ||||
|     <ClInclude Include="load_libraries.h" /> | ||||
|     <ClInclude Include="ogl_sdl.h" /> | ||||
|     <ClInclude Include="sdlmain.h" /> | ||||
|   </ItemGroup> | ||||
|  | @ -465,6 +467,7 @@ | |||
|     <ClCompile Include="i_system.c" /> | ||||
|     <ClCompile Include="i_ttf.c" /> | ||||
|     <ClCompile Include="i_video.c" /> | ||||
|     <ClCompile Include="load_libraries.c" /> | ||||
|     <ClCompile Include="mixer_sound.c" /> | ||||
|     <ClCompile Include="ogl_sdl.c" /> | ||||
|     <ClCompile Include="SDL_main\SDL_windows_main.c" /> | ||||
|  |  | |||
|  | @ -447,6 +447,9 @@ | |||
|     <ClInclude Include="sdlmain.h"> | ||||
|       <Filter>SDLApp</Filter> | ||||
|     </ClInclude> | ||||
|     <ClInclude Include="load_libraries.h"> | ||||
|       <Filter>SDLApp</Filter> | ||||
|     </ClInclude> | ||||
|   </ItemGroup> | ||||
|   <ItemGroup> | ||||
|     <CustomBuild Include="..\tmap.nas"> | ||||
|  | @ -885,6 +888,9 @@ | |||
|     <ClCompile Include="SDL_main\SDL_windows_main.c"> | ||||
|       <Filter>SDLApp</Filter> | ||||
|     </ClCompile> | ||||
|     <ClCompile Include="load_libraries.c"> | ||||
|       <Filter>SDLApp</Filter> | ||||
|     </ClCompile> | ||||
|   </ItemGroup> | ||||
|   <ItemGroup> | ||||
|     <Image Include="Srb2SDL.ico"> | ||||
|  |  | |||
|  | @ -5,7 +5,7 @@ | |||
|   <PropertyGroup /> | ||||
|   <ItemDefinitionGroup> | ||||
|     <ClCompile> | ||||
|       <PreprocessorDefinitions>USE_WGL_SWAP;DIRECTFULLSCREEN;HAVE_SDL;HWRENDER;HW3SOUND;HAVE_FILTER;HAVE_MIXER;SDLMAIN;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||||
|       <PreprocessorDefinitions>USE_WGL_SWAP;DIRECTFULLSCREEN;HAVE_SDL;HWRENDER;HW3SOUND;HAVE_FILTER;HAVE_MIXER;HAVE_OPENMPT;SDLMAIN;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||||
|     </ClCompile> | ||||
|   </ItemDefinitionGroup> | ||||
|   <ItemGroup /> | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Marco Z
						Marco Z