1
0
forked from 0ad/0ad
Commit Graph

13480 Commits

Author SHA1 Message Date
013ab4bda7 Make the barter panel uniform with the others, clean up more gui code.
This was SVN commit r15375.
2014-06-16 18:34:27 +00:00
ce3b11a3fe fix the fix of setHeldPosition in b17ffaeb7e
This was SVN commit r15374.
2014-06-15 17:27:03 +00:00
190f3b0ce1 Exclude .git dirs when adding subfolders to the VFS.
This was SVN commit r15373.
2014-06-15 17:06:24 +00:00
f115759901 Handle mods specified on the command line when using the archive builder.
This was SVN commit r15372.
2014-06-15 16:43:08 +00:00
bec1e1edfd fix b17ffaeb7e + fixes from FalseVision on setHeldPosition
This was SVN commit r15371.
2014-06-15 16:41:01 +00:00
74e5c8ae26 fix e2b493bb67
This was SVN commit r15370.
2014-06-15 16:13:12 +00:00
519c00c1a6 Don't allow users to build workspaces as root user
This was SVN commit r15369.
2014-06-15 15:23:03 +00:00
86aa30e0d9 Remove useless line in UnitAI, found by FalseVision
This was SVN commit r15368.
2014-06-15 14:38:25 +00:00
1e38fa7b58 UnitAI fix by FalseVision
This was SVN commit r15367.
2014-06-15 14:23:49 +00:00
ef7e19c13e reset petra debug left in previous commit
This was SVN commit r15365.
2014-06-15 12:59:19 +00:00
b17ffaeb7e Petra: make better use of garrisoning when attacked
This was SVN commit r15364.
2014-06-15 12:57:12 +00:00
9a743d65fe Fix to unitAI by FalseVision + fix a mistake of my own
This was SVN commit r15363.
2014-06-15 12:43:52 +00:00
89f33e7579 Fix group number rendering
This was SVN commit r15362.
2014-06-15 12:08:58 +00:00
e042fa8768 Make trigger points templates
This was SVN commit r15361.
2014-06-15 11:25:25 +00:00
beaf3139c0 Move position calculation of buttons to something cleaner.
This was SVN commit r15360.
2014-06-15 09:56:54 +00:00
5064f2728f Fix tech pairing visuals + hiding
This was SVN commit r15359.
2014-06-15 07:56:40 +00:00
e12d4b880a Add XMB file format version to the XMB files and check it when loading a file.
This was SVN commit r15358.
2014-06-14 23:41:33 +00:00
f460057700 Fix error for entities that require a technology to be trainable.
This was SVN commit r15357.
2014-06-14 22:28:06 +00:00
2766ae7eb5 Marker objects for Atlas
This was SVN commit r15356.
2014-06-14 18:44:18 +00:00
e152223a53 fix fix
This was SVN commit r15355.
2014-06-14 18:21:48 +00:00
b93877571f Add missing quotation mark to quote.
This was SVN commit r15354.
2014-06-14 17:20:09 +00:00
b469983c58 Fix for 89f5e7b260. Refs #2622
This was SVN commit r15353.
2014-06-14 16:12:41 +00:00
86ca3b2142 Small cleanup: i, numbButtons and numberOfItems all contain the same value anyway
This was SVN commit r15352.
2014-06-14 15:57:42 +00:00
7f172037ac Clean up a big part of unit_commands.js, and bring most data to a separate JS object (instead of having deep nests of switches and if-else structures)
This was SVN commit r15351.
2014-06-14 15:35:13 +00:00
5903935e4a let the AIs know when a training has started
This was SVN commit r15350.
2014-06-14 14:34:37 +00:00
4e6a21e9da fix promotion of autogarrisoned units (forgot in previous tag)
This was SVN commit r15349.
2014-06-14 14:26:51 +00:00
e2b493bb67 fix double-click on a garrisoned hero button should select its holder, even if from autogarrison
This was SVN commit r15348.
2014-06-14 14:21:30 +00:00
7cf927baec fix typo from 2b8758745f
This was SVN commit r15347.
2014-06-14 14:14:33 +00:00
8d164ca5d1 Add civ requirement to tech that was missed in the previous commit. Refs #2580.
This was SVN commit r15346.
2014-06-13 21:02:32 +00:00
121f14d521 Add civ requirements to civ specific techs. Patch by s0600204. Refs #2580.
This was SVN commit r15345.
2014-06-13 16:16:31 +00:00
1142fc55ca Clean up Commands.js a bit.
This was SVN commit r15344.
2014-06-13 16:16:25 +00:00
58e628338c Also check if a technology was already researched when checking requirements. Fixes #2580.
This was SVN commit r15343.
2014-06-13 16:16:10 +00:00
9990d4c885 Actually call the function instead of testing if it exists. Patch by falsevision. Fixes #2626.
This was SVN commit r15342.
2014-06-13 12:54:57 +00:00
55247e926a Remove legacy trading pane
This was SVN commit r15341.
2014-06-13 12:06:57 +00:00
2b8758745f put the unit commands in a JS object
This was SVN commit r15340.
2014-06-13 11:35:16 +00:00
2b408e766b Fix problem with setting up trade routes
This was SVN commit r15339.
2014-06-13 08:01:06 +00:00
350d4a6b7e add rally points for the AIs
This was SVN commit r15338.
2014-06-12 18:41:13 +00:00
e3f3051b2a Petra: code cleaning and minor improvments
This was SVN commit r15337.
2014-06-12 16:47:43 +00:00
2e00628562 Take the action definitions out of input.js, and in a separate JS object that can be edited by other scripts. This makes it possible to easier add new actions by editing this new script, or (in mods) even by editing the object in other scripts.
This was SVN commit r15336.
2014-06-12 13:47:37 +00:00
2e4441b528 Minor typos in text strings
This was SVN commit r15335.
2014-06-12 13:24:36 +00:00
85e2e72eb7 Fix TestHeaderless failure on GCC 4.9.
Once 'delete' is called on an object, that object no longer exists, and
accessing its member variables is undefined behaviour. GCC 4.9's
optimiser recognises this, and eliminates any writes to member variables
inside the destructor, since it knows they cannot legally be read later.

BoundaryTagManager relied on ~FreedBlock resetting its memory to 0, so
this optimisation broke it. Replace the placement new/delete with plain
non-magic Setup/Reset functions, to avoid the optimisation.

Fixes #2481.

This was SVN commit r15334.
2014-06-11 19:50:38 +00:00
548f50b071 Give gaia back it's vision.
This was SVN commit r15332.
2014-06-11 18:20:02 +00:00
89f5e7b260 Improve gui moddability by allowing to load an entire directory of scripts at once, and being able to split up big gui XML files. Fixes #2622
This was SVN commit r15330.
2014-06-11 17:14:35 +00:00
791eba9451 Fix Splash damage calculation. Patch by falsevision. Fixes #2623
This was SVN commit r15329.
2014-06-11 14:02:02 +00:00
b289303c25 Fix setting rallypoint via the minimap + fix out-of-world problem when the targeted entity for a rallypoint disappeared
This was SVN commit r15328.
2014-06-11 13:36:12 +00:00
49194819f6 Schwarzwald random map. Script by niektb, with random terrain generation from FeXoR.
This was SVN commit r15327.
2014-06-10 19:59:17 +00:00
6d0df59697 Fix theatrons
This was SVN commit r15326.
2014-06-10 14:27:43 +00:00
8551a799d0 Petra: prevent gatherers to stay blocked when UnitAI make them return resource in an inaccessible dropsite, see #2563
This was SVN commit r15325.
2014-06-10 13:45:23 +00:00
57a7bbcb90 fix javascript warning
This was SVN commit r15324.
2014-06-10 13:34:49 +00:00
3b519b132a fix undefined variable in petra
This was SVN commit r15323.
2014-06-10 13:27:49 +00:00