Skip to content

Commit

Permalink
Windows changes in sync with Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Sappharad committed Sep 24, 2020
1 parent 624ef21 commit 91c8088
Show file tree
Hide file tree
Showing 7 changed files with 109 additions and 1 deletion.
Binary file added Rvm_Win64/Rvm_Win64.aps
Binary file not shown.
71 changes: 71 additions & 0 deletions Rvm_Win64/Rvm_Win64.rc
@@ -0,0 +1,71 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (United States) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE
BEGIN
"resource.h\0"
END

2 TEXTINCLUDE
BEGIN
"#include ""winres.h""\r\n"
"\0"
END

3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END

#endif // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1 ICON "icon1.ico"

#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

8 changes: 8 additions & 0 deletions Rvm_Win64/Rvm_Win64.vcxproj
Expand Up @@ -85,6 +85,13 @@
<ClInclude Include="..\rvm\Core\Vertex3D.h" />
<ClInclude Include="include\SDL.h" />
<ClInclude Include="include\SDL_main.h" />
<ClInclude Include="resource.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Rvm_Win64.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="icon1.ico" />
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>15.0</VCProjectVersion>
Expand Down Expand Up @@ -224,6 +231,7 @@
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>SDL2.lib;SDL2_mixer.lib;glew32s.lib;opengl32.lib;SDL2main.lib;%(AdditionalDependencies)</AdditionalDependencies>
<Version>0.75</Version>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Expand Down
13 changes: 13 additions & 0 deletions Rvm_Win64/Rvm_Win64.vcxproj.filters
Expand Up @@ -209,5 +209,18 @@
<ClInclude Include="..\rvm\Core\TextSystem.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="resource.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Rvm_Win64.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<Image Include="icon1.ico">
<Filter>Resource Files</Filter>
</Image>
</ItemGroup>
</Project>
Binary file added Rvm_Win64/icon1.ico
Binary file not shown.
16 changes: 16 additions & 0 deletions Rvm_Win64/resource.h
@@ -0,0 +1,16 @@
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by Rvm_Win64.rc
//
#define IDI_ICON1 101

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 102
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
2 changes: 1 addition & 1 deletion Rvm_Win64/win_main.c
Expand Up @@ -77,7 +77,7 @@ static void createSurface(int fullscreen)
flags |= SDL_WINDOW_FULLSCREEN;

// Create window
gWindow = SDL_CreateWindow("RetroVM - Sonic CD",
gWindow = SDL_CreateWindow("RVM - Sonic CD",
SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,
800, 480, flags);
if (gWindow == NULL) {
Expand Down

0 comments on commit 91c8088

Please sign in to comment.