fabio
a5152c14d1
Properly use the passed parameter as all other occourences.
...
Fixes 'disable_allwater = false' case in hwdetect.js.
This was SVN commit r17410.
2015-12-09 11:28:24 +00:00
elexis
780a1de136
Don't comment out code. Refs #3486 .
...
This was SVN commit r17400.
2015-12-07 12:27:52 +00:00
elexis
8af675e207
Don't emit sounds when selecting dead animals. Patch by Stan. Fixes #3486 .
...
This was SVN commit r17399.
2015-12-07 00:21:24 +00:00
elexis
2e69872b11
Remove debug parser from replay menu. Refs #3440
...
This was SVN commit r17367.
2015-12-03 03:12:43 +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
fabio
418318ea88
Properly read preferglsl in user config files.
...
This was SVN commit r17347.
2015-12-01 09:00: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
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
leper
9a40d1284e
Update version numbers. Switch lobby room.
...
This was SVN commit r17299.
2015-11-28 08:27:33 +00:00
wraitii
05547bf36f
Fix an oversight.
...
This was SVN commit r17182.
2015-11-05 16:52:19 +00:00
JoshuaJB
a9323da01b
Fix #3566 by fixing an off-by-one error in the final replay turn logic. Patch by elexis.
...
This was SVN commit r17180.
2015-11-04 20:33:34 +00:00
wraitii
8f1853b8d8
Prevent accidental overwriting of replays in very rare cases while we wait for a better solution.
...
Refs #3255
This was SVN commit r17177.
2015-11-04 19:26:40 +00:00
wraitii
a3f467ae4e
Make resources have a static, passable obstruction. Ought to be a temporary fix. Fixes #3530
...
See #3530#comment:9 for a proper fix to this issue.
This was SVN commit r17156.
2015-10-31 15:28:42 +00:00
mimo
9db4fb5ddb
fix typo in Game.cpp
...
This was SVN commit r17126.
2015-10-11 11:12:27 +00:00
historic_bruno
40acf66ba9
Fixes hotkey bugs introduced in a07add11c6, patch by elexis. Fixes #3495
...
This was SVN commit r17116.
2015-10-10 07:22:07 +00:00
leper
061c7f6058
Const ref.
...
This was SVN commit r17090.
2015-09-30 20:28:23 +00:00
Itms
b830233498
Fix previous commit, some new files didn't pass through.
...
This was SVN commit r17055.
2015-09-21 17:14:26 +00:00
Itms
d64b95b28c
An awesome Visual Replay menu, made by elexis. Fixes #3258 .
...
This was SVN commit r17054.
2015-09-21 17:00:21 +00:00
mimo
3317e6c68b
rename autostart visualreplay, refs #3258 , patch by elexis
...
This was SVN commit r17050.
2015-09-20 12:29:59 +00:00
leper
a65a8472f9
Mark some const functions as such.
...
This was SVN commit r17021.
2015-09-13 20:59:10 +00:00
mimo
ae3aad704d
fix previous commit
...
This was SVN commit r17018.
2015-09-13 19:06:14 +00:00
mimo
9816e7c92d
Rename some variables to point out that they are only used in visual replay. Add script function IsVisualReplay. Refs #9 #3355 , patch by elexis
...
This was SVN commit r17017.
2015-09-13 19:03:33 +00:00
leper
8507a7bc27
Create commands.txt only when actually starting the game. Patch by elexis. Fixes #3408 .
...
This was SVN commit r17004.
2015-09-11 17:44:50 +00:00
leper
558d43bac5
Replace some functor structs with lambdas, closures or range-based fors.
...
This was SVN commit r16923.
2015-08-19 03:33:04 +00:00
leper
36c6b50944
Revert emplace for associative containers. Fixes #3366 .
...
GCC < 4.8.0 does not support emplace for those.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44436 .
This was SVN commit r16922.
2015-08-19 03:32:47 +00:00
Itms
bd8f9b7824
Fix enemy corpses visible in the fog of war. Fixes #3179 .
...
This was SVN commit r16919.
2015-08-16 09:29:34 +00:00
leper
94302a4149
Move engine version to common file. Patch by elexis. Fixes #3359 .
...
This was SVN commit r16906.
2015-08-01 23:03:13 +00:00
Itms
1a8096a920
Reliably send the ReplayFinished message at the very end of visual replays. Patch by elexis.
...
This was SVN commit r16902.
2015-07-30 21:55:34 +00:00
leper
15a4c813d6
Add support for AArch64 (ARM64). Patch by tbm. Fixes #3345 .
...
This was SVN commit r16899.
2015-07-30 19:52:55 +00:00
leper
0868d03e74
Fix previous commit.
...
This was SVN commit r16898.
2015-07-30 17:27:27 +00:00
leper
2238a18aee
Close and free replay streams. Based on patch by elexis.
...
This was SVN commit r16897.
2015-07-30 16:43:22 +00:00
leper
8bfe16cac8
Use in-place construction.
...
This was SVN commit r16894.
2015-07-29 23:44:17 +00:00
leper
c5eb9b7bb7
Range-based for for VfsPath loops.
...
This was SVN commit r16893.
2015-07-29 23:44:12 +00:00
leper
a07add11c6
Some range-based for loops and some style cleanup.
...
This was SVN commit r16888.
2015-07-29 01:07:23 +00:00
leper
b4d517c261
Fix infinite loop in key code to key name mapping.
...
Also make some data const and construct data in-place.
This was SVN commit r16887.
2015-07-29 01:07:18 +00:00
leper
da48c8c26f
Some const refs and one const function.
...
This was SVN commit r16882.
2015-07-27 01:08:25 +00:00
leper
bd53e9d736
Remove unused ah_translate code.
...
This was SVN commit r16881.
2015-07-27 01:08:15 +00:00
leper
8380b67f94
Move GUI schemas to the mod mod. Fix some validation related errors in the mod mod.
...
Check if the used directory exists before trying to add a validator.
Refs #245 .
This was SVN commit r16773.
2015-06-15 16:00:26 +00:00
leper
68ea5f37f4
Remove unused ctors. Fixes compilation with GCC 4.6.
...
This was SVN commit r16771.
2015-06-14 23:50:38 +00:00
trompetin17
30efa73a38
FIX error: comparison between pointer and integer ('IReplayLogger *' and 'int') introduced in [16727] over osx
...
This was SVN commit r16754.
2015-06-13 02:42:21 +00:00
leper
a18fbd12ec
XML validation. Based on patch by historic_bruno. Refs #245 .
...
This was SVN commit r16733.
2015-06-07 21:56:52 +00:00
Itms
be93b31411
Visual replay of command files, patch by elexis.
...
Works with the command line argument
"-replay-visual=/path/to/commands.txt". It is not integrated to the main
menu GUI yet.
Refs #9 .
This was SVN commit r16727.
2015-06-06 08:45:49 +00:00
leper
f71be3c764
Use iterators for XMBAttributeList and XMBElementList. Fixes #3269 .
...
This was SVN commit r16704.
2015-06-01 00:29:35 +00:00
leper
e638af5422
Clean up some unused variables and assignments.
...
This was SVN commit r16684.
2015-05-26 15:40:07 +00:00
leper
8e44687ae3
Properly fix #3223 .
...
The previous commit destroyed the context while it was still in use.
This was SVN commit r16631.
2015-05-06 20:28:28 +00:00
Itms
642500b49e
Make the Ptolemaic lighthouse reveal the shore on the entire map.
...
Fixes #3174
This was SVN commit r16628.
2015-05-06 18:47:02 +00:00
leper
4db041e3c6
Stop leaking g_ScriptStatsTable in replay mode. Fixes #3223 .
...
This was SVN commit r16627.
2015-05-05 22:34:41 +00:00
leper
7a70c475df
Improve rejoin messages. Patch by elexis. Fixes #1949 .
...
This was SVN commit r16614.
2015-05-03 02:06:17 +00:00
leper
e758701da5
Include missing header.
...
This was SVN commit r16595.
2015-04-29 15:54:08 +00:00
leper
7d953ff0a7
Fix compiler warning.
...
This was SVN commit r16594.
2015-04-29 00:07:48 +00:00