1
0
forked from mirrors/0ad

Commit Graph

  • 419453e212 Allow randommap-scripts to set a custom fail-limit when placing objects. Patch by Stan, fixes #3567. elexis 2016-01-13 23:51:46 +00:00
  • ad7c53e65a Adapt the template for corrals to the limitation in UnitAI.CanGarrison. Refs #3412. elexis 2016-01-13 23:33:08 +00:00
  • c33d1e3741 Remove commented out code and comments invalid since 9542ecdd7e. leper 2016-01-13 22:39:09 +00:00
  • aa7ef01105 rename reload to revert mimo 2016-01-13 22:32:42 +00:00
  • 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. mimo 2016-01-13 22:01:36 +00:00
  • cd22f9f722 Display all auras in the tooltips (even if there are some with an identical name). Patch by s0600204, fixes #3655. elexis 2016-01-13 19:32:17 +00:00
  • c9a22ec7c3 Show the population bonus of buildings in the structure tree. Patch by s0600204, fixes #3738. elexis 2016-01-13 18:44:30 +00:00
  • fb92761c92 Use explicit types instead of auto. leper 2016-01-13 00:42:55 +00:00
  • 27fab6bf1e Constify Spatial.h a bit. leper 2016-01-13 00:20:22 +00:00
  • e6a8cd8c5e Do not redeclare a variable. leper 2016-01-12 20:04:33 +00:00
  • ee6a5fd915 Extend defensive-stance tooltip and add quotes to object keys. elexis 2016-01-12 18:32:30 +00:00
  • a02f797169 Add unit-stance tooltips. Patch by bb, fixes #3385. elexis 2016-01-12 16:19:43 +00:00
  • 4107c2abb9 Fix link to documentation. leper 2016-01-11 23:56:51 +00:00
  • 83efc8363e fix old typos in sound config mimo 2016-01-11 22:39:03 +00:00
  • 2ec4d87abf Use .assign instead of operator=. leper 2016-01-11 20:57:03 +00:00
  • f4898c18d8 SpiderMonkey 38 removes the JS_LookupProperty{,ById} API. Refs #3708. leper 2016-01-11 20:03:33 +00:00
  • 39eb7fb243 Fix JS_SetGCZeal call. leper 2016-01-11 20:03:31 +00:00
  • 775f856421 Use .assign instead of operator=. leper 2016-01-11 20:03:28 +00:00
  • d08044c8ad JS_DumpHeap is removed in SpiderMonkey 38, since we have nothing using it remove it. Refs #3708. leper 2016-01-11 20:03:09 +00:00
  • 785acdb1c6 Fix test failure on Windows. leper 2016-01-11 20:03:01 +00:00
  • f0fc36138d cleanup of previous patches mimo 2016-01-10 22:46:37 +00:00
  • 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 mimo 2016-01-10 21:57:01 +00:00
  • 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 mimo 2016-01-10 21:41:34 +00:00
  • e9511d21d5 Fix bug in d4d05c6236. elexis 2016-01-10 17:25:40 +00:00
  • 8c7b6dceaa Show status-bars of all players to observers, fixes #3215. elexis 2016-01-10 16:47:57 +00:00
  • 8859f33b38 Rename PickFriendlyEntitiesOnScreen to PickPlayerEntitiesOnScreen. elexis 2016-01-10 14:47:09 +00:00
  • 4a9d6d2e5f Update all OS X libraries to their latest versions (exlcuding currently unused libjpeg, see #2828). Some also include security fixes. Fixes #3721. fabio 2016-01-10 13:23:25 +00:00
  • 893ca29723 Allow 10 clients to conncet to the server by default (allows 8 players and 2 observers). Refs #3254. elexis 2016-01-10 01:06:07 +00:00
  • ead85b1572 Update the control-all-units checkbox when changing the perspective and onSimulationUpdate so that it always shows the correct value. elexis 2016-01-10 00:59:28 +00:00
  • 9a623a8e00 Style fixes. elexis 2016-01-09 23:01:07 +00:00
  • 6b710f35b0 Show the selection panels to observers / in replays, fixes #3731. elexis 2016-01-09 22:01:08 +00:00
  • 9b922ebadd Remove invisible character introduced in deaa224785. Itms 2016-01-09 12:12:42 +00:00
  • 629e73a768 Fix a compiler warning. Itms 2016-01-09 09:52:51 +00:00
  • 491cba314a Translate some notification messages. Refs #3665. leper 2016-01-08 23:22:45 +00:00
  • caa81a1d31 Remove garrison code duplication. leper 2016-01-08 23:02:26 +00:00
  • deaa224785 Fix some Gallic leader names, based on historic_bruno's suggestions. Fixes #3675 Itms 2016-01-08 20:12:25 +00:00
  • 87a93b2498 Add version command line option. Fixes #2965. leper 2016-01-08 19:35:33 +00:00
  • b4f187b8d4 Defeat the player if he/she has no more units, nor buildings that can train units. Fixes #3229. elexis 2016-01-08 12:21:40 +00:00
  • 5b60f2d1f6 Display the buildrate of foundations in the tooltip. Patch by bb, fixes #3395. elexis 2016-01-08 11:53:48 +00:00
  • 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. fabio 2016-01-07 12:38:43 +00:00
  • 1cc1ba2b17 Fix non-visual replaymode. Refs #3301 (cinematic camera). Patch by Vladislav. Bug reported by eternaf. elexis 2016-01-06 21:40:59 +00:00
  • a7743e95b9 cleanup of unused counters mimo 2016-01-06 21:15:58 +00:00
  • e0a1e2beb1 Session cleanup. elexis 2016-01-05 03:02:59 +00:00
  • b18cd3254c Test FixedVector{2,3}D script conversions, and test calling functions of the prototypes. leper 2016-01-04 21:41:40 +00:00
  • 4c4beb8450 cleanup mimo 2016-01-04 18:10:04 +00:00
  • 9f334036ef Do not align object properties. elexis 2016-01-04 17:59:12 +00:00
  • ab4668ac79 Remove legacy error codes from strings. leper 2016-01-04 17:58:28 +00:00
  • 7a3f011587 Fix a typo. leper 2016-01-04 17:05:43 +00:00
  • 5033fd6cbf Some const and fix the indentation. leper 2016-01-04 17:05:39 +00:00
  • 24b14fe201 allow the AI to build near walls (but not gates), fixes #3725 mimo 2016-01-03 21:04:23 +00:00
  • 89aef0b6eb Cinematic camera core functionality. Patch by Vladislav Belov. Yves 2016-01-03 12:41:04 +00:00
  • d313a1934a Code style cleanups for CinemaPath in preparation for the cinematic camera patch. Yves 2016-01-02 20:14:14 +00:00
  • a32aa3b6cf petra: use the proper attack number when deserializing, refs #3720 mimo 2016-01-02 18:16:50 +00:00
  • 036f985017 Add missing semicolons. elexis 2016-01-02 18:12:02 +00:00
  • 8773d816ae add specific regeneration when idle, fixes #3606, patch by Guuts mimo 2016-01-02 18:10:10 +00:00
  • 1d00164b6b petra: make better use of the new fishing tech mimo 2016-01-02 17:50:56 +00:00
  • d5d60d53ed Replace JS_ASSERT (which is renamed to MOZ_ASSERT in SpiderMonkey 38) with TS_ASSERT, since the former was used for no apparent reason. leper 2016-01-01 21:28:25 +00:00
  • 9281aaf25e Map more specific messages from the Gloox documentation to registration results and stanza errors in the lobby code. Also, don't request translation of more arcane errors. Fixes #3047 JoshuaJB 2016-01-01 18:38:50 +00:00
  • 371a41c216 seems that line was missing, with the result that garrisoned units sent a TerritoryPositionChanged message each turn mimo 2016-01-01 17:45:53 +00:00
  • 7c89cfb3ba fix typo in petra debug outputs mimo 2016-01-01 17:41:49 +00:00
  • 9f9db45a03 Fix broken feedback display logic and broken error handling from ccb534259d. Additionally, streamline logic in prelobby.js and remove an unexplained check in lobby.js added by 76a1a84a58. JoshuaJB 2016-01-01 17:18:17 +00:00
  • ccb534259d Major lobby cleanup. elexis 2015-12-31 17:08:23 +00:00
  • 2bf194134b Repairrate cleanup. Refs #3395, patch by bb. elexis 2015-12-31 15:20:12 +00:00
  • 75eed7cc79 Missing semicolons, two wrong commata, jshint ftw. elexis 2015-12-31 14:02:59 +00:00
  • a144ec7e08 Indentation corrections and other code style fixes in preparation for the cinematic camera patch. Yves 2015-12-31 13:40:56 +00:00
  • 460f17e6f7 Fix mauryan pillar of ashoka GUI panel bug. Refs #3639. elexis 2015-12-31 12:19:45 +00:00
  • f7a262fa4a Remove trailing whitespace. Based on patch by otero, refs #3268. elexis 2015-12-31 11:45:13 +00:00
  • 8d9cfd66b8 Reorganize code in different files in prepartion for the cinematic camera patch (by Vladislav Belov). Yves 2015-12-30 21:16:35 +00:00
  • 969008befd Add shebang to ease running the script as a program. fabio 2015-12-30 14:29:28 +00:00
  • 36c08193ba optimizes range queries, fixes #3717 mimo 2015-12-30 13:44:51 +00:00
  • 082a32802b Refresh the diplomacy and trade window in case the playerselection (change perspective) has changed. elexis 2015-12-30 12:10:11 +00:00
  • aa8e0159a0 Only regain health while idle (Battlefield Medicine tech). Fixes #3606, patch by Guuts. elexis 2015-12-30 11:37:50 +00:00
  • 6cdd99474a Fix fail. elexis 2015-12-30 11:17:50 +00:00
  • 7648b4f482 Gamesetup and session cleanup. elexis 2015-12-29 15:29:24 +00:00
  • 46a42c04ef Gamesetup message cleanup. elexis 2015-12-29 14:45:53 +00:00
  • 9f65e90b60 Fix wrong errormessage in case of encountering a broken replay. elexis 2015-12-29 14:00:30 +00:00
  • f8ec158116 Session cleanup. elexis 2015-12-28 23:16:33 +00:00
  • 2e8d5aa2c8 Session chat cleanup. elexis 2015-12-28 22:16:21 +00:00
  • 2a0d403b4b let promotion improve a bit the capture strength of citizen mimo 2015-12-28 18:51:49 +00:00
  • 6182385626 Session cleanup. elexis 2015-12-28 17:19:29 +00:00
  • 543472b77b Optimization of isBoxVisible + cleanup, fixes #3712 mimo 2015-12-28 16:27:31 +00:00
  • 82c215de49 prevent thousands of calls per turn of calculeTerritories which would exit immediately mimo 2015-12-28 16:23:06 +00:00
  • 704c08d2b0 petra: fixes placement of dock when on the border of the map fixes attack path computation when change of target during preparation fixes #3710 mimo 2015-12-26 13:14:13 +00:00
  • 0d41806e99 Session cleanup. elexis 2015-12-26 01:40:50 +00:00
  • 5d56ee0449 Session cleanup. elexis 2015-12-26 00:42:52 +00:00
  • a280cb87db Colorize playernames when using the /list command in the gamesetup/session. elexis 2015-12-25 23:49:28 +00:00
  • 5f95bca6b0 Session cleanup (trading dialog text). elexis 2015-12-25 19:35:14 +00:00
  • 0fb87496e7 Display the correct AI name instead of "Unknown Player" in case an AI sends a formatted chat message (introduced in 03adf0111a). elexis 2015-12-25 18:07:16 +00:00
  • b154056266 Those globals were removed in 5aae5ee55a. elexis 2015-12-24 20:54:47 +00:00
  • 5aae5ee55a Session menu cleanup. elexis 2015-12-24 14:59:03 +00:00
  • 39ffb0a6bd Session menu cleanup. elexis 2015-12-24 02:53:18 +00:00
  • 7a75f22f9f Session cleanup. elexis 2015-12-24 01:46:06 +00:00
  • 7caaa278d6 Session cleanup. elexis 2015-12-24 01:06:01 +00:00
  • f276791069 Session cleanup. elexis 2015-12-23 23:51:18 +00:00
  • 3dcf51c466 Session chat cleanup. elexis 2015-12-23 19:06:48 +00:00
  • 48f72aacc9 petra: some defense tweaks + cleanup mimo 2015-12-23 16:17:05 +00:00
  • 4eedfac0ca Refactor session chat. elexis 2015-12-23 15:48:06 +00:00
  • 03adf0111a Session chat cleanup elexis 2015-12-22 21:45:09 +00:00
  • cf7b8329fb Use var instead of let, since this variable is defined with var in this function already. leper 2015-12-22 20:43:17 +00:00
  • 3fd4d07ca1 Test \0 in object property names for serializing. leper 2015-12-22 19:01:18 +00:00