1
0
forked from 0ad/0ad
Commit Graph

225 Commits

Author SHA1 Message Date
b8456f0702 # Added 4 sample techs.
Also modified the entity script to allow for gathering fractional
resources, and modified the GUI to round resources to the nearest
integer. This is necessary since techs will likely push resource
gathering amounts to fractional numbers.

This was SVN commit r4161.
2006-07-21 22:54:01 +00:00
3baa2d04b5 # Preliminary work on technology research UI
Still early days, but implemented the first few of Matei's tech
features.

This was SVN commit r4150.
2006-07-20 10:27:36 +00:00
e374ecc342 Increased SettlementAura radius so it looks nicer on maps where scenario designers have placed settlements by hand. Eventually we should decrease it back to 0.1 when Atlas supports socketted placement.
Also, modified game startup script to use the new tech functions.

This was SVN commit r4139.
2006-07-18 04:23:35 +00:00
1828443b02 # Fixed a unit rank upgrade bug.
Units were not able to gain more than 1 rank, even when they started at
Basic.

Also XML values for new bar rendering (changed the meaning of height to
not include the border).

This was SVN commit r4137.
2006-07-17 22:20:12 +00:00
5636a40e34 This was SVN commit r4131. 2006-07-17 19:40:36 +00:00
ef03e7aee8 #New stone mine
This was SVN commit r4130.
2006-07-17 19:40:23 +00:00
8fdfb383aa This was SVN commit r4129. 2006-07-17 19:21:38 +00:00
80813383c5 Some optimizations to entityInit and entityInitQuasi, as well as bug fixes (GUI code assuming traits.promotion!=null and trying to convert null/undefined to title case).
This was SVN commit r4124.
2006-07-17 00:58:37 +00:00
491a9910e3 Data changes for new entity bar rendering code. (All the bar info is now in one attribute, rather than having separate info for health bars, stamina bars and ranks).
This was SVN commit r4121.
2006-07-16 19:33:33 +00:00
3914fa16ed This was SVN commit r4115. 2006-07-14 22:26:29 +00:00
7bc8de70c7 #New Roman Hastatus texture and unit entity. Enjoy.
This was SVN commit r4105.
2006-07-13 21:28:14 +00:00
590086571b # More work on territories - Settlements are now claimable.
This was SVN commit r4074.
2006-07-09 23:13:20 +00:00
b0241cc4c8 Entity changes for territories (added the traits.is_territory_centre field).
This was SVN commit r4071.
2006-07-08 22:41:55 +00:00
62af0ff0f0 Added a simpler entity init function for quasi-entites to speed up simulation init time.
This was SVN commit r4052.
2006-07-02 04:30:33 +00:00
0a0f0905f3 This was SVN commit r4046. 2006-06-28 05:16:24 +00:00
2f065990f6 This was SVN commit r4019. 2006-06-23 02:56:33 +00:00
92b9c07f95 Restoring SVN repository:
Greek basket texture

# New Greek vases

# housekeeping
documentation fix: trailing / in directory names is mandatory

# Atlas: Sky texture selection; save with maps

Atlas code tidying: Slightly nicer syntax for defining command handlers,
and some explanation of how it works

Automated build.

This was SVN commit r4008.
2006-06-21 22:37:31 +00:00
77c59070c1 # Various gameplay updates.
- Added per-player resource pool and modified the GUI and entity scripts
to work with it.
- Modified unit creation functions so the unit is always assigned a
player before firing its initialize event, so that this event can deduct
population, etc from the right player.
- Fixed various small bugs, like a unit not cancelling all of its queued
items when it dies, or buildings not costing anything.

This was SVN commit r3998.
2006-06-10 03:05:16 +00:00
005983f237 Renamed tech and formation directories for better organization, and created a scripts directory for the game startup script, entity scripts, and eventually things like victory condition scripts for different game modes, or possibly triggers.
This was SVN commit r3995.
2006-06-09 23:04:47 +00:00
pyrolink
e4c40841b2 #Configurable game speed, techs, elevation attack bonus
-techs are not operational yet
-set the game speed with setSimRate() in the console or in the config
file under hotkey.speed.increase or hotkey.speed.decrease
-made a few other small fixes

This was SVN commit r3950.
2006-06-06 06:31:17 +00:00
03a08e00a5 # Fixed infinite loop.
Also fixed sectorDivs so it's always initialised, since the complaints
were annoying.
Camera: Added a const.
Super cavalry: Added required(?) aura attributes.

This was SVN commit r3906.
2006-05-29 03:28:54 +00:00
7ac2fc94a9 Updates to the water shaders and a fix to stamina bar display on ships.
This was SVN commit r3903.
2006-05-28 22:00:01 +00:00
9ecd5e8a25 # Horses now walk as well as galloping
Fixed other actor speed issues, upgraded appropriate Greek actors to do
citizen soldier functions

This was SVN commit r3890.
2006-05-23 08:51:26 +00:00
0444cee877 This was SVN commit r3883. 2006-05-18 07:16:15 +00:00
6bf7f2c4eb Jason's skybox as well as entity changes for the new heal, trample and repair actions and fixes for the per-player templates.
This was SVN commit r3866.
2006-05-16 04:43:11 +00:00
4af9cd2dce Entity script changes for per-player templates and an extra sanity check on prepareorder for build.
This was SVN commit r3864.
2006-05-13 22:12:57 +00:00
03f21c772f Made the gather animation start slightly faster after a unit starts gathering, though it's still not perfect.
This was SVN commit r3860.
2006-05-13 06:21:06 +00:00
0af22ec50f # Fixed a bug which was causing the gather action to not actually gather resources.
This was SVN commit r3859.
2006-05-13 05:54:01 +00:00
7d39e03831 Correcting the drunken units walking over uneven terrain
This was SVN commit r3857.
2006-05-13 04:57:40 +00:00
404c4221df XML and script fixes for running and pass-through-allies attribute.
This was SVN commit r3854.
2006-05-13 04:08:41 +00:00
6df8229a3a Script changes for the updated construction system.
This was SVN commit r3846.
2006-05-04 07:41:06 +00:00
pyrolink
39e89c406e #Fixes to flank penalty, notifications, sectors, terrain conformance. Added speed bonus based on terrain slope.
-added NOTIFY_ORDER_CHANGE, which is used for flank penalty instead of
idle.
-entity speed is now actions.move.speed_curr for the current speed, but
the original speed is still actions.move.speed.  Changes take place in
entityEventMovemen.

This was SVN commit r3840.
2006-05-04 04:14:48 +00:00
b512733787 # Completed the new unit production system and tied it in with the GUI.
This was SVN commit r3831.
2006-04-30 20:34:39 +00:00
pyrolink
2702a268ef This was SVN commit r3793. 2006-04-22 05:44:32 +00:00
d5383db5fc Fix for the rank rendering issue (turns out the rank height was not set in the XML's).
This was SVN commit r3766.
2006-04-14 08:24:21 +00:00
4bab7c82df # New Roman Temple and Farmstead
Increased the movement rate of the units a bit as they seems to walk
quite slowly.

This was SVN commit r3750.
2006-04-11 09:46:17 +00:00
pyrolink
c38a5379f6 This was SVN commit r3733. 2006-04-08 22:35:23 +00:00
ef155571c0 # As requested by Jason, now only one tab list in the Status Pane will be open at any time (hovering one will close any others that are open).
(Probably. I couldn't test with units due to the ModelRenderer
javelinist crash, but it seems to have the desired effect for the Civ
Centre. Which isn't the most conclusive test since the research list is
empty anyway.)

# Implemented Andrew's formation functions in the formation "pick list".

(Again, probably. Since this is completely untestable without being able
to select units, I can only speculate that it might work. The game
didn't crash and burn on startup as a result of my meddling, which I
take as a good sign.)

(Andrew: The changed section is a formation case switch at line 376 of
functions_page_session_status_commands.js. I endeavoured to use all your
functions to try them out. Like I said, I'm not sure if any of this
works -- and being sick and feverish doesn't help -- but it might at
least give you somewhere to start.)

This was SVN commit r3723.
2006-04-03 04:54:43 +00:00
31dd421c15 # Updated test actor and script for prop switch testing
This was SVN commit r3714.
2006-04-01 23:49:59 +00:00
pyrolink
cf14a7bc15 -rank/formation stuff and fixes. To give a unit a rank texture, just set rank.name in the entity's XML to the filename of the texture e.g. elite.dds or advanced.dds
This was SVN commit r3711.
2006-03-31 03:37:36 +00:00
34ff09529d # Implemented "pick list" selection code in UI. (Stances and formations can now be selected.)
# Added Explore tag for infantry units.
# Temporarily assigned a standard set of formations to all units for
testing purposes.
# Fixed pick list tab style.
* (Also updated traits.formation in Wiki to keep in sync.)
* Added "loose" formation -- is there a better name for that? -- since
presumably we'll need an option to disband the current formation.
* Pushed selection tab behind the pane as an easy alternative to
shifting it about.
* Started working on lists with "mixed" items (from different sheets,
like Allegiances), but decided halfway to commit the formation stuff for
Andrew.
* (Incidentally, as suspected, there isn't enough room for all these
items. All four horizontal tabs are now maxed out on a typical CS. Might
have to append the kill and player tribute items from Allegiance onto
Stance.)
* (Also, if we need more than 11 items in the list, that will also need
to be adapted sooner rather than later. The representative formation
list is maxed out.)

This was SVN commit r3680.
2006-03-24 20:59:09 +00:00
ccc8055226 Fail more nicely with invalid actors
This was SVN commit r3669.
2006-03-19 22:37:56 +00:00
0abb49ab09 * Removed portrait background from the large status portrait (by changing default sprites for all entities).
* Made tabs remain closed by default.

* Fixed error where foundations were referencing the older cell sheets.

* Added text equivalents for health and stamina.

This was SVN commit r3588.
2006-03-03 19:05:01 +00:00
c9250bd415 GUI Updates:
* Implemented Jason's new tabs for portraits. Shuffled buttons around a
bit.
* Started on Status Pane elements ... portrait, health and stamina bars,
garrison and supply counters, and descriptive text.

This was SVN commit r3585.
2006-03-03 00:02:01 +00:00
083d6f6104 Did more updates to commands.
* Pick lists should now display, though no events yet. (Except I've
disabled them for now, as their condition checks will fail in most
cases.)
* Building lists should now provide a building cursor when clicked, so
Matei can work on his stuff (though it gets a bit glitchy after that ...
The UI expects a portrait name and ID from the foundation, for example,
and so fails to find them and therefore continue to refresh the command
lists.)

This was SVN commit r3576.
2006-03-01 20:23:09 +00:00
238ea155f3 Last update for tonight ... Tabs and commands are now displaying (albeit very fragilely due to unpredictable error-checking), "pick lists" and events still disabled while I work on getting them right. Also need to reshuffle button locations later when adapting to Jason's new Status Pane shape.
This was SVN commit r3573.
2006-02-28 07:03:35 +00:00
268584d177 Initial commit of GUI changes. You're not liable to see much difference (in fact, there's probably less functionality than there used to be).
This is mostly to commit the new icon sheets so Jason can commit changes
directly if he prefers, and because I'm about to get back onto fixing
the command lists (not necessarily ones that actually do things when you
click them, but at least get them updating properly on the screen for
Matei), and want to commit a semi-usable update before I potentially
break it all again.

This was SVN commit r3571.
2006-02-27 23:37:43 +00:00
cbdc4e9686 Quick fix in the init(), where non-foundations seemed to produce errors (since their building property would be undefined). Just added an extra if check.
This was SVN commit r3570.
2006-02-27 04:58:04 +00:00
c55b49164a Tweaked foundations' LOS so it depends on their sizes.
This was SVN commit r3567.
2006-02-26 22:25:17 +00:00
2e26b5e1da Added foundations for all the building types.
This was SVN commit r3566.
2006-02-26 22:10:01 +00:00