elexis
2e69872b11
Remove debug parser from replay menu. Refs #3440
...
This was SVN commit r17367.
2015-12-03 03:12:43 +00:00
elexis
477e8c36ee
Lobby cleanup. Simplifies updatePlayerList() and moves hardcoded color values to the top of the file for easy access. Refs #3383
...
This was SVN commit r17366.
2015-12-03 02:52:44 +00:00
historic_bruno
5b2738b0cb
Doubles size of sound card string buffers, for users with many sound devices present. Fixes #3660
...
This was SVN commit r17365.
2015-12-02 22:41:17 +00:00
elexis
3c6580ed83
Add JSdoc comments to all lobby globals and remove g_MapSizes because it is only used locally. Refs #3383
...
This was SVN commit r17364.
2015-12-02 17:44:09 +00:00
elexis
a88e8e3e5c
Remove obfuscated easteregg in the lobby.
...
This was SVN commit r17363.
2015-12-02 17:21:08 +00:00
elexis
2b64d83978
Enlighten too dark username-colors in the lobby and gamesetup-chat. Patch by fpre, fixes #3205 .
...
This was SVN commit r17362.
2015-12-02 17:00:12 +00:00
elexis
e6840f5fca
Remove useless global g_SpecialKey. Refs #3383
...
This was SVN commit r17360.
2015-12-02 16:00:20 +00:00
elexis
d1f0cbe01d
Renames to g_MapSizes, g_UserRating and g_SpamMonitor. Refs #3383 #3440
...
This was SVN commit r17359.
2015-12-02 14:54:08 +00:00
elexis
02c065e2c9
Removes the unused "gone" presence state from the lobby. Refs #3383 .
...
This was SVN commit r17358.
2015-12-02 14:41:32 +00:00
elexis
eeaffa05ee
Correct sorting for ratings in the lobby and use fat-arrow functions. Fixes #3662 .
...
This was SVN commit r17357.
2015-12-02 14:29:27 +00:00
elexis
a1e57aaeaf
Replay menu cleanups. Fixes #3440 .
...
Hides the summary-button in the replaymenu in case the summary wasn't
saved.
Corrects the timestamp for incompatible replays.
Remove unused UNUSED from header files.
Use string8() instead of OsString().
Mention a reported compiler warning.
Use const& instead of a copy in StartVisualReplay().
This was SVN commit r17356.
2015-12-02 13:53:44 +00:00
elexis
0553a74884
Remove wrong semicolons. Refs #3424
...
This was SVN commit r17353.
2015-12-02 03:24:04 +00:00
mimo
cd635f9615
cleanup of df6d30a910
...
This was SVN commit r17352.
2015-12-01 21:03:24 +00:00
mimo
df6d30a910
fix affordable gui of gates
...
This was SVN commit r17351.
2015-12-01 19:41:52 +00:00
mimo
0a8fc4bb08
improve pathFinder by optimizing the DistanceToSquare computation, refs #3588
...
This was SVN commit r17350.
2015-12-01 19:01:41 +00:00
elexis
b657eb05e2
Remove the unused and broken function GetBaseSpeed. Fixes #3672 .
...
This was SVN commit r17349.
2015-12-01 13:17:34 +00:00
fabio
60f82e54dd
Make the warning message on software renderers a bit more informative.
...
This was SVN commit r17348.
2015-12-01 09:42:49 +00:00
fabio
418318ea88
Properly read preferglsl in user config files.
...
This was SVN commit r17347.
2015-12-01 09:00:12 +00:00
elexis
bef7682bbe
Fixes a bug in the mauryan warchariot walk-animation. They were walking instead of standing on the chariot when it moves.
...
Patch by Stan. Refs #2577 .
This was SVN commit r17346.
2015-11-30 22:09:00 +00:00
elexis
45723b1293
Don't break the translation of the playerdefaults. Refs #3355
...
This was SVN commit r17345.
2015-11-30 20:51:20 +00:00
mimo
6fd700d95d
restore min range distance of defense towers, and make it removable with murder_hole tech, fixes #3559
...
This was SVN commit r17344.
2015-11-30 20:49:57 +00:00
leper
2008f3e3a9
Plural translation since that is needed for some languages.
...
This was SVN commit r17343.
2015-11-30 20:47:42 +00:00
mimo
66bd932374
gives repair a lower priority compared to capture, fixes #3443
...
This was SVN commit r17342.
2015-11-30 20:26:10 +00:00
leper
6f09803e8c
TerrainTextureManager file loading rewrite. Fixes #3358 .
...
Add directory callback to vfs::ForEachFile.
Each terrain directory should now have a terrains.xml file,
as using the previous terrains.xml file is unlikely to be what was
intended.
This was SVN commit r17341.
2015-11-30 20:12:12 +00:00
fabio
af202ae963
Clean up software renderers detection.
...
Fix llvmpipe (mesa) detection.
Add softpipe (mesa) detection.
Add GDI Generic (Windows) detection.
Consolidate software renderers detection in a function.
Disable s3tc on software renderers, it halves performance and make
textures weird.
Add a warning when on software renderer, to inform the player something
is bad.
This was SVN commit r17339.
2015-11-30 16:12:12 +00:00
fabio
fa9c8e061b
Enable GLSL by default on OpenGL 3+.
...
This doesn't override any user setting, it just changes the default when
no preferglsl setting is specified.
Fixes #3641 .
Refs #145 .
This was SVN commit r17338.
2015-11-30 10:51:02 +00:00
elexis
f8f8a1eb6a
Increases the gatherer limit for some special resources. Fixes #3583 .
...
This was SVN commit r17336.
2015-11-30 04:20:30 +00:00
elexis
324179e2b9
Show icon for the female inspiration aura. Fixes #3384
...
This was SVN commit r17335.
2015-11-30 03:58:19 +00:00
elexis
d7e444b862
Loot resources that killed enemies carried. Fixes #2732
...
This was SVN commit r17334.
2015-11-30 03:41:18 +00:00
elexis
56716577e0
Changes the type "notification" of some GuiInterface-notifications to "chat" as the former isn't defined.
...
Also fixes a typo reported by AlThePhoenix and removes trailing
whitespace.
This was SVN commit r17333.
2015-11-30 02:06:58 +00:00
elexis
700859b2c3
Move the playerdefaults to the settings directory. Refs #3355
...
This was SVN commit r17332.
2015-11-30 01:33:59 +00:00
wraitii
61e5e92b14
Update/revamp my template analyzer tool.
...
Remove the useless "fancy" data in favor of a simpler visualization of
templates, adding an in-place tool to filter and sort (for convenience).
This was SVN commit r17331.
2015-11-29 19:19:20 +00:00
elexis
ff30dc2ba4
Forgot to add the JSON file. Refs #3477 .
...
This was SVN commit r17330.
2015-11-29 16:53:32 +00:00
elexis
296f3b2614
Adds a new cheat as an abbreviation for most other cheats. Also cleans the code.
...
Fixes #3477 . Patch by bb.
This was SVN commit r17329.
2015-11-29 16:47:04 +00:00
wraitii
28bea05e06
Show units that can train other units (trainer units) in the structure tree. Patch by s0600204. Fixes #3213 .
...
This was SVN commit r17328.
2015-11-29 16:18:21 +00:00
mimo
c9f40be84e
improve indentation of 34b0c6d779
...
This was SVN commit r17327.
2015-11-29 16:13:13 +00:00
mimo
34b0c6d779
add a NOT when checking classes matching, fixes #3611
...
This was SVN commit r17326.
2015-11-29 15:59:52 +00:00
wraitii
814cdd9524
Tie tangent generation with preferGLSL setting for convenience since that setting was not really useful. Fixes #2506 . Patch by fabio.
...
This was SVN commit r17325.
2015-11-29 15:44:22 +00:00
wraitii
51793dde28
Fix an oversight when constructing walls that changed issued commands and would result in false positives when running with -serializationtest. Refs #3637
...
This was SVN commit r17324.
2015-11-29 15:25:51 +00:00
elexis
bb7c4aa86a
Code cleanup. Refs #3420 .
...
Since the window is now closed immediately after disconnect in
messages.js, we don't need to close it in menu.js.
This was SVN commit r17323.
2015-11-29 15:11:30 +00:00
mimo
9f75b78a84
fix nearGatherPosition, fixes #3658
...
This was SVN commit r17322.
2015-11-29 14:43:28 +00:00
mimo
42d42243ac
add specific names for gaul and brit fishing ships, fixes #3490 , patch from stanislas69
...
This was SVN commit r17321.
2015-11-29 14:29:43 +00:00
elexis
a6b44c12a2
Don't replace the custom colors of scenario maps with default colors. Fixes #3627 .
...
This was SVN commit r17320.
2015-11-29 13:38:10 +00:00
elexis
58f88210f3
Informs the translation extractor of the replay menu. Fixes #3656 .
...
Thanks Itms for reporting :-)
This was SVN commit r17319.
2015-11-29 13:31:38 +00:00
elexis
6a4e0f714c
Cleans up Looter.js. Removes duplicate code and simplifies it. Fixes #3424 . Thanks fcxSanya for the review!
...
This was SVN commit r17318.
2015-11-29 02:15:35 +00:00
elexis
7b67324ae6
Code cleanup.
...
Adds missing whitespace to objects.
Removes trailing whitespace.
Corrects some for-loop counters.
This was SVN commit r17317.
2015-11-29 01:45:45 +00:00
elexis
d8ecc2f87f
Lobby cleanup.
...
Designate constants as such.
Comply with naming convention for globals.
Quote object keys.
Add few JSDoc comments.
Refs #3383 .
This was SVN commit r17316.
2015-11-29 01:29:38 +00:00
elexis
d39810df7d
Closes the chat window after disconnect and prevents opening it again. Fixes #3420 .
...
This was SVN commit r17315.
2015-11-29 00:51:00 +00:00
elexis
7de746cc58
Visual replay code cleanup. Refs #3440 .
...
Moves StartVisualReplay() from JSInterface_VisualReplay.cpp to
VisualReplay.cpp, so that the former doesn't define any logic.
Uses replayFile.string8() instead of
utf8_from_wstring(replayFile.string()).
SAFE_DELETE instead of delete.
Fixes a compiler warning in getReplayDuration().
This was SVN commit r17314.
2015-11-29 00:23:18 +00:00
elexis
8cf2333568
Corrects an offset of a menu entry. Thanks niektb for reporting. Refs #3440
...
This was SVN commit r17313.
2015-11-28 23:27:54 +00:00