Commit Graph

15217 Commits

Author SHA1 Message Date
84678cf40e Tune lobby rating alignment and remove a TODO that won't be fixed due to uglyness.
This was SVN commit r17389.
2015-12-06 13:21:41 +00:00
cff6056e9f Lobby cleanup.
Remove unneeded 4 globals and 2 functions used for sorting the lobby
lists.

This was SVN commit r17388.
2015-12-06 12:13:06 +00:00
66ec6dbf12 Lobby cleanup.
Actually define these variables and revert to sorting by state for
gamelists by default (despite not having a column to sort for that).

This was SVN commit r17387.
2015-12-06 11:42:30 +00:00
987a7028bd Implements relative templates. Fixes #2936. Thanks to leper, wraitii, historicbruno and everyone else that helped.
This was SVN commit r17386.
2015-12-05 17:02:25 +00:00
8813cb3133 petra: some fixes (buildrestrictions min distance) and some cleanup
This was SVN commit r17385.
2015-12-05 15:02:45 +00:00
99c0d0493c remove warnings in structtree, fixes #3682, patch from s0600204
This was SVN commit r17384.
2015-12-05 14:57:09 +00:00
4b37462645 Restore player- and game-selection when updating the lists. Fixes #3244.
The previous selection is saved globally so that we don't lose it in
case of no element being selected.
Also remove an unused variable.

This was SVN commit r17383.
2015-12-05 04:28:23 +00:00
7316473921 Don't translate botnames in multiplayer games (so names are in english instead of the language of the host). Refs #3307
This was SVN commit r17382.
2015-12-04 23:54:45 +00:00
bbc325fb5a Gamesetup cleanup. Refs #3680.
Don't even load non-playable civs in the gamesetup and add sanity checks
to sanitizePlayerData() and loadCivData() so that we can remove later
checks.
Remove some blatantly wrong code from launchGame().
Move hardcoded romanNumbers to a global.

This was SVN commit r17381.
2015-12-04 23:45:35 +00:00
71b0d9c052 Update atlas with the new map_sizes.json format. Refs #3355.
This was SVN commit r17379.
2015-12-04 16:37:30 +00:00
6572b6d042 Simplify civ info (main menu -> learn how to play -> history).
Add JSDoc comments.
Refs #3680 a bit.

This was SVN commit r17378.
2015-12-04 15:35:34 +00:00
654ec6f2bf Gamesetup cleanup. Refs #3680
Simplify mapfilter code and mark g_CivData as const.

This was SVN commit r17377.
2015-12-04 14:06:01 +00:00
82d93c89dd Gamesetup cleanup. Refs #3680
Remove a broken implementation of default maps.
Remove some unneeded comments.

This was SVN commit r17376.
2015-12-04 13:10:50 +00:00
99d7b73d2c Don't link unused eastereggs to wrong civs. Patch by Stan, fixes #3679.
This was SVN commit r17375.
2015-12-04 12:47:04 +00:00
e8bb6f5974 Actually remove the old file from the repository. Refs #3355
This was SVN commit r17374.
2015-12-04 12:30:24 +00:00
a98a44875e Move mapsizes to the new simulation settings system. Fixes #3355.
Notice that initMapSizes() confusingly mapped from "LongName" to "names"
and from "Name" to "shortnames".
Now it's identical in both parts.

Also fixes a bug in the summary screen where it would show "Scenario"
for a skirmish map.

This was SVN commit r17373.
2015-12-04 12:24:58 +00:00
d50075adc4 Lobby cleanup. Fixes #3383
This was SVN commit r17371.
2015-12-04 00:22:15 +00:00
76a1a84a58 Lobby cleanup. Refs #3383
Remove wrong attempt to display private-messages in the lobby.
Move hardcoded font to g_SenderFont global.
Replace some variables with references.
Correct indentation in ircFormat().

This was SVN commit r17370.
2015-12-03 22:22:26 +00:00
787960b63c Lobby cleanup. Refs #3383
Removes a broken translation in displayProfile().
Removes many unused functions, variables and comments.
Moves filter initialization to new function.
Moves hardcoded system color to g_SystemColor.
Simplifies a lot without changing the logic otherwise.

This was SVN commit r17369.
2015-12-03 17:43:16 +00:00
88816a1043 Fix two oversights and simplify mapfilter-initialization. Refs #3383
This was SVN commit r17368.
2015-12-03 14:10:28 +00:00
2e69872b11 Remove debug parser from replay menu. Refs #3440
This was SVN commit r17367.
2015-12-03 03:12:43 +00:00
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
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
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
a88e8e3e5c Remove obfuscated easteregg in the lobby.
This was SVN commit r17363.
2015-12-02 17:21:08 +00:00
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
e6840f5fca Remove useless global g_SpecialKey. Refs #3383
This was SVN commit r17360.
2015-12-02 16:00:20 +00:00
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
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
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
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
0553a74884 Remove wrong semicolons. Refs #3424
This was SVN commit r17353.
2015-12-02 03:24:04 +00:00
cd635f9615 cleanup of df6d30a910
This was SVN commit r17352.
2015-12-01 21:03:24 +00:00
df6d30a910 fix affordable gui of gates
This was SVN commit r17351.
2015-12-01 19:41:52 +00:00
0a8fc4bb08 improve pathFinder by optimizing the DistanceToSquare computation, refs #3588
This was SVN commit r17350.
2015-12-01 19:01:41 +00:00
b657eb05e2 Remove the unused and broken function GetBaseSpeed. Fixes #3672.
This was SVN commit r17349.
2015-12-01 13:17:34 +00:00
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
418318ea88 Properly read preferglsl in user config files.
This was SVN commit r17347.
2015-12-01 09:00:12 +00:00
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
45723b1293 Don't break the translation of the playerdefaults. Refs #3355
This was SVN commit r17345.
2015-11-30 20:51:20 +00:00
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
2008f3e3a9 Plural translation since that is needed for some languages.
This was SVN commit r17343.
2015-11-30 20:47:42 +00:00
66bd932374 gives repair a lower priority compared to capture, fixes #3443
This was SVN commit r17342.
2015-11-30 20:26:10 +00:00
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
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
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
f8f8a1eb6a Increases the gatherer limit for some special resources. Fixes #3583.
This was SVN commit r17336.
2015-11-30 04:20:30 +00:00
324179e2b9 Show icon for the female inspiration aura. Fixes #3384
This was SVN commit r17335.
2015-11-30 03:58:19 +00:00
d7e444b862 Loot resources that killed enemies carried. Fixes #2732
This was SVN commit r17334.
2015-11-30 03:41:18 +00:00
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