Tweaked some stuff on a few maps.
Fixed Iberian Walls for Nile River skirmish.
Changed names for Ptolemaic warships.
A couple of technology portraits for Advanced and Elite upgrades (these
techs are not implemented, but planned).
This was SVN commit r14047.
Changed Nile River maps to "naval" maps because the AI gets stuck trying
to cross the river.
Renamed the "ptol" statue ruins to "egyptian" statue ruins. Makes them
more generically "Egyptian".
Ensured siege engines can only be built in City Phase.
This was SVN commit r14044.
Changed costs on a few units.
New tooltips and hero auras for Carthaginian heroes Hannibal, Hamilcar,
and Maharbal. (see: wiki civ profile)
Fixed specificname for some Carthaginian units.
Added a field entity for "skirmish" maps.
This was SVN commit r14043.
Nile River skirmish map (still needs Iberian walls for 2 of the
players).
New map preview for Arabian Oasis.
Moved Civic Center back to Town Phase, but made it take twice as long to
build.
Fixed elephant template.
Fixed up Persian Highlands skirmish map based on some notes from
Alpha123.
This was SVN commit r14040.
Because it was historically grown, we have some duplicated code for
converting script types to native types.
This patch removes the file JSConversions.cpp and moves some code to
ScriptConversions.cpp.
The places using JSConversions.cpp are changed to use the
ScriptInterface's conversion functions in ScriptConversions.cpp.
I also removed JSInterface_Vector3D because it had additional
requirements to the conversion code that no other code has and because
it's currently not used. I think it doesn't make sense to maintain code
just because it could possibly be used again later.
Closes#2213
Refs #1886
This was SVN commit r14036.
Changed Brit Wonder to the new Stonehenge model. :)
Trying out some new hunting changes from sanderd. Might just be
temporary. Refs #2092
This was SVN commit r14027.
Since all remaining uses of ScriptableObject/CJSObject have been
removed, the related files can now also be removed.
Closes#2212
Refs #2126
Refs #2137
Refs #1886
This was SVN commit r14026.
Add optional clipping rectangle to CTextRenderer. Strings that are
printed
outside the vertical extent of the clipping rectangle will be
immediately
skipped. This greatly reduces the cost of large scrollable text boxes.
This was SVN commit r14019.
When CTextRenderer is given multiple strings with no differences other
than position, render them in a single glDrawElements call to reduce
driver overhead.
Also avoid some unnecessary copies of std::wstrings.
This helps performance a bit with large GUI text boxes.
This was SVN commit r14018.
Replace unifont with CFont and CFontManager, since the h_mgr interface
was
needlessly inconvenient.
Load the font textures through CTextureManager, to support dynamic
reloading (e.g. when resetting GL state - see #741).
Add CFontMetrics as a convenient wrapper for code that just wants to
measure text.
Fixes#1117.
This was SVN commit r14016.
When textures.xml specifies format="alpha", the input is expected to be
an
8-bit greyscale PNG, and the output will be an 8-bit uncompressed
alpha-only DDS.
Add format override to CTextureProperties, to select between e.g.
GL_ALPHA
and GL_LUMINANCE for 8-bit textures.
This is needed so fonts can use the new texture system.
This was SVN commit r14015.
Persians and Mauryans still have uber archers, but must first pay for
them by researching "Archery Tradition" at the Barracks for 200F 300W.
This technology adds +10 meters to the range of all bow-using units,
plus makes archer units train faster (but have less health).
This was SVN commit r14007.