Commit Graph

2706 Commits

Author SHA1 Message Date
WhiteTreePaladin ff7ea96189 Code cleanup
This was SVN commit r7811.
2010-07-26 03:31:54 +00:00
WhiteTreePaladin e416fe18cd Code cleanup and explicit number conversion
This was SVN commit r7802.
2010-07-24 22:09:59 +00:00
WhiteTreePaladin bc704b288a Made Animal AI default to "PASSIVE" if its type was not found
Added rudimentary fishing for units and merchant ships
Adjusted resource gather rates
Improved Mountain Pass map

This was SVN commit r7799.
2010-07-24 20:26:25 +00:00
WhiteTreePaladin f8275d2ed7 Added "PASSIVE" state to the Animal AI
This was SVN commit r7790.
2010-07-23 15:25:28 +00:00
WhiteTreePaladin 2f54e77e29 Updated gather treasure cursor
(created by Mario Machado aka mfmachado)

This was SVN commit r7789.
2010-07-22 22:18:49 +00:00
feneur f81e6a2bbd removed the fence around the walrus (very unnecessary, and quite silly, as well as not having any effect, not sure what to say about the walrus though =) ) as the fence as discovered by Brian wasn't part of the public SVN
This was SVN commit r7782.
2010-07-21 22:20:53 +00:00
WhiteTreePaladin 9a6c020fce Allowed selections with only one group to also show the unit stats area
Split unit cycle back to 2 functions

This was SVN commit r7781.
2010-07-21 21:02:21 +00:00
WhiteTreePaladin ef0a80623c Fixed the resource type (wood -> wood.tree)
This was SVN commit r7780.
2010-07-21 20:41:35 +00:00
WhiteTreePaladin 41e1652e10 Using .png for session cursors
Added .png version of cursors
Added gather treasure cursor

This was SVN commit r7779.
2010-07-21 20:35:26 +00:00
WhiteTreePaladin 6af3f28ad4 Converted resources:
wood -> wood.tree
 stone -> stone.rock
 metal -> metal.ore
Added resource: metal.treasure
Renamed cursors and added placeholder treasure cursor
Fixed basic templates and Hellene actors to work with new resources
(need to fix Celt actors)
Fixed some warnings in the session scripts.
Added entity "Golden Fleece" placeholder

This was SVN commit r7778.
2010-07-21 18:51:27 +00:00
Ykkrosh 602c92beae GUI support for queued orders
This was SVN commit r7776.
2010-07-21 17:13:04 +00:00
Ykkrosh 4e5c5e2d8f # Rewrite unit AI code.
Use HFSM for unit AI.
Support queuing orders.
Automatically attack back when attacked.
Automatically gather from farms after building them.

This was SVN commit r7775.
2010-07-21 16:09:58 +00:00
Ykkrosh 8a1aa101c1 Slow down animals, so they don't pathfind quite so much.
Make farms a better size.

This was SVN commit r7774.
2010-07-21 16:05:48 +00:00
Ykkrosh bd2fd6c713 Extend animal AI to all animals.
This was SVN commit r7771.
2010-07-20 08:45:09 +00:00
Ykkrosh 9674c3c0fe Remove ScriptingHost initialisation code (share with ScriptInterface instead).
Fix GUI scripts to avoid strict warnings.
Rejig GUI/SpiderMonkey interface to use less custom code, and to work
with JSOPTION_VAROBJFIX.
Add event name to GUI event handler function names (visible in the
profiler).

This was SVN commit r7769.
2010-07-19 23:01:58 +00:00
Ykkrosh 544afca570 Delete some old unused GUI scripts
This was SVN commit r7767.
2010-07-19 22:55:30 +00:00
WhiteTreePaladin 0be1713b2b Made several changes to session GUI (cosmetic).
Up/down arrow sprites are usable as regular buttons now.

Selections now group ranked units together as a single group. This
feature can be toggled in the settings window. Depending on feedback, I
will probably choose one method over the other and remove the toggle.

New map - Mountain Pass (8 player)
It will need further polishing.

This was SVN commit r7766.
2010-07-19 21:23:12 +00:00
Ykkrosh d9d2c33ec7 Fix tests
This was SVN commit r7765.
2010-07-18 16:06:52 +00:00
Ykkrosh e19146cf25 # Added AI for chickens.
Add scripted HFSM system.
Add very basic animal AI.
Support script-only message types.
Add shift+D hotkey to toggle dev command panel.

This was SVN commit r7763.
2010-07-18 15:19:49 +00:00
WhiteTreePaladin 5f366d798f Added female citizens to civil center
Removed unneeded reference to portrait sheet for the Celts and Hellenes
advanced and elite units since they already inherit it

This was SVN commit r7762.
2010-07-16 14:22:18 +00:00
WhiteTreePaladin ae823038bd Added <IconSheet></IconSheet> attribute to entities
Added icon_sheet attribute to GUI interface
Made session GUI reference template.icon_sheet

This was SVN commit r7761.
2010-07-16 02:45:22 +00:00
WhiteTreePaladin 1f8459f717 Added new styles
Outlined player names to make them stand out more
(Probably will need a new font to get a good effect with the player
names)

This was SVN commit r7760.
2010-07-14 21:54:11 +00:00
Mythos_Ruler d304807ac4 Authentic Greek unit names.
This was SVN commit r7752.
2010-07-14 07:57:58 +00:00
Mythos_Ruler 0ed5cf0355 This was SVN commit r7751. 2010-07-14 07:44:42 +00:00
Mythos_Ruler 90bfa8408e This was SVN commit r7749. 2010-07-14 04:52:12 +00:00
Mythos_Ruler 5a2630be1d This was SVN commit r7748. 2010-07-14 04:40:37 +00:00
WhiteTreePaladin 828efdde8f Tweaked the Hellene animation speeds
This was SVN commit r7737.
2010-07-11 20:00:14 +00:00
feneur 6b8924324a # Added one of each civ centre unit for all players to techdemo-mp.xml (Multiplayer testing map)
This was SVN commit r7736.
2010-07-11 13:14:45 +00:00
WhiteTreePaladin 0cb1fbe4d5 Fixed gathering from enemy farms instead of player owned farms
This was SVN commit r7735.
2010-07-11 01:25:50 +00:00
feneur c0e915fd5d # Added more resources to the techdemo-mp.pmp (multiplayer testing map) to make testing more fun (also added some underwater/shoreline texture)
This was SVN commit r7734.
2010-07-10 23:35:48 +00:00
WhiteTreePaladin 27512039a7 Made units attack enemy foundations instead of trying to build them
This was SVN commit r7730.
2010-07-10 17:28:32 +00:00
WhiteTreePaladin 9b88e46fce Code cleanup
This was SVN commit r7727.
2010-07-09 00:19:36 +00:00
WhiteTreePaladin c50f2d6d40 If any units in a selection have the ability to perform a task, then that task will be available even if some of the units cannot perform it. Units that cannot, will simply move to the target.
This was SVN commit r7726.
2010-07-08 22:47:57 +00:00
Ykkrosh 778af99416 Fix NaNs when gathering from unsupported resource types.
Fall back to walking to the target when unable to perform the specified
command on it.

This was SVN commit r7723.
2010-07-08 20:08:08 +00:00
Ykkrosh 56e1802b81 Show message box when opening URL, since it might take a while to launch the browser
This was SVN commit r7721.
2010-07-08 18:46:39 +00:00
Ykkrosh 4b06ebd52d Add basic help page into the main menu.
Add buttons to open the web site and IRC.
Tentatively allow Atlas to be launched from the menu.
Add some shutdown functions to support relaunching into Atlas without
having to restart the whole process.

This was SVN commit r7714.
2010-07-07 21:47:31 +00:00
WhiteTreePaladin db8dda7bda Used Hele portrait sheet for units that begin with "camp"
Made button layout ever so slightly more efficient
Fixed some more Hellene animation speeds

This was SVN commit r7713.
2010-07-07 13:28:37 +00:00
Ykkrosh 7a58980ad6 Remove unneeded genericity
This was SVN commit r7712.
2010-07-07 10:47:20 +00:00
Ykkrosh 6bd38c1e5d Report errors when hosting/joining fails
This was SVN commit r7709.
2010-07-06 20:51:45 +00:00
Ykkrosh 5d5cb02b21 Disable visible logging of network messages
This was SVN commit r7708.
2010-07-06 20:31:05 +00:00
Ykkrosh dc5a78af30 Fix simulation test
This was SVN commit r7707.
2010-07-06 20:30:22 +00:00
Ykkrosh 31699e830d Handle disconnections better.
Remove local sessions (just use ENet for everything instead) because
they add far too much complexity.
Fix memory leaks.

This was SVN commit r7706.
2010-07-06 19:54:17 +00:00
WhiteTreePaladin 1bfb913a69 Fixed attempt to perform a string operation on a template instead of the template name
Worked on Hellene actor animation speeds
(They will still need some more tweaking)

This was SVN commit r7702.
2010-07-06 01:23:50 +00:00
WhiteTreePaladin 5be1052ad0 Fixed a GUI selection display bug where the final element of a large selection was wrapping around and replacing the first selection group.
Added and removed some utility functions in session.js

This was SVN commit r7701.
2010-07-05 23:04:38 +00:00
WhiteTreePaladin 669b230522 Re-enabled "remove from training queue" buttons since they work now
This was SVN commit r7697.
2010-07-05 16:56:30 +00:00
WhiteTreePaladin 5d224bbeb6 Added tooltip to rank icon
Some code cleanup / rework
Minor fixes

This was SVN commit r7696.
2010-07-05 16:50:06 +00:00
Ykkrosh dff694f0f0 Fix units spawning on top of each other.
Add type-safety to prevent that kind of bug happening again.

This was SVN commit r7691.
2010-07-04 17:19:38 +00:00
WhiteTreePaladin d764473844 Fixed resource quantities not showing for player owned units
This was SVN commit r7685.
2010-07-04 03:49:58 +00:00
WhiteTreePaladin 22d7f871ed Entities that have 0 resources remaining are now removed
This was SVN commit r7684.
2010-07-04 02:36:30 +00:00
WhiteTreePaladin 3af3cbe99a Fixed the GUI selection issue where killed units were not being removed from the selection or the selection display
This was SVN commit r7683.
2010-07-04 01:03:14 +00:00