cfec28e553
Add the Engine code for turrets + use them to get units on walls. The scripted TurretHolder isn't included due to lack of usability for now. Refs #2577
...
This was SVN commit r15246.
2014-05-30 14:46:06 +00:00
a0913cbc75
Fix the interpolation changes from the previous commit, as they weren't smooth
...
This was SVN commit r15232.
2014-05-26 17:12:05 +00:00
85a1f880ab
Fix compatibility with LLVM libc++ (used on OS X).
...
libc++ vector asserts that allocator::value_type is correct, so we have
to pass in the correct types.
This was SVN commit r15231.
2014-05-26 16:48:28 +00:00
5ae9f678b0
Clean up position height methods + add new. Now we have the ability to losslessly read and write positions to entities from the scripts.
...
This was SVN commit r15230.
2014-05-26 16:23:46 +00:00
c3a0ac43bf
Broadcast TerrainChanged message, so CCmpSelectable can actually see it.
...
This was SVN commit r15229.
2014-05-26 15:44:35 +00:00
4ca40116ed
Fix building selection rings not being recomputed when the terrain or water under them is changed.
...
This was SVN commit r15228.
2014-05-26 13:45:49 +00:00
1871daab0d
Fix pathfinding and territories not being recomputed when water height changes.
...
This was SVN commit r15227.
2014-05-26 13:45:10 +00:00
41f62cd3ff
Add WaterChanged message, for things that need to be recomputed when the water height changes.
...
This was SVN commit r15226.
2014-05-26 13:44:24 +00:00
6407b593d6
Make displayFrustum controllable from scripts.
...
This was SVN commit r15225.
2014-05-26 13:42:32 +00:00
1936abad98
Remove length limits on script output in console.
...
This was SVN commit r15224.
2014-05-26 13:39:45 +00:00
e79adae921
Attempt to work around LOS texture alignment bug.
...
For unknown reasons, sometimes glTexSubImage2D acts as if
GL_UNPACK_ALIGNMENT = 2 or 4, instead of 1. This causes the odd-sized
array uploaded for the LOS texture to be interpreted incorrectly, and
the LOS texture gets rendered very incorrectly.
Pad the array to a multiple of 4 in all cases, so that
GL_UNPACK_ALIGNMENT shouldn't affect it.
Hopefully fixes #2594 .
This was SVN commit r15216.
2014-05-25 13:30:39 +00:00
072e4a614e
Bump lobby version string.
...
This was SVN commit r15214.
2014-05-25 03:21:32 +00:00
5ce12c2263
Start phasing out the use of CParser in the GUI. Makes GUI parsing generally faster and stricter while adding better tests and debug information.
...
This was SVN commit r15213.
2014-05-25 03:16:52 +00:00
2fbc55ec96
Update lobby server README.
...
This was SVN commit r15206.
2014-05-23 15:52:29 +00:00
ac1a9bf8d1
Clean up class parsing + add visible classes to be displayed in the GUI without adding them separatedly to our tooltips
...
This was SVN commit r15195.
2014-05-22 10:20:02 +00:00
4c9d99ff68
Add plural forms for Gaelic. Fixes #2575 .
...
This was SVN commit r15179.
2014-05-20 17:11:47 +00:00
2081c62ab4
Support newer version of miniupnpc api. Refs #2552 .
...
This was SVN commit r15174.
2014-05-19 21:01:06 +00:00
940868398c
Use Boost.Signals2 for Atlas. Patch by fabio. Fixes #2469 .
...
This was SVN commit r15173.
2014-05-19 21:01:02 +00:00
dfc7567561
Fix multiple observers on multiplayer games to work more reliably. Fixes #2529
...
This was SVN commit r15171.
2014-05-19 16:02:42 +00:00
ae29becb37
Removes pointless minimap state change during attack notification, it broke synchronized simulation state and caused some OOS errors. Fixes #2525 . Refs #1719 , #2526 .
...
This was SVN commit r15163.
2014-05-19 01:35:14 +00:00
7ff5fbda2b
Allow system components to be registered on the scripting side (so mods can make their own system components).
...
This was SVN commit r15157.
2014-05-18 13:44:08 +00:00
2b05a8d233
Reenable JS warnings that were disabled in db0376fdc2
.
...
This was SVN commit r15156.
2014-05-18 13:25:08 +00:00
b7f6c00c2b
Mark all components as global variables and allow to re-register existing components to update their schema and/or message receiving methods.
...
This allows for components to be extended in other files, so mods don't
have to overwrite entire components.
Fixes #2517 . Thanks to Rada for helping on this
(also fix some tests broken in the previous commit)
This was SVN commit r15150.
2014-05-18 08:20:02 +00:00
86196212e2
Improve navigation for ship formations by setting the formation controller to the right passability class
...
This was SVN commit r15149.
2014-05-18 07:59:43 +00:00
96c806841d
Fixes the packaging script for some changes related to l10n and SpiderMonkey
...
This was SVN commit r15148.
2014-05-12 01:36:32 +00:00
3ecbb7667b
Restrict set of translations included in releases
...
This was SVN commit r15147.
2014-05-11 17:43:36 +00:00
f15160412a
Enlarge the ideographic ranges in the word boundaries, fixes Japanese rendering a bit
...
This was SVN commit r15138.
2014-05-09 12:13:42 +00:00
8cec641156
Replace strictness test by a different one, as the old test wasn't considered non-strict anymore.
...
This was SVN commit r15134.
2014-05-08 13:26:21 +00:00
c37a8cafc3
Fixes a few building warnings and convention issues from 19ca1e3ebf
...
This was SVN commit r15128.
2014-05-07 23:33:21 +00:00
db0376fdc2
Temporarily disable the Spidermonkey warnings for release
...
This was SVN commit r15127.
2014-05-07 19:42:12 +00:00
83b6175358
Added a script to check translations for URLs that are not in the original strings.
...
This was SVN commit r15126.
2014-05-07 19:02:17 +00:00
19ca1e3ebf
Fix locale verification to also allow ICU locales without data, but still don't allow bogus locales. Patch by Yves. Fixes #2533 .
...
This was SVN commit r15122.
2014-05-07 08:14:57 +00:00
3a008ba532
Mask lobby password so it doesn't appear in any logs
...
This was SVN commit r15113.
2014-05-05 15:41:17 +00:00
bb43a71460
Updates checkrefs.pl to support skirmish maps
...
This was SVN commit r15112.
2014-05-05 01:09:53 +00:00
d2ecbecf32
Fixes tex_codec typo that broke BMP writing and big screenshots, fixes #2515
...
This was SVN commit r15107.
2014-05-04 05:49:31 +00:00
62f5476dec
Add support for adding translation context to XML elements. Patch by Gallaecio.
...
Add translation context to some lobby headers.
This was SVN commit r15078.
2014-04-30 22:33:08 +00:00
683170ea19
Enable/disable GenTangents when enabling/disabling PreferGLSL. Fixes #2505 .
...
This was SVN commit r15061.
2014-04-28 22:30:27 +00:00
3014df2280
Disable wireframe mode in ranked games. Fixes #2401 .
...
This was SVN commit r15050.
2014-04-28 05:02:20 +00:00
e6ec0b2fc9
Add the limit back to provisionality in the rating system.
...
This was SVN commit r15048.
2014-04-27 23:42:56 +00:00
fde558b4b2
Implements a (hopefully) better rating system with an inflation test.
...
This was SVN commit r15047.
2014-04-27 23:13:29 +00:00
2ad7187f92
Move XMPP polling to the mainloop. Should reduce lobby disconnects. Fixes #2491
...
This was SVN commit r15018.
2014-04-27 05:37:34 +00:00
9a809c3131
Revert overlay resizing (forgot about translations) and minor fixes to my last changes.
...
This was SVN commit r15010.
2014-04-26 19:52:56 +00:00
d1d7afe46c
Implements ready status into gamesetup. Fixes #2447 .
...
This was SVN commit r15006.
2014-04-26 18:34:34 +00:00
2b192a4fb5
Do not call Translate() on empty lines
...
Reported by Yves at Github:
https://github.com/leper/0ad/issues/11
This was SVN commit r15003.
2014-04-26 16:05:41 +00:00
8fea36cdd0
Made tinygettext’s debug output optional
...
You can now enable tinygettext’s output from the user.cfg file
(tinygettext.debug).
This enhancement also solved a warning due to the previous workaround,
which was
to uncomment the output line to avoid the debug messages.
This issue was reported by Yves at Github:
https://github.com/leper/0ad/issues/10
This was SVN commit r15002.
2014-04-26 15:32:18 +00:00
baf04bad53
Added support for message extraction from INI files
...
Refs #2487
This was SVN commit r15001.
2014-04-26 14:06:00 +00:00
3dd76c84bc
Added a translation comment to the ‘Locale:’ string of the language menu
...
In order to do this, I added support for extracting the ‘comment’
attribute of translatable XML elements.
This was SVN commit r15000.
2014-04-26 12:51:12 +00:00
c82544be9f
Use an early return in L10n::GetDictionaryLocale()
...
Suggested by l777 on the IRC.
This was SVN commit r14999.
2014-04-26 12:29:01 +00:00
d4f701d5f5
Remove MarkToTranslate from the JavaScript interface
...
The ‘l10n.js’ global JavaScript file already defines this function as
markForTranslation(),
and defines a context-aware twin function as well. Those two functions
are the only ones
currently used in the mod code (as it should be), and there are no
remaining calls to the
engine for that.
This was SVN commit r14998.
2014-04-26 12:26:04 +00:00
d6e37321d5
Removed an obsolete TODO comment in the L10n class implementation
...
This was SVN commit r14997.
2014-04-26 12:11:08 +00:00