Commit Graph

8715 Commits (b79d86046c10136071113fa54b3e22d916376906)

Author SHA1 Message Date
Per Inge Mathisen 45460926cf semperfi: Make AI build ripple rockets and archangels, and stormbringer AA. 2011-01-18 22:43:52 +01:00
Per Inge Mathisen 90f506feb5 Add slot number to position chooser as requested by dak180 2011-01-18 22:43:52 +01:00
Cyp 34d8148e4a Don't display more than 5 factories in the commander production menu, since that's how many are in the relevant bitmask.
Fixes ticket:2449.
2011-01-18 22:32:55 +01:00
Per Inge Mathisen 8607441e64 Lift restriction on 2000 globals in scripts in total by rewriting some code to use std::list. Patch reviewed by Cyp. 2011-01-18 22:05:26 +01:00
Per Inge Mathisen 36fddc036e Remove some dead code 2011-01-18 21:39:37 +01:00
Per Inge Mathisen a613e2b6b9 Revert "Remove a ton of unused, script-related code, and lift the needless limit on 2000 globals for all scripts combined."
Turns out this was a hack that the scripting system used to keep track of which BASE_OBJECT references that needed to be deleted.
This reverts commit 992844f3b5.
2011-01-18 21:39:37 +01:00
cybersphinx e8a065f6a0 Use empty CXXFLAGS by default, not whatever autoconf thinks we should use. 2011-01-18 19:53:37 +01:00
cybersphinx 53ae8b198c Revert "Force -O0 to the end of the flag list to override autohell's default -O2"
This reverts commit e65751e43b.
2011-01-18 19:53:37 +01:00
littlepig bd6b47a4c0 Constructors repair buildings during patrols.
Repair Droids repair droids during patrol.
Fixes ticket:195.
2011-01-18 18:21:09 +00:00
Per Inge Mathisen 2d6ea37c54 Fix various issues prompted by running valgrind and cppcheck. Patch reviewed by Cyp. 2011-01-18 18:51:42 +01:00
Per Inge Mathisen e65751e43b Force -O0 to the end of the flag list to override autohell's default -O2 2011-01-18 17:59:55 +01:00
Cyp 82fbf17cff Make team and colour of AIs visible to non-hosts.
Also, remove tooltip saying non-hosts can change AI difficulty levels.
2011-01-18 14:34:23 +01:00
Cyp 4b26114644 Fix AI-designed template being sent as belonging to host.
This caused a desynch when using Semperfi AI.
2011-01-18 13:58:48 +01:00
cybersphinx 826a0ef374 Exit the cross-build script if cross-compiler not installed. 2011-01-18 03:54:14 +01:00
cybersphinx f01a35e768 Remove Dydo-AI and Semperfi mods from the nsis installer. 2011-01-18 02:54:51 +01:00
cybersphinx 038a3d5147 Remove remnants of the old iniparser. 2011-01-18 01:19:32 +01:00
cybersphinx a16861f1ae Update translations. 2011-01-18 00:54:34 +01:00
cybersphinx 4d587bb3ef Russian translation update by Rimbok. 2011-01-18 00:51:23 +01:00
Cyp dcaeb4a224 Don't show "Click to change AI" for non-hosts. 2011-01-18 00:44:32 +01:00
Cyp a814b2f138 Partial cleanup of previous patch. 2011-01-18 00:39:19 +01:00
dak180 2b3f408917 Apply ground-fix-unified2-trunk by CorvusCorax.
Refs #2151.
2011-01-18 00:39:18 +01:00
Per Inge Mathisen 64f1b6b895 Fix memory leaks reported by cppcheck 2011-01-18 00:36:49 +01:00
Cyp 4fb9e61548 Remove unused TEXT_DISPLAY, improve format string consistency and remove weird casts. 2011-01-18 00:20:04 +01:00
Cyp f99d9b20cc Make config file loading/saving less weird.
Changelog: Usernames such as "Meów" will no longer be truncated at the first unicode character to "Me" when restarting Warzone 2100.
2011-01-18 00:20:04 +01:00
Cyp 8b49291b5d Simplify NETbin interface.
Redundantly, the data length was redundantly sent twice, which was redundant.
2011-01-18 00:20:04 +01:00
cybersphinx 8a2511b76b Update translations. 2011-01-18 00:14:39 +01:00
cybersphinx 953bc4752f Turkish translation update by Ayhan Görgülü.
Closes #2443.
2011-01-18 00:14:38 +01:00
Per Inge Mathisen 905323688e Retire the current AI top model template with heavy laser in favour of two new ones. First is armed with seraph missiles, the second with both seraph missiles and gauss cannon on a dragon body. 2011-01-17 23:33:49 +01:00
Per Inge Mathisen bc6dbb2df9 Add better asserts to track invalid object in scripting system crash bug 2011-01-17 22:23:03 +01:00
Per Inge Mathisen f4ef3e6658 Various random fixes from ECM jammer work committed separately to reduce review and maintenance burden of main patch. 2011-01-17 21:23:17 +01:00
Per Inge Mathisen e181461178 Fix cheat that allows you to gain experience through shooting at your own buildings or units. 2011-01-17 21:16:27 +01:00
Per Inge Mathisen a61884fa1b There is no ECM in campaign. Add full text description of ECM tech. 2011-01-16 14:14:15 +01:00
Per Inge Mathisen 9ecf3d2583 We require clear sensor view of a target, not just any faint indication. This allows us to show where
an enemy is without giving the possibility of shooting at it, a prerequisite for ECM jammers.
2011-01-15 21:00:26 +01:00
Per Inge Mathisen d4f5c492aa Add data stats for the ECM jammer tower. Remove ECM from all other objects. 2011-01-15 20:54:03 +01:00
Per Inge Mathisen b8cb7aeef3 Remove some dead code in preparation for merging the ECM jammer patches. 2011-01-15 20:30:01 +01:00
cybersphinx 451f9f81a8 Update translations. 2011-01-15 19:54:32 +01:00
safety0ff c046bb88e5 Set never-interactive option in lexers so that Flex doesn't use isatty() function from unistd.
Define YY_NO_UNISTD_H when no unistd.h is detected.
Remove attempt to fix isatty error on Windows introduced in  2f780609.
2011-01-15 13:39:51 -05:00
littlepig 6617500593 orderGroupObj and orderGroupLoc in group.h replaced by an overload of orderGroup. 2011-01-15 15:03:06 +00:00
Per Inge Mathisen 268574f8c0 Make sure host gets to join his own game. 2011-01-15 15:34:56 +01:00
Per Inge Mathisen 28c594d611 Make Dydo AI work with new MAX_PLAYERS limit. 2011-01-15 13:35:28 +01:00
Per Inge Mathisen 971e5de351 Add open/close buttons to pregame dialog. Basic support in netcode added. Closes ticket:2435 2011-01-15 13:29:23 +01:00
cybersphinx 0274fa622d Update translations. 2011-01-14 21:47:36 +01:00
cybersphinx 6bf0a224c3 Make a few more strings translatable. 2011-01-14 18:41:24 +01:00
littlepig 7b969f5976 (BASE_OBJECT*), (BASE_OBJECT *), (BASE_STAT*) and (BASE_STAT *) casts removed where being redundant. 2011-01-13 21:59:07 +00:00
littlepig cefd17b38b overloaded actionDroid, subtituing 3 diferent functions: actionDroidObj; actionDroidLoc and actionDriodObjLoc. All were substituted in all Src. 2011-01-13 19:58:04 +00:00
Cyp 311cf0d216 Fix non-host not being able to change slots, and being able to try to set AI difficulty level. 2011-01-13 16:58:28 +01:00
Cyp e46b08f8e1 Fix not sending player info for players 8+. 2011-01-13 16:40:34 +01:00
Cyp abde9ebe40 Fix crash on right-clicking or double-clicking structure blueprints.
Probably fixes ticket:2441.
2011-01-13 15:58:47 +01:00
Cyp 8248789dfd Minor changes due to review by Per.
And also readded some changes that got lost from nexus.slo somehow.
2011-01-13 15:58:47 +01:00
Cyp f00b6149d9 Bump MAX_PLAYERS to allow 10 normal players + 1 scavenger player. 2011-01-13 15:58:46 +01:00