1
0
forked from mirrors/0ad
Commit Graph

18181 Commits

Author SHA1 Message Date
bb 5729b49610 Don't early return but update the active query when having no position or when outOfWorld
Based on Patch By: fatherbushido
Patch By: temple
Differential Revision: https://code.wildfiregames.com/D1219
Differential Revision: https://code.wildfiregames.com/D704
fixes #4658

This was SVN commit r20845.
2018-01-12 21:01:17 +00:00
Stan fbc5877d67 Update the credits with Leyto's real name.
This was SVN commit r20844.
2018-01-12 19:12:45 +00:00
Stan f17813a9eb Add missing icon in 1df50d9a07
Refs: #1992
Icon by wowgetoffyourcellphone

This was SVN commit r20843.
2018-01-12 18:07:15 +00:00
bb 6342112a5b Fix the currently wrong entity order/select/attack/trained sounds.
Adding/removing distanceLess/heardBy/omnipresent tags to/from the
actors.

Not adding missing sounds (lots of animals miss sounds), not renaming
files to something consistent, not making the files itself consistent.

Patch By: temple
Differential Revision: https://code.wildfiregames.com/D944
This was SVN commit r20842.
2018-01-12 17:43:04 +00:00
LordGood 51a92c27a1 Ptolemies stable,range,workshop,e-stable & Roman stable
This was SVN commit r20841.
2018-01-12 17:40:39 +00:00
Stan 1db8f9a815 New Muskox texture by Leyto
Slightly tweaked alpha by me,
Source files,
Update the credits.json using the files provided in the license
and the respective WikiCommons accounts of the people, for legal
issues.
Add leyto to the credits.

This was SVN commit r20840.
2018-01-12 11:42:13 +00:00
Stan c2ddae3264 Thracian cap.
Was partially fixed by 2d0e996725 but never disclosed.
Fixes #2292
Move the helmet to the new helmets folder,
Update the actors using this, apparently none used the other two
variants.

This was SVN commit r20839.
2018-01-12 10:52:06 +00:00
mimo ddb6fbd55d petra: remove some unneeded temporary variables
This was SVN commit r20838.
2018-01-11 21:31:12 +00:00
mimo 99e38f1731 Improve petra behavior in death-match: allow more builders when plenty of resources and replace tests on current population by tests on current + in-training-queue population (that allows faster phasing up).
Fixes #4168

This was SVN commit r20837.
2018-01-11 21:29:19 +00:00
Stan 4c348b6aaa Fixes #4634
Update Theatron and Stonehenge foundations making them with more props
Make Stonehenge foundation slightly bigger allowing one to select it
without having to place the cursor in the middle.

This was SVN commit r20836.
2018-01-11 20:31:28 +00:00
Stan 3a5b07109a Add a different siege tower for ptolemies to make use of their own garrison flag.
Use the hele_flag for the hele_siege_tower, as it's now used only by
macedonians
and they do not have their own.
Update the template to use the new actor

This was SVN commit r20835.
2018-01-11 16:10:35 +00:00
Stan 2688e06533 Fix garrison flag for the persian siege ram
Patch by Angen
Reviewed By: Stan
Differential Revision: ​https://code.wildfiregames.com/D1215
This was SVN commit r20834.
2018-01-11 14:35:08 +00:00
Stan fa9078876e Move two old celt models to their correct directory and rename them accordingly.
It will be easier for modders to find them and make templates for those
if they want.
Add the other textures that now exist, fix the actors, reindent them,
add svn eol properties.

This was SVN commit r20833.
2018-01-11 13:21:56 +00:00
Stan efa6bdf2c2 Remove the last occurence of multiply_color in the repo.
Fixes #2422

This was SVN commit r20832.
2018-01-11 12:44:43 +00:00
Stan 24f37eabb6 Use inheritance for animations for the remaining horses
This was SVN commit r20831.
2018-01-11 10:31:06 +00:00
Stan 4ea135838e Add missing unit in iberian commit
This was SVN commit r20830.
2018-01-11 10:22:55 +00:00
Stan b685951885 Use death and run variants for spartan horses.
Add eol properties

This was SVN commit r20829.
2018-01-11 10:00:44 +00:00
Stan 58a9d9fab7 Use death and run variants for seleucid horses.
Add eol properties

This was SVN commit r20828.
2018-01-11 09:59:59 +00:00
Stan 5428f569a3 Use death and run variants for roman horses.
Add eol properties

This was SVN commit r20827.
2018-01-11 09:59:41 +00:00
Stan e75a71cc94 Use death and run variants for ptolemy horses.
Add eol properties

This was SVN commit r20826.
2018-01-11 09:59:19 +00:00
Stan e004b1070b Use death and run variants for persian horses.
Add eol properties

This was SVN commit r20825.
2018-01-11 09:58:39 +00:00
Stan 028b7f3542 Use death and run variants for mauryans horses.
Add eol properties

This was SVN commit r20824.
2018-01-11 09:58:03 +00:00
Stan d8542d4264 Use death and run variants for macedonians horses.
Add eol properties

This was SVN commit r20823.
2018-01-11 09:57:18 +00:00
Stan 6abd53a36a Use death and run variants for macedonian horses.
Add eol properties

This was SVN commit r20822.
2018-01-11 09:56:42 +00:00
Stan 09ff2819f9 Use death and run variants for hellenes horses.
Add eol properties

This was SVN commit r20821.
2018-01-11 09:55:50 +00:00
Stan 5652d66894 Use death and run variants for celts horses.
Add eol properties

This was SVN commit r20820.
2018-01-11 09:54:32 +00:00
Stan 418eeb8098 Use death and run variants for carthaginian horses.
Add eol properties
Fix indent bug
Fix missing line end

This was SVN commit r20819.
2018-01-11 09:53:52 +00:00
Stan 4e925919b6 Use death and run variants for athenians horses.
Add eol properties

This was SVN commit r20818.
2018-01-11 09:51:55 +00:00
Stan d93af8042e Add an variant file for death and run variants of horses.
Add svn eol properties.
Fix the zebra and pegasus

This was SVN commit r20817.
2018-01-11 09:50:59 +00:00
elexis 08f561c02d Remove Math.sin, cos and PI proxy functions from rmgen. Fixes #4933.
This was SVN commit r20816.
2018-01-11 03:16:31 +00:00
elexis 921850cdef Implement random map script playerbase function.
Unifies 54 variants of the rmgen playerbase code, fixes #4805.

Add retry loops to prevent collisions of starting resources, fixes #4600
and
resources placed outside of the map area, fixes #4796.

Lays the foundation to test for collisions with Iberian walls, refs
#2192 and
allows to rearrange the starting resources on all random maps without
being confronted with code.

Delete remains of misc.js, leaving the rmgen files sorted by logic,
fixes #4804.
Concludes what was started in 5f1736cbd4, f98100bdaf, specifically the
82 rmgen commits starting f2550705d3, 376d8b3d1e.
Uses vector algebra, refs #4845.
Removes many Math proxy calls, refs #4933.
Removes 35 unused elevation and 24 unused cliffRadius variables,
demonstrating the copy&paste antipattern.
Reduce iberian-wall hardcoding to one line, refs #4940.

This was SVN commit r20815.
2018-01-11 00:35:01 +00:00
Stan 8d01af48ad Fix Shiny Ptolemies horses and some errors/warnings with helmets
This was SVN commit r20813.
2018-01-10 01:08:28 +00:00
Stan d651ece301 New bubble icons
refs : D817
Reviewed by elexis, fpre, Imarok

This was SVN commit r20812.
2018-01-09 23:06:13 +00:00
elexis 2d187ba735 Fix unintented newline in 435081f916.
Display the tech filename in the structure tree warning rather than the
english label to ease mod debugging.

This was SVN commit r20811.
2018-01-09 21:38:17 +00:00
mimo 9fd718186d fix leftover in 29f2b19727
This was SVN commit r20810.
2018-01-09 21:22:19 +00:00
Gallaecio 435081f916 Remove Unicode ellipsis from map files
Summary: I have replaced Unicode ellipsis characters in files of the
maps/ folder of the public mod by ASCII characters (periods and commas).

Test Plan: I have successfully generated a random map on Atlas from the
Unknown map template on x86_64 Linux.

Reviewed By: elexis
Differential Revision: https://code.wildfiregames.com/D1210
This was SVN commit r20809.
2018-01-09 18:18:19 +00:00
elexis 531f548b4a Fix summary screen not printing "You have been defeated..." following 8da8d28102 since GetPlayerID returns -1 after EndGame.
This was SVN commit r20808.
2018-01-09 14:06:43 +00:00
Stan 7166d28268 Change slightly the catafalque to adapt to new horses meshes.
Reported by bb_ on IRC

This was SVN commit r20807.
2018-01-08 22:47:15 +00:00
elexis af698a16f0 Use createPassage from 0c70fb3036 to connect islands on Snowflake Searocks to remove weird math, just like ae2e045df5 and fc733d0b22, refs #4805.
Use vector algebra to simplify and mapCenter getter, refs #4845, #4854.

This was SVN commit r20806.
2018-01-08 21:33:27 +00:00
mimo e300fc6c53 petra: complete 67b76e6705 for the cc distance reduction when defensive and various cleanup
This was SVN commit r20805.
2018-01-08 18:40:24 +00:00
mimo 29f2b19727 Move Pack Time to parent template
Patch by Angen

Reviewed By: mimo
Differential Revision: https://code.wildfiregames.com/D1204
This was SVN commit r20804.
2018-01-08 18:04:29 +00:00
elexis 01bf52d70b Add missing Math.sqrt in 0aa875b3f2 and apply some trivial rmgen cleanup.
This was SVN commit r20803.
2018-01-08 17:08:21 +00:00
elexis 5368271d70 Fix a resource collision in 6d52a71d4a in the Lions Den and in 7f8adcf8cb/25682da568/0d0bc32736 in the Unknown maps, refs #4902.
This was SVN commit r20802.
2018-01-08 17:01:10 +00:00
elexis d448d9313b Fix missing coordinate conversion in e596ef6011 (and rearrange if-statement to be more readable).
This was SVN commit r20801.
2018-01-08 16:55:08 +00:00
elexis 2414e4946e Replace TWO_PI with 2 * Math.PI, refs #4933.
This was SVN commit r20798.
2018-01-07 20:32:43 +00:00
bb 891870a554 Stop serializing minimap playercolors
Patch By: temple
Comments By: elexis
Differential Revision: https://code.wildfiregames.com/D1124
This was SVN commit r20797.
2018-01-07 20:23:04 +00:00
elexis 4bc8dc9ed4 Remove rmgen Math.round proxy, refs #4933.
This was SVN commit r20796.
2018-01-07 20:18:31 +00:00
elexis a554a7c1ed Remove rmgen Math.abs proxy, refs #4933.
This was SVN commit r20795.
2018-01-07 19:57:30 +00:00
elexis 92fe7445e4 Remove rmgen Math.floor proxy, refs #4933.
This was SVN commit r20794.
2018-01-07 19:45:48 +00:00
elexis 0aa875b3f2 Remove rmgen sqrt proxy, refs #4933.
This was SVN commit r20793.
2018-01-07 18:42:22 +00:00