Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libSDL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
libSDL
Commits
2ab139c2
Commit
2ab139c2
authored
Jun 03, 2010
by
jimtla
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some windows compilation bugs - Still does not compile.
parent
4960f0af
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
15 deletions
+26
-15
SDL.sln
VisualC/SDL.sln
+2
-2
SDL.vcproj
VisualC/SDL/SDL.vcproj
+14
-7
SDLmain.vcproj
VisualC/SDLmain/SDLmain.vcproj
+5
-4
SDL_touch_c.h
src/events/SDL_touch_c.h
+5
-2
No files found.
VisualC/SDL.sln
View file @
2ab139c2
Microsoft Visual Studio Solution File, Format Version
9
.00
Microsoft Visual Studio Solution File, Format Version
10
.00
# Visual
C++ Express 2005
# Visual
Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDL", "SDL\SDL.vcproj", "{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDL", "SDL\SDL.vcproj", "{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}"
EndProject
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDLmain", "SDLmain\SDLmain.vcproj", "{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDLmain", "SDLmain\SDLmain.vcproj", "{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}"
...
...
VisualC/SDL/SDL.vcproj
View file @
2ab139c2
<?xml version="1.0" encoding="Windows-1252"?>
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
<VisualStudioProject
ProjectType=
"Visual C++"
ProjectType=
"Visual C++"
Version=
"
8
.00"
Version=
"
9
.00"
Name=
"SDL"
Name=
"SDL"
ProjectGUID=
"{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}"
ProjectGUID=
"{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}"
RootNamespace=
"SDL"
RootNamespace=
"SDL"
TargetFrameworkVersion=
"131072"
>
>
<Platforms>
<Platforms>
<Platform
<Platform
...
@@ -85,6 +86,8 @@
...
@@ -85,6 +86,8 @@
GenerateDebugInformation=
"true"
GenerateDebugInformation=
"true"
ProgramDatabaseFile=
".\Debug/SDL.pdb"
ProgramDatabaseFile=
".\Debug/SDL.pdb"
SubSystem=
"2"
SubSystem=
"2"
RandomizedBaseAddress=
"1"
DataExecutionPrevention=
"0"
ImportLibrary=
".\Debug/SDL.lib"
ImportLibrary=
".\Debug/SDL.lib"
CLRUnmanagedCodeCheck=
"false"
CLRUnmanagedCodeCheck=
"false"
/>
/>
...
@@ -106,9 +109,6 @@
...
@@ -106,9 +109,6 @@
<Tool
<Tool
Name=
"VCAppVerifierTool"
Name=
"VCAppVerifierTool"
/>
/>
<Tool
Name=
"VCWebDeploymentTool"
/>
<Tool
<Tool
Name=
"VCPostBuildEventTool"
Name=
"VCPostBuildEventTool"
/>
/>
...
@@ -185,6 +185,8 @@
...
@@ -185,6 +185,8 @@
IgnoreAllDefaultLibraries=
"true"
IgnoreAllDefaultLibraries=
"true"
ProgramDatabaseFile=
".\Release/SDL.pdb"
ProgramDatabaseFile=
".\Release/SDL.pdb"
SubSystem=
"2"
SubSystem=
"2"
RandomizedBaseAddress=
"1"
DataExecutionPrevention=
"0"
ImportLibrary=
".\Release/SDL.lib"
ImportLibrary=
".\Release/SDL.lib"
/>
/>
<Tool
<Tool
...
@@ -205,9 +207,6 @@
...
@@ -205,9 +207,6 @@
<Tool
<Tool
Name=
"VCAppVerifierTool"
Name=
"VCAppVerifierTool"
/>
/>
<Tool
Name=
"VCWebDeploymentTool"
/>
<Tool
<Tool
Name=
"VCPostBuildEventTool"
Name=
"VCPostBuildEventTool"
/>
/>
...
@@ -928,6 +927,14 @@
...
@@ -928,6 +927,14 @@
RelativePath=
"..\..\src\timer\SDL_timer_c.h"
RelativePath=
"..\..\src\timer\SDL_timer_c.h"
>
>
</File>
</File>
<File
RelativePath=
"..\..\src\events\SDL_touch.c"
>
</File>
<File
RelativePath=
"..\..\src\events\SDL_touch_c.h"
>
</File>
<File
<File
RelativePath=
"..\..\src\video\SDL_video.c"
RelativePath=
"..\..\src\video\SDL_video.c"
>
>
...
...
VisualC/SDLmain/SDLmain.vcproj
View file @
2ab139c2
<?xml version="1.0" encoding="Windows-1252"?>
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
<VisualStudioProject
ProjectType=
"Visual C++"
ProjectType=
"Visual C++"
Version=
"
8
.00"
Version=
"
9
.00"
Name=
"SDLmain"
Name=
"SDLmain"
ProjectGUID=
"{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}"
ProjectGUID=
"{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}"
TargetFrameworkVersion=
"131072"
>
>
<Platforms>
<Platforms>
<Platform
<Platform
...
@@ -25,7 +26,7 @@
...
@@ -25,7 +26,7 @@
<Tool
<Tool
Name=
"VCPreBuildEventTool"
Name=
"VCPreBuildEventTool"
Description=
"Making sure basic SDL headers are in place..."
Description=
"Making sure basic SDL headers are in place..."
CommandLine=
"if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY
echo Copying SDL_config_win32.h to SDL_config.h...
copy "$(ProjectDir)\..\..\include\SDL_config_win32.h" "$(ProjectDir)\..\..\include\SDL_config.h"
:SDLCONFIGOKAY

if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
echo Creating stub SDL_revision.h file...
echo #define SDL_REVISION 0 >"$(ProjectDir)\..\..\include\SDL_revision.h"
:SDLREVISIONOKAY"
CommandLine=
"if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY
echo Copying SDL_config_win32.h to SDL_config.h...
copy "$(ProjectDir)\..\..\include\SDL_config_win32.h" "$(ProjectDir)\..\..\include\SDL_config.h"
:SDLCONFIGOKAY

if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
echo Creating stub SDL_revision.h file...
echo #define SDL_REVISION 0 >"$(ProjectDir)\..\..\include\SDL_revision.h"
:SDLREVISIONOKAY


"
/>
/>
<Tool
<Tool
Name=
"VCCustomBuildTool"
Name=
"VCCustomBuildTool"
...
@@ -98,7 +99,7 @@
...
@@ -98,7 +99,7 @@
<Tool
<Tool
Name=
"VCPreBuildEventTool"
Name=
"VCPreBuildEventTool"
Description=
"Making sure basic SDL headers are in place..."
Description=
"Making sure basic SDL headers are in place..."
CommandLine=
"if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY
echo Copying SDL_config_win32.h to SDL_config.h...
copy "$(ProjectDir)\..\..\include\SDL_config_win32.h" "$(ProjectDir)\..\..\include\SDL_config.h"
:SDLCONFIGOKAY

if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
echo Creating stub SDL_revision.h file...
echo #define SDL_REVISION 0 >"$(ProjectDir)\..\..\include\SDL_revision.h"
:SDLREVISIONOKAY"
CommandLine=
"if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY
echo Copying SDL_config_win32.h to SDL_config.h...
copy "$(ProjectDir)\..\..\include\SDL_config_win32.h" "$(ProjectDir)\..\..\include\SDL_config.h"
:SDLCONFIGOKAY

if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
echo Creating stub SDL_revision.h file...
echo #define SDL_REVISION 0 >"$(ProjectDir)\..\..\include\SDL_revision.h"
:SDLREVISIONOKAY


"
/>
/>
<Tool
<Tool
Name=
"VCCustomBuildTool"
Name=
"VCCustomBuildTool"
...
@@ -171,7 +172,7 @@
...
@@ -171,7 +172,7 @@
<Tool
<Tool
Name=
"VCPreBuildEventTool"
Name=
"VCPreBuildEventTool"
Description=
"Making sure basic SDL headers are in place..."
Description=
"Making sure basic SDL headers are in place..."
CommandLine=
"if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY
echo Copying SDL_config_win32.h to SDL_config.h...
copy "$(ProjectDir)\..\..\include\SDL_config_win32.h" "$(ProjectDir)\..\..\include\SDL_config.h"
:SDLCONFIGOKAY

if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
echo Creating stub SDL_revision.h file...
echo #define SDL_REVISION 0 >"$(ProjectDir)\..\..\include\SDL_revision.h"
:SDLREVISIONOKAY"
CommandLine=
"if exist "$(ProjectDir)\..\..\include\SDL_config.h" goto SDLCONFIGOKAY
echo Copying SDL_config_win32.h to SDL_config.h...
copy "$(ProjectDir)\..\..\include\SDL_config_win32.h" "$(ProjectDir)\..\..\include\SDL_config.h"
:SDLCONFIGOKAY

if exist "$(ProjectDir)\..\..\include\SDL_revision.h" goto SDLREVISIONOKAY
echo Creating stub SDL_revision.h file...
echo #define SDL_REVISION 0 >"$(ProjectDir)\..\..\include\SDL_revision.h"
:SDLREVISIONOKAY


"
/>
/>
<Tool
<Tool
Name=
"VCCustomBuildTool"
Name=
"VCCustomBuildTool"
...
...
src/events/SDL_touch_c.h
View file @
2ab139c2
...
@@ -64,8 +64,11 @@ extern int SDL_SendTouchButton(int id, Uint8 state, Uint8 button);
...
@@ -64,8 +64,11 @@ extern int SDL_SendTouchButton(int id, Uint8 state, Uint8 button);
/* Shutdown the touch subsystem */
/* Shutdown the touch subsystem */
extern
void
SDL_TouchQuit
(
void
);
extern
void
SDL_TouchQuit
(
void
);
/* FIXME: Where do these functions go in this header? */
/* Get the index of a touch device */
extern
void
SDL_ChangeEnd
(
int
id
,
int
end
);
extern
int
SDL_GetTouchIndexId
(
int
id
)
#endif
/* _SDL_touch_c_h */
#endif
/* _SDL_touch_c_h */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment