1
0
forked from mirrors/0ad

Commit Graph

  • d23b7deb98 Various improvements to AI's early game. Simplify some code and improve on other. Add a few different strategies (Rush/normal/boom, quite basic for now, refs #2344). wraitii 2014-01-14 19:54:31 +00:00
  • e98478b68c Make sure units in INDIVIDUAL state don't belong to a formation. Should fix #2380 sanderd17 2014-01-14 08:58:11 +00:00
  • 0f56dceef2 Give the minimap 20px more on eack side and remove the ugly overlay. Also cleanup some nearby code. JoshuaJB 2014-01-14 03:25:12 +00:00
  • 2ca0a20f81 Fix a bug in TestAllMemberFunction and initialize a variable in cmpBattleDetection. Refs #2372. leper 2014-01-12 23:13:24 +00:00
  • a26ab7b1e7 Should fix AI warnings (refs #2372). wraitii 2014-01-12 19:12:55 +00:00
  • 0521d936a1 reduce a GuiInterface call for displaying formation tooltip sanderd17 2014-01-12 18:39:47 +00:00
  • 34949b0943 Fixes some AI errors and missing VARs. Yves 2014-01-12 17:34:18 +00:00
  • 6c3bd4db1e Fix previous AI commit. wraitii 2014-01-12 02:40:42 +00:00
  • 9d02495a96 Fix a few bugs. wraitii 2014-01-12 01:07:07 +00:00
  • 8195e767ef Fixes an occasional crash when hotloading GUI files. Yves 2014-01-11 20:53:01 +00:00
  • bc9b76c86b Fix an error in defense.js (thanks mimo), and an issue in the HQ that made the AI start super slowly on some maps. wraitii 2014-01-11 18:51:37 +00:00
  • 4ef80d26aa Proper fix for the gatherer count. Fix an AI bug. Thanks to Gameboy and Gildas for reporting. wraitii 2014-01-11 18:14:13 +00:00
  • 0e0b4e3057 make population bonus technology modifiable sanderd17 2014-01-11 14:55:22 +00:00
  • 96448bfa4e * add a (currently useless) attack state to formations * add a formation attack component that will be used in the future to coordinate formation attacks * clean up some related methods, and move some to more appropriate places sanderd17 2014-01-11 12:19:43 +00:00
  • 20692a26b0 Fix some undefined errors with unknown presences in the lobby and recougnize the 'gone' presence as away. JoshuaJB 2014-01-11 03:53:41 +00:00
  • eee6ed65dc still another fix to the gatherer count mimo 2014-01-10 22:50:13 +00:00
  • 82fa27bad4 http://i.imgur.com/iAwfubL.gif wraitii 2014-01-10 20:33:47 +00:00
  • df9fb05689 Fix the gatherer count per player further and some style niceness. wraitii 2014-01-10 20:27:34 +00:00
  • 7606230158 Vars and style fixes. leper 2014-01-10 20:04:37 +00:00
  • 9f243a3372 Disabling the OFFSET_LINE doesn't change any functionality as far as seen, while it fixes #2368. sanderd17 2014-01-10 19:56:36 +00:00
  • 11430cf927 Remove scripting directory from premake4.lua (I forgot that in cbc0650a79) Yves 2014-01-10 19:52:57 +00:00
  • cbc0650a79 Removes some unused files Yves 2014-01-10 19:38:34 +00:00
  • bd22432fe8 Rename common-api-v3 to common-api. wraitii 2014-01-10 17:46:48 +00:00
  • 87250a79c9 delete groups with a right click. Fixes #2341. Patch by boeseRaupe sanderd17 2014-01-10 16:51:13 +00:00
  • f9a2c30a17 fix tests sanderd17 2014-01-10 16:36:04 +00:00
  • ee39f21b52 Fixes a problem when messageboxes were called without callback function. Yves 2014-01-10 16:25:09 +00:00
  • 3d23f81696 Show the number of attacks per second to show users some attack speed, without showing the actual timers, or calcualtion of the number of arrows. Fixes #2352 sanderd17 2014-01-10 09:17:40 +00:00
  • 72c2853563 Update the tutorial AI (somewhat untested and hacky). wraitii 2014-01-10 02:08:59 +00:00
  • a6032ddd3f Removes older AIs and APIs. wraitii 2014-01-10 01:48:09 +00:00
  • ede4f32bf2 Change the defense system used by Aegis to use more modular armies. This should be faster and easier to extend, though right now it might not be as efficient as before. wraitii 2014-01-10 01:46:27 +00:00
  • 22a85b0eb4 add dummy setspeed method to UnitMotionFlying sanderd17 2014-01-09 12:53:28 +00:00
  • ec36222b20 add more flexibility to eject units when garrisonHolder is destroyed, fixes #2242 mimo 2014-01-08 18:27:58 +00:00
  • 2d806f81f0 If at first you don't succeed… Refs #2359 wraitii 2014-01-08 18:18:52 +00:00
  • 641c65b1dd Give some explanation to my change in 0c336649e6 sanderd17 2014-01-08 17:57:12 +00:00
  • 0c336649e6 fix repairing buildings sanderd17 2014-01-08 15:39:32 +00:00
  • 774d56af7e Carthaginian farmstead remake LordGood 2014-01-08 15:19:35 +00:00
  • 9229cea9cc allow repairing of moving objects sanderd17 2014-01-08 13:39:33 +00:00
  • f9b950aa96 improve rearrange of idle formation when units are tasked away from the formation + fix formation-settable idle animations sanderd17 2014-01-08 10:55:44 +00:00
  • e8c4031bea Don't disband idle formations anymore, but give the formations a decent idle state. Formationmembers still need to leave the formation to anything other than walking, but this is a small step towards attacking formations. sanderd17 2014-01-08 09:47:27 +00:00
  • 4585f7322c Make the tooltips and the required members part of the formation template + fix allowing the wedge formation only for cavalry sanderd17 2014-01-08 08:02:15 +00:00
  • bec7cfd520 Another attempt to fix the lobby disconnects. JoshuaJB 2014-01-08 04:22:34 +00:00
  • 7e87211d91 Attempts to fix crash reported on OS X Mavericks by not calling SDL_SetGamma in that case (this patch was included in the A15 bundles), refs #2272 historic_bruno 2014-01-08 01:29:04 +00:00
  • 0482038af2 Another go at #2359 wraitii 2014-01-08 00:06:26 +00:00
  • ad6ed949ee Fixes unreferenced formal parameter warning in MSVC historic_bruno 2014-01-07 23:10:06 +00:00
  • aadd297cce Implement the ability to switch animations based on the formation position sanderd17 2014-01-07 20:21:55 +00:00
  • ff2a7d6bad fix spelling mistakes sanderd17 2014-01-07 19:43:32 +00:00
  • 83c5d40cfb fix compiling problem caused by 8226d75715 sanderd17 2014-01-07 14:37:02 +00:00
  • b1e0f1b62a Clean up the mess of different ways to note the formations (capitalised, with spaces, with underscores, concatenated ...) by always referring to the template name. sanderd17 2014-01-07 13:33:08 +00:00
  • 94907897a7 Fix tests + fix classes Ashoka. Fixes #2362 sanderd17 2014-01-07 09:23:59 +00:00
  • 8226d75715 Make PickEntitiesAtPoint faster yielding 1-3% overall performance improvement. Fixes #2358. Also removes some trailing whitespace. JoshuaJB 2014-01-07 04:05:10 +00:00
  • 729a795a44 of course, 7a3b1fe47e can be simplified mimo 2014-01-06 23:23:18 +00:00
  • 7a3b1fe47e Improve speed of territory computation, fixes #2360 mimo 2014-01-06 22:49:57 +00:00
  • d0e57cb0ff Change a few things to avoid warnings with gcc. Should fix #2359 wraitii 2014-01-06 22:14:27 +00:00
  • baf6925b66 Tactical varfare. leper 2014-01-06 20:55:22 +00:00
  • 8cc1ddf6de Small code style fix sanderd17 2014-01-06 20:13:55 +00:00
  • b4fa090435 fix losRangeQuery broken in e096df0070 mimo 2014-01-06 19:35:51 +00:00
  • 3406f2f3e8 Fix code style of files committed too soon in f19a8d6b41 Adds blinking overlay to ther hero icon when he's attacked Adds a health bar to the hero icon Fixes #1902 Patch by boeseRaupe sanderd17 2014-01-06 13:48:17 +00:00
  • f19a8d6b41 Take the box formation out of the special case formations sanderd17 2014-01-06 13:32:48 +00:00
  • 5cde6f7046 small rome tower edit LordGood 2014-01-06 12:50:50 +00:00
  • 9989359c46 Small code cleanup + fixed default formation orientation sanderd17 2014-01-06 10:16:28 +00:00
  • 2f077fd9e1 Remove wedge formation from being a special case in the formation code sanderd17 2014-01-06 09:10:46 +00:00
  • 9ccaa42a54 Fixes MSVC warning C4706: assignment within conditional expression historic_bruno 2014-01-06 02:16:09 +00:00
  • 92ed27e3c5 Treat the flank formation as a regular formation, rather than a special implementation. sanderd17 2014-01-05 18:50:31 +00:00
  • f814510b2e revise the chase and flee mimo 2014-01-05 18:29:38 +00:00
  • b8ee766cd3 Remove some hardcoded formation shapes. Some special formations still have a special treatment though. Also implement speed modifiers for formations, so we can have faster and slower formations. sanderd17 2014-01-05 17:13:22 +00:00
  • aa0d485d72 Fix improper disabling of waves. wraitii 2014-01-05 16:41:50 +00:00
  • 15ec863aec Substantial speed-up of the foam generation code. wraitii 2014-01-05 16:15:20 +00:00
  • d56595c802 Put into alert units trained during an alert, fixes #2342, patch by Itms mimo 2014-01-05 15:12:17 +00:00
  • 7193e29961 Adds precompiled.h include because Visual Studio checks for that even though the file only contains comments. Yves 2014-01-05 13:58:38 +00:00
  • b20955436b I completely missed the header files when disabling the JS debugger. Yves 2014-01-05 10:26:27 +00:00
  • d0497c83f1 Split the formation template in different templates. This can be used later to remove hard-coded formation statistics and forms to attributes in those templates sanderd17 2014-01-05 10:09:42 +00:00
  • d4f35f1061 Revised roman tower LordGood 2014-01-05 02:11:00 +00:00
  • 6ca6a5f779 The patch in 4b65f77438 seems to have fixed the crash, but the initData value doesn't match the JSContext's compartment, so it's theoretically wrong. Yves 2014-01-04 21:49:36 +00:00
  • 4b65f77438 Fixes an occasional crash introduced in #2241 (hopefully). Yves 2014-01-04 21:36:12 +00:00
  • 7d516e7e7a Disables the JS debugger. Yves 2014-01-04 20:47:56 +00:00
  • da1a2eaba6 This was SVN commit r14505. Mythos_Ruler 2014-01-04 20:42:34 +00:00
  • d8e839daec Reduced armor for Roman siege walls. Mythos_Ruler 2014-01-04 16:53:01 +00:00
  • 58dd223018 Now really fix the temple aura. See d4b2c1285c sanderd17 2014-01-04 15:43:05 +00:00
  • 9fb6620edd Use an actual flee order to move animals away from the foundation. Fixes #2347 sanderd17 2014-01-04 15:36:20 +00:00
  • 1e33dd1d5e fix targetPosition != null check sanderd17 2014-01-04 13:15:44 +00:00
  • 3d5f661447 Fixes assertion failure when opening the ingame manual. Yves 2014-01-04 11:48:28 +00:00
  • 4a11b30b39 Fixes assertion failure when clicking the settings button (aiconfig) on the match setup screen. Yves 2014-01-04 11:29:35 +00:00
  • d4b2c1285c add the ability to exclude props from the selection size + add aura visualisation rings again sanderd17 2014-01-04 10:41:32 +00:00
  • 4b1297b328 Removes g_ScriptingHost and implements global to compartment 1 to 1 relation. Yves 2014-01-04 10:14:53 +00:00
  • 743644f5ce Roman tower remake LordGood 2014-01-04 04:14:29 +00:00
  • e096df0070 fix units attacking harmless gaia buildings sanderd17 2014-01-03 20:24:02 +00:00
  • fb8032043b Use pointers instead of copying sprites in the GUI. Fixes #1984. Patch by jP_wanN. JoshuaJB 2014-01-03 20:19:43 +00:00
  • 28f022993a Fix template typos and inconsistaint whitespace. JoshuaJB 2014-01-03 19:55:29 +00:00
  • e85c3de782 Removed the Cavalry Stables from the Seleucids. Their training buildings started to get unwieldy compared to other civs. Mythos_Ruler 2014-01-03 19:30:25 +00:00
  • 9a41c588fe prevent traders to cycle between two adjacent markets mimo 2014-01-03 14:03:12 +00:00
  • 1eb5d730fc allow garissoning a small number of support units in houses as protection against early raids. Patch and suggestion from dumbo sanderd17 2014-01-03 13:11:12 +00:00
  • f634a8db3e fix units fleeing too far sanderd17 2014-01-03 12:49:04 +00:00
  • 6e4adcba52 add missing rallypoint to garrisonholder wonders mimo 2014-01-03 11:24:23 +00:00
  • 1c3da82869 New Carthaginian wonder commit LordGood 2014-01-03 03:17:53 +00:00
  • f7c1b73a01 Some more tweaks for the Seleucids. Mythos_Ruler 2014-01-02 23:24:18 +00:00
  • 66de76e026 fixes #2340, patch by itms mimo 2014-01-02 23:11:18 +00:00
  • 8269f0cfd4 Group units in clusters of separate formations when they're too far apart. sanderd17 2014-01-02 20:04:50 +00:00
  • 8b98e2d513 Fix osx libraries build script for WXwidgets and libiconv. wraitii 2014-01-02 17:24:48 +00:00
  • e73738d794 Do not pause multiplayer games if one player opens a dialog. Patch by boeseRaupe. Fixes #2275. leper 2014-01-02 16:30:24 +00:00
  • dd86995f77 Fix some newlines. leper 2014-01-02 16:22:03 +00:00