Commit graph

16578 commits

Author SHA1 Message Date
Tim Felgentreff
eb151160ef make shader debugging easier 2016-05-25 14:01:52 +02:00
Tim Felgentreff
a1ccfeba61 Merge branch 'master' of https://github.com/Wargus/stratagus 2016-05-23 17:45:26 +02:00
Tim Felgentreff
cdefe2a203 Revert "Don't build for XP any longer"
This reverts commit 1d15c6dafd.
2016-05-23 17:34:30 +02:00
Tim Felgentreff
09aa64bd56 Merge branch 'master' of github.com:Wargus/stratagus 2016-05-23 17:34:20 +02:00
Tim Felgentreff
85483ab306 create folder if it doesn't exist already 2016-05-23 17:33:34 +02:00
Tim Felgentreff
9d109013b9 Revert "Don't build for XP any longer"
This reverts commit 1d15c6dafd.
2016-05-23 17:20:27 +02:00
Tim Felgentreff
1d15c6dafd Don't build for XP any longer 2016-05-23 13:04:59 +02:00
Tim Felgentreff
9d7148185d Merge pull request from srukle/patch-1
corrected small spelling mistake
2016-03-29 08:46:01 +02:00
Sam Klein
5551213dc2 Update index.html 2016-03-28 21:15:43 -05:00
Sam Klein
a58f8dc0b9 correct small spelling mistake 2016-03-28 20:48:42 -05:00
Tim Felgentreff
6c7b21d7ee Fix loop length 2016-03-15 23:45:01 +01:00
Tim Felgentreff
fc2bc028d5 Merge pull request from Wargus/tim/fix-screenshots-with-shaders
Fixes for screenshot code with opengl
2016-03-15 07:21:21 +01:00
Tim Felgentreff
542fb43c38 revert unintentional change 2016-03-15 00:12:19 +01:00
Tim Felgentreff
15b6eaa48f do proper error checking when testing if shaders are supported, so when the hardware won't accept the shader or the program (even though the opengl lib supports it), we don't get an upside down image any longer 2016-03-15 00:09:42 +01:00
Tim Felgentreff
8c314be70d account for viewport sizes and shaders in screenshot code, don't rely on std::vector internal organization 2016-03-14 23:50:01 +01:00
Tim Felgentreff
282212233f Merge branch 'master' of https://github.com/Wargus/stratagus.git 2016-03-07 12:10:32 +01:00
Tim Felgentreff
b81ed71ec1 Ship our own SDL.dll 2016-03-07 12:08:54 +01:00
Tim Felgentreff
1a4168d582 [skip ci] Document release process 2016-03-07 12:00:45 +01:00
Tim Felgentreff
a8397705be fix for last commit 2016-03-07 11:51:58 +01:00
Tim Felgentreff
668503a4e5 also bundle up the compiled binary+dlls (so windows games can ship them in their installers) 2016-03-07 11:35:59 +01:00
Tim Felgentreff
e30548c5a9 On Windows, also look for a local stratagus.exe 2016-03-07 11:27:16 +01:00
Tim Felgentreff
728edd2ba2 ship lua51.dll with stratagus 2016-03-07 11:15:25 +01:00
Tim Felgentreff
3db76e5cb6 Try to build for XP 2016-03-07 10:48:59 +01:00
Tim Felgentreff
54b89e3049 search and include libjpeg only for msvc 2016-03-06 18:29:07 +01:00
Tim Felgentreff
ebb0c39df6 enable stdio redirect for building 2016-03-06 14:26:31 +01:00
Tim Felgentreff
0778357cc3 redirect stratagus output to user directory (to avoid having to run as administrator) 2016-03-06 14:25:49 +01:00
Tim Felgentreff
8660af276a make sure we also find libjpeg when using mng (mng uses libjpeg) 2016-03-06 14:25:13 +01:00
Tim Felgentreff
9090edbbf4 we cannot ColorCycleAll in OpenGL mode 2016-02-22 16:27:34 +01:00
Tim Felgentreff
8efa0cc1d2 add getter for OpenGL state 2016-02-22 16:18:18 +01:00
Tim Felgentreff
35e14bc8e4 Merge pull request from Wargus/tim/color-cycling
Force re-generating the textures for color cycled graphics in OpenGL
2016-02-16 11:32:00 +01:00
Tim Felgentreff
d57d31a59a Merge pull request from Wargus/tim/build-over-buildings
Allow building over decorative buildings without HP
2016-02-16 11:25:49 +01:00
Tim Felgentreff
404898ed21 Allow building over decorative buildings without HP. Needed for war1gus roads. 2016-02-16 10:19:40 +01:00
Tim Felgentreff
a1df834bad Add DefineNewRaceNames function. Fixes 2016-02-15 17:20:11 +01:00
Tim Felgentreff
5782de578d Merge pull request from Wargus/tim/network-issues
Address some potential network desyncs
2016-02-15 12:44:12 +01:00
Tim Felgentreff
c336223f22 undo accidental whitespace changes 2016-02-15 12:04:05 +01:00
Tim Felgentreff
005ce1d52b re-initialize the shared variables in network games 2016-02-15 12:01:02 +01:00
Tim Felgentreff
08d526d29e fix undefined behavior in astar (caught with valgrind) 2016-02-15 12:00:57 +01:00
Tim Felgentreff
e479f44eec * Revert "only show the out of sync message if we encounter this and are already". This reverts commit 7ee413e51f.
* Revert "Set NetworkInSync to false if the sync seed or hash is wrong". This reverts commit 0ec82a7279.
* use SyncRand more consistently
2016-02-15 12:00:51 +01:00
Andrettin
f879d7638e Fixed a potential desync cause due to units' facing being randomly set when created through a random number generating function that isn't s 2016-02-10 16:12:19 +01:00
Tim Felgentreff
7ee413e51f only show the out of sync message if we encounter this and are already
out of sync for some other reason
2016-02-07 13:21:00 +01:00
Tim Felgentreff
0ec82a7279 Set NetworkInSync to false if the sync seed or hash is wrong 2016-02-07 01:21:35 +01:00
Tim Felgentreff
b97ddec6c5 Merge remote-tracking branch 'origin/master' into tim/color-cycling 2016-02-05 15:38:45 +01:00
Tim Felgentreff
ce55f73c2b cache color cycling textures 2016-02-05 15:38:26 +01:00
Tim Felgentreff
02de191d47 do not attempt (and fail) to build mac bundle on linux 2016-02-04 15:08:59 +01:00
Tim Felgentreff
fe11cb4c9e debug printing 2016-02-04 15:02:00 +01:00
Tim Felgentreff
464c8866ea Fix 2016-02-04 11:10:30 +01:00
Tim Felgentreff
eef4d5fb20 Fix 2016-02-04 11:00:35 +01:00
Tim Felgentreff
0f33b231de try to figure out where the target finding crashes 2016-02-04 10:53:56 +01:00
Tim Felgentreff
77a090c76e [skip ci] Add a comment about optimizing opengl color cycling 2016-02-03 12:47:56 +01:00
Tim Felgentreff
5653afa0f6 Also undo the color cycling in opengl 2016-02-03 12:44:13 +01:00