Permalink
Browse files

FindReplace, support unicode

  • Loading branch information...
1 parent 8ac0871 commit 10195fa26c0e65cdfc4097c1524c8e8c6bc44f74 Scott Davies committed Apr 10, 2015
Showing with 1,739 additions and 2,674 deletions.
  1. +0 −5 RAGens.sln
  2. +5 −5 RAGens/common/src/G_main.cpp
  3. +2 −2 RAGens/common/src/RA_Implementation.cpp
  4. +4 −3 RAGens/win32/Makefile
  5. +192 −189 RA_Integration/RA_AchievementOverlay.cpp
  6. +10 −10 RA_Integration/RA_AchievementPopup.cpp
  7. +14 −13 RA_Integration/RA_AchievementSet.cpp
  8. +3 −3 RA_Integration/RA_CodeNotes.cpp
  9. +1 −5 RA_Integration/RA_CodeNotes.h
  10. +7 −7 RA_Integration/RA_Condition.cpp
  11. +27 −16 RA_Integration/RA_Condition.h
  12. +94 −122 RA_Integration/RA_Core.cpp
  13. +9 −12 RA_Integration/RA_Core.h
  14. +35 −9 RA_Integration/RA_Defs.cpp
  15. +8 −4 RA_Integration/RA_Defs.h
  16. +261 −364 RA_Integration/RA_Dlg_AchEditor.cpp
  17. +7 −8 RA_Integration/RA_Dlg_AchEditor.h
  18. +117 −148 RA_Integration/RA_Dlg_Achievement.cpp
  19. +155 −184 RA_Integration/RA_Dlg_AchievementsReporter.cpp
  20. +16 −17 RA_Integration/RA_Dlg_AchievementsReporter.h
  21. +179 −263 RA_Integration/RA_Dlg_GameLibrary.cpp
  22. +144 −146 RA_Integration/RA_Dlg_GameTitle.cpp
  23. +25 −28 RA_Integration/RA_Dlg_Login.cpp
  24. +156 −198 RA_Integration/RA_Dlg_Memory.cpp
  25. +8 −6 RA_Integration/RA_Dlg_RomChecksum.cpp
  26. +111 −225 RA_Integration/RA_ImageFactory.cpp
  27. +3 −2 RA_Integration/RA_Integration.vcxproj
  28. +0 −20 RA_Integration/RA_Integration_VS08.sln
  29. +0 −478 RA_Integration/RA_Integration_VS08.vcproj
  30. +39 −39 RA_Integration/RA_Interface.cpp
  31. +4 −4 RA_Integration/RA_Interface.h
  32. +20 −48 RA_Integration/RA_LeaderboardPopup.cpp
  33. +59 −67 RA_Integration/RA_ProgressPopup.cpp
  34. +1 −1 RA_Integration/RA_RichPresence.cpp
  35. +23 −23 RA_Integration/RA_User.cpp
View
@@ -14,21 +14,16 @@ Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
- ReleaseWithDebug|Win32 = ReleaseWithDebug|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{825CB292-F069-4B27-82CF-3417746ACDF3}.Debug|Win32.ActiveCfg = Debug|Win32
{825CB292-F069-4B27-82CF-3417746ACDF3}.Debug|Win32.Build.0 = Debug|Win32
{825CB292-F069-4B27-82CF-3417746ACDF3}.Release|Win32.ActiveCfg = Release|Win32
{825CB292-F069-4B27-82CF-3417746ACDF3}.Release|Win32.Build.0 = Release|Win32
- {825CB292-F069-4B27-82CF-3417746ACDF3}.ReleaseWithDebug|Win32.ActiveCfg = Release|Win32
- {825CB292-F069-4B27-82CF-3417746ACDF3}.ReleaseWithDebug|Win32.Build.0 = Release|Win32
{61CB5C52-C78B-4EE9-A344-7D641631938F}.Debug|Win32.ActiveCfg = Debug|Win32
{61CB5C52-C78B-4EE9-A344-7D641631938F}.Debug|Win32.Build.0 = Debug|Win32
{61CB5C52-C78B-4EE9-A344-7D641631938F}.Release|Win32.ActiveCfg = Release|Win32
{61CB5C52-C78B-4EE9-A344-7D641631938F}.Release|Win32.Build.0 = Release|Win32
- {61CB5C52-C78B-4EE9-A344-7D641631938F}.ReleaseWithDebug|Win32.ActiveCfg = Release|Win32
- {61CB5C52-C78B-4EE9-A344-7D641631938F}.ReleaseWithDebug|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -1484,14 +1484,14 @@ BOOL Init(HINSTANCE hInst, int nCmdShow)
Identify_CPU();
- i = GetVersion();
+ //i = GetVersion();
// Get major and minor version numbers of Windows
- if (((i & 0xFF) > 4) || (i & 0x80000000))
- WinNT_Flag = 0;
- else
- WinNT_Flag = 1;
+ //if (((i & 0xFF) > 4) || (i & 0x80000000))
+ // WinNT_Flag = 0;
+ //else
+ // WinNT_Flag = 1;
GetCurrentDirectory( 1024, Gens_Path );
GetCurrentDirectory( 1024, Language_Path );
@@ -52,9 +52,9 @@ void ResetEmulation()
}
}
-void LoadROM( char* sFullPath )
+void LoadROM( const char* sFullPath )
{
- Pre_Load_Rom( HWnd, sFullPath );
+ Pre_Load_Rom( HWnd, const_cast<char*>( sFullPath ) );
}
// Installs these shared functions into the DLL
@@ -16,15 +16,14 @@ SRC_RA=..\..\RA_Integration
DX_LIBS="C:\SDK\DX90CSDK\Lib\x86"
DX_SDK="C:\SDK\DX90CSDK\Include"
+PREBUILD=MakeBuildVer.bat
!IF "$(RELEASE)"=="1"
POSTBUILD=copy $(SRC_RA)\RA_Integration.dll . && copy $(SRC_RA)\*.pdb .
!ELSE
POSTBUILD=copy $(SRC_RA)\RA_Integration_d.dll . && copy $(SRC_RA)\*.pdb .
!ENDIF
-PREBUILD=MakeBuildVer.bat
-
!IF [if not exist $(GENSPATH) mkdir $(GENSPATH)]
!ERROR Could not create path "$(GENSPATH)".
!ENDIF
@@ -162,7 +161,9 @@ STARSCREAM_LIBS = \
odbc32.lib \
odbccp32.lib
-all:
+all: pre-build gens
+
+pre-build:
$(PREBUILD)
gens: $(GENSPATH)\RAGens.exe
Oops, something went wrong.

0 comments on commit 10195fa

Please sign in to comment.