Itms
852cd11305
Improve the performance of the GetLosVisibility function by using the cache (currently used for mirages only) whenever possible.
...
This was SVN commit r16166.
2015-01-20 16:29:50 +00:00
Ykkrosh
7a48606471
GLES compatibility for particle shader
...
This needs to use the model-view matrix, not model-view-projection (the
transform uniform), else the axes won't be unit vectors and the particle
sizes will be wrong. But GLES doesn't have the pre-defined matrices, so
pass it in explicitly.
This was SVN commit r16165.
2015-01-19 21:44:53 +00:00
Ykkrosh
e1e163b3f7
Improve ogl_WarnIfError() to report the file/line where the error was detected
...
This was SVN commit r16164.
2015-01-19 20:06:16 +00:00
Ykkrosh
b74e853144
Fix typo which caused GLES errors
...
This was SVN commit r16163.
2015-01-19 20:04:46 +00:00
mimo
4554ed676e
continue to display research overlay after victory, fixes #2983
...
This was SVN commit r16161.
2015-01-18 16:55:52 +00:00
Yves
09bbc9c35c
Enable C++11 by default.
...
Don't generate workspaces and remove checks for unsupported compier/IDE
version$
Refs #2669
This was SVN commit r16160.
2015-01-18 13:44:03 +00:00
mimo
10f90fd8cf
Petra: fix missing line in 0a5089c841
...
This was SVN commit r16159.
2015-01-18 10:28:30 +00:00
Yves
a72d490759
Fix Atlas compile problems with C++11 and clang. Thanks to trompetin17 for investigating this.
...
Refs #2669
This was SVN commit r16158.
2015-01-18 09:48:41 +00:00
historic_bruno
840c8215b6
Fixes build error 'no viable conversion' on OS X with clang, libc++ and c++11, refs #2462 .
...
Removes explicit use of _Unwrap(), prefer deference operator * instead
This was SVN commit r16157.
2015-01-18 06:36:15 +00:00
historic_bruno
8976fb7646
Fixes MSVC warning C4100 unreferenced formal parameter
...
This was SVN commit r16156.
2015-01-18 06:26:00 +00:00
historic_bruno
4ca156e2d8
Updates build-osx-libs.sh to use wxWidgets 3.0.2.
...
Adds patch to fix wxWidgets build on Yosemite (based on
http://trac.wxwidgets.org/changeset/76743 ), fixes #2924 .
Removes patch for previous version of wxWidgets.
This was SVN commit r16155.
2015-01-18 03:31:26 +00:00
mimo
0a5089c841
Petra: prevent melee units to try to attack ships + tweaks on buildings
...
This was SVN commit r16154.
2015-01-17 17:50:27 +00:00
Yves
ba14819191
Use future-proof lib path in build-osx-libs.sh. Patch by trompetin17.
...
There are symbolic links to the library binaries in the directory
dist/lib. It's better to use these links rather than the location they
point to for the copy command (they point to a different location in
ESR31).
Refs #2462
This was SVN commit r16153.
2015-01-17 14:03:22 +00:00
mimo
993d9c72d3
Petra: various small tweaks
...
This was SVN commit r16152.
2015-01-17 12:53:33 +00:00
Itms
02a50fce62
Notify map makers when they are placing obstructed entities (overlapping other ones or placed outside the borders of the map). Patch by trompetin17
...
Fix #1163 , refs #2829 .
This was SVN commit r16149.
2015-01-14 09:11:11 +00:00
leper
755ec45a14
Use correct format specifiers. Patch by bog_dan_ro.
...
This was SVN commit r16148.
2015-01-13 18:37:50 +00:00
mimo
702fb7344e
allow maps to handle garrisoned units, fixes #2984
...
This was SVN commit r16147.
2015-01-13 17:59:55 +00:00
fabio
f2d71164e6
Fixes game mode defaulting to Conquest when Endless mode is selected.
...
Patch by niektb, thanks!
Fixes #3001 .
This was SVN commit r16146.
2015-01-13 12:08:54 +00:00
mimo
528ed2d15e
prevent error when switching perspective to gaia
...
This was SVN commit r16145.
2015-01-12 22:03:03 +00:00
mimo
e916c7e91f
add display of trading goods when multiple selection
...
This was SVN commit r16144.
2015-01-12 21:39:31 +00:00
mimo
9855717840
Petra fix js warning when building cart super_dock, addresses #2998
...
This was SVN commit r16143.
2015-01-12 20:47:14 +00:00
mimo
320cfa0bfc
Petra: complete the rework of starting game to allow more flexibility (i.e. support of nomad maps)
...
This was SVN commit r16142.
2015-01-11 22:47:24 +00:00
historic_bruno
851d3d964a
Fixes MSVC build warnings about unhanded cases in switch statement (C4062) and missing parameter in macro (C4003)
...
This was SVN commit r16141.
2015-01-11 21:37:53 +00:00
leper
8fc14655b5
Improve 524a942b52. Refs #2637 .
...
This was SVN commit r16140.
2015-01-11 19:14:03 +00:00
Yves
95fa46304f
Don't specify wxwidgets lib names in extern_libs4.lua
...
It works without specifying them and this way it builds with wxwidgets
2.8 and 3 on Windows
Refs #2891
This was SVN commit r16139.
2015-01-11 17:25:24 +00:00
Gallaecio
524a942b52
Only print add_translation warning when translations do not match
...
FIXES 2637
This was SVN commit r16138.
2015-01-11 14:08:01 +00:00
mimo
873399b294
fix a typo, addresses #2998
...
This was SVN commit r16136.
2015-01-10 19:41:02 +00:00
mimo
731e3dd13c
Petra: continue rework of starting game to allow more game type
...
This was SVN commit r16135.
2015-01-10 14:34:26 +00:00
leper
77dba7a8bb
Remove some duplication in the gui tooltip code.
...
This was SVN commit r16134.
2015-01-09 17:08:12 +00:00
Itms
539b4d8372
Remove an old, useless and possibly broken call.
...
This was SVN commit r16133.
2015-01-09 16:59:01 +00:00
Yves
c681174fad
Adds a notice about a known issue in premake4.lua with the icc compiler
...
Refs #2994
This was SVN commit r16132.
2015-01-09 12:48:42 +00:00
Itms
5cf2086a33
Fix the initial exploration of territories, which shouldn't be performed in Atlas.
...
Also clean up the code a bit.
Fixes #2969
This was SVN commit r16129.
2015-01-08 22:36:13 +00:00
mimo
006faaeaeb
Petra: tunings for 9b79b5b844
...
This was SVN commit r16128.
2015-01-08 22:01:38 +00:00
leper
0f21151c4b
Some gui code cleanup/restructuring.
...
Moving some tooltip code that only needs templates to common/ to
allow to use that for the structree mod.
This was SVN commit r16127.
2015-01-08 21:37:59 +00:00
Itms
57033850a8
Check for unsaved changes in Atlas. Patch by trompetin17, fixes #2819 .
...
This was SVN commit r16126.
2015-01-08 21:29:27 +00:00
leper
57ecf88ac2
Move some technology template and template information retrieval code
...
to globalscripts, so that the gui is able to use it without needing the
simulation.
This helps remove code duplication in the structree mod.
This was SVN commit r16125.
2015-01-08 19:55:10 +00:00
leper
e8fb23e940
Fix tests broken in bd31f83587.
...
This was SVN commit r16124.
2015-01-08 19:20:34 +00:00
mimo
bdb1145f63
remove some debug printout forgotten in 9b79b5b844
...
This was SVN commit r16123.
2015-01-07 21:55:21 +00:00
mimo
9b79b5b844
Petra: first step of base management rework needed for nomad maps
...
This was SVN commit r16122.
2015-01-07 21:40:10 +00:00
mimo
bb6003ea0c
rename civ specific player template following 4243433f94 convention
...
This was SVN commit r16121.
2015-01-07 21:18:59 +00:00
leper
bd31f83587
Check if components exist before using them.
...
Remove EntityLimits and TechnologyManager from the gaia player template.
This was SVN commit r16120.
2015-01-07 20:48:36 +00:00
leper
4243433f94
Use a gaia specific player entity.
...
Fix some code that assumed components exist instead of testing for them.
EntityLimits and TechnologyManager are not needed for gaia and will be
removed in the future.
This was SVN commit r16119.
2015-01-07 20:33:19 +00:00
mimo
c6bb3df43a
following #2877 , civilCentre must be disabled for this kind of scenario
...
This was SVN commit r16118.
2015-01-07 20:29:01 +00:00
leper
01fb25fdab
Fix variable name.
...
This was SVN commit r16117.
2015-01-07 19:52:33 +00:00
leper
a8c85035f8
Ignore gaia in PlayerData when loading maps.
...
This was SVN commit r16116.
2015-01-06 00:16:06 +00:00
Ykkrosh
b36c78b4c4
Fix build warning
...
This was SVN commit r16115.
2015-01-05 20:05:53 +00:00
LordGood
d8b1549883
Seleucid farmstead
...
This was SVN commit r16114.
2015-01-04 12:46:57 +00:00
leper
045fea23aa
Properly adjust Atlas for the init changes.
...
This was SVN commit r16112.
2015-01-03 17:42:42 +00:00
leper
c21514b844
Do not include domestic animals in military selection. Patch by trompetin17. Fixes #2978 .
...
This was SVN commit r16111.
2015-01-03 15:44:28 +00:00
leper
dadfcb06d2
Specify icons for base phase techs.
...
This was SVN commit r16110.
2015-01-03 15:15:55 +00:00