rd /S /Q c:\temp\gigalomaniasrc\

mkdir c:\temp\gigalomaniasrc\

set src="."
set dst="c:\temp\gigalomaniasrc"

copy %src%\makewindowsarchive.bat %dst%
copy %src%\makearosarchive %dst%
copy %src%\makesrcarchive.bat %dst%
REM copy %src%\makesymbianfolder.bat %dst%
REM copy %src%\makeandroidfolder.bat %dst%
copy %src%\gigalomania_source.txt %dst%
copy %src%\readme.html %dst%

REM Windows Visual C++ stuff:

copy %src%\gigalomania.vcxproj %dst%
copy %src%\gigalomania.vcxproj.filters %dst%
REM copy %src%\gigalomania_sdl1.vcxproj %dst%
copy %src%\gigalomania.sln %dst%
copy %src%\resource.rc %dst%
copy %src%\gigalomania.ico %dst%

REM Linux etc stuff:

copy %src%\Makefile %dst%
REM copy %src%\gigalomania_fullscreen.sh %dst%
copy %src%\gigalomania.desktop %dst%
REM copy %src%\gigalomania_fullscreen.desktop %dst%
copy %src%\gigalomania_maemo.desktop %dst%
copy %src%\gigalomania_mobile.sh %dst%
copy %src%\gigalomania64.png %dst%
copy %src%\gigalomania48.png %dst%

REM AROS stuff:

copy %src%\Makefile_aros %dst%

mkdir %dst%\aros
xcopy %src%\aros %dst%\aros /E /Y

REM AmigaOS 4 stuff:

copy %src%\Makefile_aos4 %dst%

mkdir %dst%\amigaos4
xcopy %src%\amigaos4 %dst%\amigaos4 /E /Y

REM Qt stuff:

REM copy %src%\gigalomania.pro %dst%
REM copy %src%\deployment.pri %dst%
REM copy %src%\gigalomania.qrc %dst%
REM copy %src%\gigalomania_android.qrc %dst%
REM copy %src%\gigalomania.svg %dst%

REM Not really needed, but just to have backup of the source for gigalomania.svg:

REM copy %src%\gigalomania_symbian.png %dst%

REM General:

copy %src%\gpl.txt %dst%

copy %src%\game.cpp %dst%
copy %src%\gamestate.cpp %dst%
copy %src%\gui.cpp %dst%
copy %src%\image.cpp %dst%
copy %src%\main.cpp %dst%
copy %src%\panel.cpp %dst%
copy %src%\player.cpp %dst%
copy %src%\resources.cpp %dst%
copy %src%\screen.cpp %dst%
copy %src%\sector.cpp %dst%
copy %src%\sound.cpp %dst%
copy %src%\tutorial.cpp %dst%
copy %src%\utils.cpp %dst%
copy %src%\stdafx.cpp %dst%

copy %src%\game.h %dst%
copy %src%\gamestate.h %dst%
copy %src%\gui.h %dst%
copy %src%\image.h %dst%
copy %src%\panel.h %dst%
copy %src%\player.h %dst%
copy %src%\resources.h %dst%
copy %src%\screen.h %dst%
copy %src%\sector.h %dst%
copy %src%\sound.h %dst%
copy %src%\tutorial.h %dst%
copy %src%\utils.h %dst%
copy %src%\common.h %dst%
copy %src%\stdafx.h %dst%

mkdir %dst%\TinyXML
copy %src%\TinyXML\tinyxml.cpp %dst%\TinyXML
copy %src%\TinyXML\tinyxmlerror.cpp %dst%\TinyXML
copy %src%\TinyXML\tinyxmlparser.cpp %dst%\TinyXML
copy %src%\TinyXML\tinyxml.h %dst%\TinyXML

REM copy %src%\SDL_main.c %dst%

REM Qt specific files:

REM copy %src%\mainwindow.cpp %dst%
REM copy %src%\qt_image.cpp %dst%
REM copy %src%\qt_screen.cpp %dst%
REM copy %src%\qt_sound.cpp %dst%

REM copy %src%\mainwindow.h %dst%
REM copy %src%\qt_image.h %dst%
REM copy %src%\qt_screen.h %dst%
REM copy %src%\qt_sound.h %dst%

REM also copy data folders

mkdir %dst%\islands\
copy %src%\islands\ %dst%\islands\

mkdir %dst%\gfx
copy %src%\gfx\ %dst%\gfx\

REM used by Symbian deployment, though has to replace gfx/ manually
REM mkdir %dst%\gfx_2x
REM copy %src%\gfx_2x\ %dst%\gfx_2x\

REM used by Android, though has to replace gfx/ manually
mkdir %dst%\gfx_android_extras
copy %src%\gfx_android_extras\ %dst%\gfx_android_extras\

mkdir %dst%\music
copy %src%\music\ %dst%\music\

mkdir %dst%\sound
copy %src%\sound\ %dst%\sound\

REM mkdir %dst%\debian
REM copy %src%\debian\ %dst%\debian\

REM mkdir %dst%\debian_maemo
REM copy %src%\debian_maemo\ %dst%\debian_maemo\

REM mkdir %dst%\androidaudio\

REM copy %src%\androidaudio\androidaudio.cpp %dst%\androidaudio
REM copy %src%\androidaudio\androidaudio.h %dst%\androidaudio
REM copy %src%\androidaudio\androidsoundeffect.cpp %dst%\androidaudio
REM copy %src%\androidaudio\androidsoundeffect.h %dst%\androidaudio

mkdir %dst%\android
xcopy %src%\android %dst%\android /E /Y

REM exit
