mimo
dd545bdbf1
petra cleanup
...
This was SVN commit r17677.
2016-01-19 23:19:40 +00:00
elexis
0a64bf25cd
Sort globals, add JSDoc comments, remove trailing whitespace.
...
This was SVN commit r17676.
2016-01-19 18:09:34 +00:00
elexis
5308b95aa8
Let observers change perspective. Refs #3168 .
...
Disable the controls for observers (unless the developer-option is
enabled).
Don't check for g_IsObserver, since observers should be able to use the
developer overlay as well.
Update all GUI elements when changing the perspective using
onSimulationUpdate().
Enable observermode for defeated players.
This was SVN commit r17675.
2016-01-19 17:23:16 +00:00
elexis
0e48b7df75
Update the idle-worker-button onSimulationUpdate. Patch by svott, fixes #3736 .
...
This was SVN commit r17674.
2016-01-19 16:04:59 +00:00
elexis
e035e3e985
Restore the replay selection after deletion. Based on patch by dalerank, fixes #3473 .
...
This was SVN commit r17672.
2016-01-18 20:16:45 +00:00
mimo
a6f8b3b3d7
rename the Close button, refs #3737
...
This was SVN commit r17671.
2016-01-18 19:44:48 +00:00
elexis
a59833102f
Specify the default column sorting order in XML instead of JS.
...
Ref #2405 , #3473 .
This was SVN commit r17670.
2016-01-18 19:23:14 +00:00
mimo
9481c168bd
petra cleanup
...
This was SVN commit r17669.
2016-01-18 19:20:09 +00:00
elexis
69f4614768
Don't use two different default values ("name" and "") in JS for the default lobby sorting order in b8fce56821, refs #2405 .
...
Supplement a variable g_GameStatusOrder missing in 66ec6dbf12 .
This was SVN commit r17668.
2016-01-18 18:29:16 +00:00
elexis
8d2a73bf52
Show the aura of city walls in the structure tree. Patch by s0600204, refs #3655 .
...
This was SVN commit r17662.
2016-01-18 03:24:26 +00:00
mimo
c20ee2ad5e
add dropdown capacity for options, fixes #2596
...
remove use of eval for function execution
This was SVN commit r17657.
2016-01-17 21:50:54 +00:00
mimo
dc9d1fff11
restore sorting in template, refs #3741
...
This was SVN commit r17656.
2016-01-17 15:44:38 +00:00
leper
cfb2216b8c
Remove JSDebugger. Closes #2419 , #2973 . Refs #410 , #2348 , #3708 .
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1069694
This was SVN commit r17655.
2016-01-17 00:34:33 +00:00
mimo
b4d11cf747
let farms have the terrain ownership, fixes #3741
...
This was SVN commit r17654.
2016-01-16 12:47:33 +00:00
mimo
c4d9b64fe5
fix undef var when in petra debug
...
This was SVN commit r17653.
2016-01-15 19:12:34 +00:00
leper
0d33ec31cc
Pass cmd to TryTransformWallToGate as that is used when debugging commands. Patch by dalerank. Fixes #3694 .
...
This was SVN commit r17651.
2016-01-14 16:21:05 +00:00
elexis
419453e212
Allow randommap-scripts to set a custom fail-limit when placing objects. Patch by Stan, fixes #3567 .
...
This was SVN commit r17649.
2016-01-13 23:51:46 +00:00
elexis
ad7c53e65a
Adapt the template for corrals to the limitation in UnitAI.CanGarrison. Refs #3412 .
...
This was SVN commit r17648.
2016-01-13 23:33:08 +00:00
mimo
aa7ef01105
rename reload to revert
...
This was SVN commit r17646.
2016-01-13 22:32:42 +00:00
mimo
5c61f68600
Rework the logics of options loading to allow more flexibility (i.e. adding a min or max value for number inputs)
...
Fix some problems when reloading saved options, refs #3511
Add the material quality option, refs #3737
Reload and Save buttons are only enabled when some options have changed.
This was SVN commit r17645.
2016-01-13 22:01:36 +00:00
elexis
cd22f9f722
Display all auras in the tooltips (even if there are some with an identical name). Patch by s0600204, fixes #3655 .
...
Add an aura tooltip to the construction panel.
Remove duplicate tooltip code for the training panel.
Eliminate for-each and use the aura ID in GetTemplateDataHelper, since
only that is a unique identifier.
Change the name from "Hero Aura" to "Garrisoned Capture Aura" for that
aura that every hero has.
This was SVN commit r17644.
2016-01-13 19:32:17 +00:00
elexis
c9a22ec7c3
Show the population bonus of buildings in the structure tree. Patch by s0600204, fixes #3738 .
...
Also fix a newline in the tooltip.
This was SVN commit r17643.
2016-01-13 18:44:30 +00:00
leper
e6a8cd8c5e
Do not redeclare a variable.
...
This was SVN commit r17640.
2016-01-12 20:04:33 +00:00
elexis
ee6a5fd915
Extend defensive-stance tooltip and add quotes to object keys.
...
This was SVN commit r17639.
2016-01-12 18:32:30 +00:00
elexis
a02f797169
Add unit-stance tooltips. Patch by bb, fixes #3385 .
...
Reorder cases, correct indentation, remove unneeded variable and
sprintf.
This was SVN commit r17638.
2016-01-12 16:19:43 +00:00
mimo
83efc8363e
fix old typos in sound config
...
This was SVN commit r17636.
2016-01-11 22:39:03 +00:00
mimo
f0fc36138d
cleanup of previous patches
...
This was SVN commit r17627.
2016-01-10 22:46:37 +00:00
mimo
3246b02cda
make easy AI levels easier and hard levels harders by also applying the bonus/malus to trade, fixes #3722
...
add some info on AI levels in the AI config window
This was SVN commit r17626.
2016-01-10 21:57:01 +00:00
mimo
7fa2962c45
allows changing options for one session without having to save them, fixes #3511
...
changes on text or number options are now detected without any need of
typing Return, fixes #2451
graphic options (using the renderer type) are now properly saved when
changed
sound options (using the function type) are still not saved
This was SVN commit r17625.
2016-01-10 21:41:34 +00:00
elexis
e9511d21d5
Fix bug in d4d05c6236.
...
This was SVN commit r17624.
2016-01-10 17:25:40 +00:00
elexis
8c7b6dceaa
Show status-bars of all players to observers, fixes #3215 .
...
This was SVN commit r17623.
2016-01-10 16:47:57 +00:00
elexis
8859f33b38
Rename PickFriendlyEntitiesOnScreen to PickPlayerEntitiesOnScreen.
...
Rename PickFriendlyEntitiesInRect to PickPlayerEntitiesInRect.
Rename PickSimilarFriendlyEntities to PickSimilarPlayerEntities.
Add comment.
Refs #3215 .
This was SVN commit r17622.
2016-01-10 14:47:09 +00:00
elexis
ead85b1572
Update the control-all-units checkbox when changing the perspective and onSimulationUpdate so that it always shows the correct value.
...
This was SVN commit r17619.
2016-01-10 00:59:28 +00:00
elexis
9a623a8e00
Style fixes.
...
This was SVN commit r17618.
2016-01-09 23:01:07 +00:00
elexis
6b710f35b0
Show the selection panels to observers / in replays, fixes #3731 .
...
This allows observers to see the training queue, researched techs, unit
stance, constructable buildings, garrisoned units, market prices etc.
for all players without changing the perspective.
All buttons are disabled if the user isn't allowed to control the
affected player.
Notice updateUnitCommands() fills out the panel differently in case of
selecting an allied building.
Extends the GUIInterface methods "GetNeededResources",
"CheckTechnologyRequirements" and "IsTechnologyResearched" to optionally
take a different player-argument.
This was SVN commit r17617.
2016-01-09 22:01:08 +00:00
Itms
9b922ebadd
Remove invisible character introduced in deaa224785.
...
This was SVN commit r17616.
2016-01-09 12:12:42 +00:00
leper
491cba314a
Translate some notification messages. Refs #3665 .
...
This was SVN commit r17614.
2016-01-08 23:22:45 +00:00
leper
caa81a1d31
Remove garrison code duplication.
...
This was SVN commit r17613.
2016-01-08 23:02:26 +00:00
Itms
deaa224785
Fix some Gallic leader names, based on historic_bruno's suggestions. Fixes #3675
...
This was SVN commit r17612.
2016-01-08 20:12:25 +00:00
elexis
b4f187b8d4
Defeat the player if he/she has no more units, nor buildings that can train units. Fixes #3229 .
...
This was SVN commit r17610.
2016-01-08 12:21:40 +00:00
elexis
5b60f2d1f6
Display the buildrate of foundations in the tooltip. Patch by bb, fixes #3395 .
...
This was SVN commit r17609.
2016-01-08 11:53:48 +00:00
fabio
e1e4a00ad7
Enable sky by default. This is usually not needed during gameplay (no sky visible), but it is with cinematic, committed in 89aef0b6eb, where camera can point to the sky.
...
Can still be disabled in game options menu.
Refs: #3301 .
This was SVN commit r17607.
2016-01-07 12:38:43 +00:00
mimo
a7743e95b9
cleanup of unused counters
...
This was SVN commit r17605.
2016-01-06 21:15:58 +00:00
elexis
e0a1e2beb1
Session cleanup.
...
Don't send the simstate as an argument of reportGame().
Eliminate a for-each loop.
Remove some superfluous comments.
This was SVN commit r17604.
2016-01-05 03:02:59 +00:00
leper
b18cd3254c
Test FixedVector{2,3}D script conversions, and test calling functions of the prototypes.
...
Also ENSURE that the given value identifier is actually present in the
cache instead of creating one if it is not.
This was SVN commit r17603.
2016-01-04 21:41:40 +00:00
mimo
4c4beb8450
cleanup
...
This was SVN commit r17602.
2016-01-04 18:10:04 +00:00
elexis
9f334036ef
Do not align object properties.
...
Do not construct objects if they only contain two atomic elements.
Revert getDisconnectReason so as to have a custom message for the error
case. Add a warning.
This was SVN commit r17601.
2016-01-04 17:59:12 +00:00
mimo
24b14fe201
allow the AI to build near walls (but not gates), fixes #3725
...
This was SVN commit r17596.
2016-01-03 21:04:23 +00:00
Yves
89aef0b6eb
Cinematic camera core functionality. Patch by Vladislav Belov.
...
Based on existing code that was still around from an old(not working)
implementation.
Supports basic control from trigger scirpts (queue, start and stop
camera paths) and works in multiplayer.
This was SVN commit r17594.
2016-01-03 12:41:04 +00:00
mimo
a32aa3b6cf
petra: use the proper attack number when deserializing, refs #3720
...
This was SVN commit r17592.
2016-01-02 18:16:50 +00:00