forked from gameplay3d/gameplay
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored repo folder to remove gameplay- prefixes on various folder…
…s and files.
- Loading branch information
1 parent
ee3a18e
commit f039c05
Showing
896 changed files
with
60,076 additions
and
326 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ REM | |
REM generate-project.bat | ||
REM | ||
REM This windows batch script generates a set of gameplay project files. | ||
REM The new project will be based of the gameplay-template project and | ||
REM The new project will be based of the template project and | ||
REM it will be generated with the name and location that is specified | ||
REM as input parameters. | ||
REM | ||
|
@@ -159,44 +159,44 @@ mkdir "%projPath%\src" | |
mkdir "%projPath%\res" | ||
|
||
REM Copy Microsoft Visual Studio project files | ||
copy gameplay-template\gameplay-template.vcxproj "%projPath%\%projName%.vcxproj" | ||
copy template\template.vcxproj "%projPath%\%projName%.vcxproj" | ||
call:replace "%projPath%\%projName%.vcxproj" TEMPLATE_PROJECT "%projName%" | ||
call:replace "%projPath%\%projName%.vcxproj" TemplateGame "%className%" | ||
call:replace "%projPath%\%projName%.vcxproj" GAMEPLAY_PATH "%gpPath%" | ||
|
||
copy gameplay-template\gameplay-template.vcxproj.filters "%projPath%\%projName%.vcxproj.filters" | ||
copy template\template.vcxproj.filters "%projPath%\%projName%.vcxproj.filters" | ||
call:replace "%projPath%\%projName%.vcxproj.filters" TemplateGame "%className%" | ||
|
||
copy gameplay-template\gameplay-template.vcxproj.user "%projPath%\%projName%.vcxproj.user" | ||
copy template\template.vcxproj.user "%projPath%\%projName%.vcxproj.user" | ||
call:replace "%projPath%\%projName%.vcxproj.user" GAMEPLAY_PATH "%gpPath%" | ||
|
||
REM Copy Apple XCode project files | ||
mkdir "%projPath%\%projName%.xcodeproj" | ||
copy gameplay-template\gameplay-template.xcodeproj\project.pbxproj "%projPath%\%projName%.xcodeproj\project.pbxproj" | ||
copy template\template.xcodeproj\project.pbxproj "%projPath%\%projName%.xcodeproj\project.pbxproj" | ||
call:replace "%projPath%\%projName%.xcodeproj\project.pbxproj" GAMEPLAY_PATH "%gpPath%" | ||
call:replace "%projPath%\%projName%.xcodeproj\project.pbxproj" TemplateGame "%className%" | ||
call:replace "%projPath%\%projName%.xcodeproj\project.pbxproj" TEMPLATE_PROJECT "%projName%" | ||
|
||
copy gameplay-template\TEMPLATE_PROJECT-macosx.plist "%projPath%\%projName%-macosx.plist" | ||
copy template\TEMPLATE_PROJECT-macosx.plist "%projPath%\%projName%-macosx.plist" | ||
call:replace "%projPath%\%projName%-macosx.plist" TEMPLATE_UUID "%uuid%" | ||
call:replace "%projPath%\%projName%-macosx.plist" TEMPLATE_AUTHOR "%author%" | ||
|
||
copy gameplay-template\TEMPLATE_PROJECT-ios.plist "%projPath%\%projName%-ios.plist" | ||
copy gameplay-template\Default-568h@2x.png "%projPath%\[email protected]" | ||
copy template\TEMPLATE_PROJECT-ios.plist "%projPath%\%projName%-ios.plist" | ||
copy template\Default-568h@2x.png "%projPath%\[email protected]" | ||
call:replace "%projPath%\%projName%-ios.plist" TEMPLATE_TITLE "%title%" | ||
call:replace "%projPath%\%projName%-ios.plist" TEMPLATE_UUID "%uuid%" | ||
call:replace "%projPath%\%projName%-ios.plist" TEMPLATE_AUTHOR "%author%" | ||
|
||
REM Copy BlackBerry NDK project files | ||
copy gameplay-template\template.cproject "%projPath%\.cproject" | ||
copy template\template.cproject "%projPath%\.cproject" | ||
call:replace "%projPath%\.cproject" TEMPLATE_PROJECT "%projName%" | ||
call:replace "%projPath%\.cproject" TEMPLATE_UUID "%uuid%" | ||
call:replace "%projPath%\.cproject" GAMEPLAY_PATH "%gpPath%" | ||
|
||
copy gameplay-template\template.project "%projPath%\.project" | ||
copy template\template.project "%projPath%\.project" | ||
call:replace "%projPath%\.project" TEMPLATE_PROJECT "%projName%" | ||
|
||
copy gameplay-template\template.bar-descriptor.xml "%projPath%\bar-descriptor.xml" | ||
copy template\template.bar-descriptor.xml "%projPath%\bar-descriptor.xml" | ||
call:replace "%projPath%\bar-descriptor.xml" TEMPLATE_PROJECT "%projName%" | ||
call:replace "%projPath%\bar-descriptor.xml" TEMPLATE_TITLE "%title%" | ||
call:replace "%projPath%\bar-descriptor.xml" TEMPLATE_UUID "%uuid%" | ||
|
@@ -206,51 +206,51 @@ call:replace "%projPath%\bar-descriptor.xml" TEMPLATE_DESCRIPTION "%desc%" | |
REM Copy Android NDK project files | ||
mkdir "%projPath%\android" | ||
|
||
copy gameplay-template\android\template.AndroidManifest.xml "%projPath%\android\AndroidManifest.xml" | ||
copy template\android\template.AndroidManifest.xml "%projPath%\android\AndroidManifest.xml" | ||
call:replace "%projPath%\android\AndroidManifest.xml" TEMPLATE_PROJECT "%projName%" | ||
call:replace "%projPath%\android\AndroidManifest.xml" TEMPLATE_UUID "%uuid%" | ||
|
||
copy gameplay-template\android\template.build.xml "%projPath%\android\build.xml" | ||
copy template\android\template.build.xml "%projPath%\android\build.xml" | ||
call:replace "%projPath%\android\build.xml" TEMPLATE_PROJECT "%projName%" | ||
|
||
mkdir "%projPath%\android\jni" | ||
|
||
copy gameplay-template\android\jni\Application.mk "%projPath%\android\jni\Application.mk" | ||
copy template\android\jni\Application.mk "%projPath%\android\jni\Application.mk" | ||
|
||
copy gameplay-template\android\jni\template.Android.mk "%projPath%\android\jni\Android.mk" | ||
copy template\android\jni\template.Android.mk "%projPath%\android\jni\Android.mk" | ||
call:replace "%projPath%\android\jni\Android.mk" TemplateGame "%className%" | ||
call:replace "%projPath%\android\jni\Android.mk" TEMPLATE_PROJECT "%projName%" | ||
call:replace "%projPath%\android\jni\Android.mk" GAMEPLAY_PATH "%gpPath%" | ||
|
||
mkdir "%projPath%\android\res\drawable" | ||
|
||
copy gameplay-template\icon.png "%projPath%\android\res\drawable\icon.png" | ||
copy template\icon.png "%projPath%\android\res\drawable\icon.png" | ||
|
||
mkdir "%projPath%\android\res\values" | ||
|
||
copy gameplay-template\android\res\values\template.strings.xml "%projPath%\android\res\values\strings.xml" | ||
copy template\android\res\values\template.strings.xml "%projPath%\android\res\values\strings.xml" | ||
call:replace "%projPath%\android\res\values\strings.xml" TEMPLATE_TITLE "%title%" | ||
|
||
mkdir "%projPath%\build" | ||
copy "gameplay-template\gameplay-template-CMakeLists.txt" "%projPath%\CMakeLists.txt" | ||
copy "template\template-CMakeLists.txt" "%projPath%\CMakeLists.txt" | ||
call:replace "%projPath%\CMakeLists.txt" TEMPLATE_PROJECT %projName% | ||
call:replace "%projPath%\CMakeLists.txt" TemplateGame %className% | ||
call:replace "%projPath%\CMakeLists.txt" GAMEPLAY_PATH %gpPath% | ||
|
||
REM Copy source files | ||
copy gameplay-template\src\TemplateGame.h "%projPath%\src\%className%.h" | ||
copy gameplay-template\src\TemplateGame.cpp "%projPath%\src\%className%.cpp" | ||
copy template\src\TemplateGame.h "%projPath%\src\%className%.h" | ||
copy template\src\TemplateGame.cpp "%projPath%\src\%className%.cpp" | ||
call:replace "%projPath%\src\%className%.h" TemplateGame "%className%" | ||
call:replace "%projPath%\src\%className%.cpp" TemplateGame "%className%" | ||
|
||
REM Copy resource files | ||
copy gameplay-template\res\* "%projPath%\res\" | ||
copy template\res\* "%projPath%\res\" | ||
|
||
REM Copy icon | ||
copy gameplay-template\icon.png "%projPath%\icon.png" | ||
copy template\icon.png "%projPath%\icon.png" | ||
|
||
REM Copy config | ||
copy gameplay-template\game.config "%projPath%\game.config" | ||
copy template\game.config "%projPath%\game.config" | ||
call:replace "%projPath%\game.config" TEMPLATE_TITLE "%title%" | ||
|
||
REM Open new project folder | ||
|
Oops, something went wrong.