diff --git a/source/vcpp/SDL_win32_main.c b/source/vcpp/SDL_win32_main.c index 94a8e0c4..58668b7e 100644 --- a/source/vcpp/SDL_win32_main.c +++ b/source/vcpp/SDL_win32_main.c @@ -4,6 +4,8 @@ The WinMain function -- calls your program's main() function */ +#include + #define _CRT_SECURE_NO_DEPRECATE #include diff --git a/source/vcpp/buildEnv/new-patch.ps1 b/source/vcpp/buildEnv/new-patch.ps1 new file mode 100644 index 00000000..9ab98382 --- /dev/null +++ b/source/vcpp/buildEnv/new-patch.ps1 @@ -0,0 +1,23 @@ +function new-patch +{ + param($from, $to); + # get diff summary as XML + [xml] $summary = (svn diff $to $from -x --ignore-eol-style --xml --summarize); + # loop through all diff/paths/path nodes + # each node represents a modified/new file + foreach($item in $summary.diff.paths.path) + { + # the SVN url + $url=$_."#text"; + # the relative filename + $file=($_."#text".Substring($to.Length)); + # the parent directory + $dir=($file | split-path -parent); + # create parent directory if it doesn't exist already + if((test-path $dir) -eq $false) { mkdir $dir -force}; + # export current files from the SVN repository + svn export $url $file + } + # package the current dir (.) into patch.zip + sevenzip.exe a patch.zip . +} \ No newline at end of file diff --git a/source/vcpp/cube.suo b/source/vcpp/cube.suo deleted file mode 100644 index c01cb627..00000000 Binary files a/source/vcpp/cube.suo and /dev/null differ diff --git a/source/vcpp/cube.vcproj b/source/vcpp/cube.vcproj index 55846406..ae90087e 100644 --- a/source/vcpp/cube.vcproj +++ b/source/vcpp/cube.vcproj @@ -84,7 +84,7 @@ />