1
0
forked from 0ad/0ad
Commit Graph

369 Commits

Author SHA1 Message Date
5650780df6 Some refactoring, removed commented unused code, added a verification so the units price won´t be shown when it is in the selection tab.
This was SVN commit r6313.
2008-08-03 14:36:51 +00:00
ffbc2ce805 This was SVN commit r6310. 2008-08-02 14:35:55 +00:00
1196ed1d45 fixing a small bug
This was SVN commit r6306.
2008-08-01 14:31:01 +00:00
484ad1701f removing a debug message.
This was SVN commit r6295.
2008-07-29 21:40:48 +00:00
2e61a5c663 Added the killing feature. Now by selecting a unit and pressing [Delete], it will be killed.
This was SVN commit r6294.
2008-07-29 21:38:41 +00:00
78284850e1 This was SVN commit r6293. 2008-07-29 16:54:46 +00:00
2dde452493 Fixing the players list. Adding the shadow, correcting the order.
This was SVN commit r6292.
2008-07-29 14:26:27 +00:00
98dd1a1bb4 Refactored "generic" order to just call it "contact action", and added support for intercepting targets if performing a contact action while moving.
This was SVN commit r6290.
2008-07-29 08:22:56 +00:00
837ef022bd Adding a list of currently playing players. Available at Ctrl+P
The system.cfg change only adds Ctrl+P hotkey.

This was SVN commit r6282.
2008-07-25 18:17:18 +00:00
1144798b70 Use traits.id.tooltip rather than traits.id.rollover for descriptions on train buttons.
This was SVN commit r6278.
2008-07-24 06:12:17 +00:00
75a9b2f357 Made stance-setting work with multiplayer.
This was SVN commit r6274.
2008-07-24 05:25:14 +00:00
95f3036e74 Cleaner production icon tooltips.
This was SVN commit r6266.
2008-07-23 05:03:46 +00:00
12b7b2c9b1 Adding building/training price and description.
This was SVN commit r6261.
2008-07-20 20:49:43 +00:00
fe55a8b734 Adding a shadow to the text, so it is visible on bright maps.
This was SVN commit r6234.
2008-07-15 17:13:55 +00:00
8fee4a1fb3 Adding new function to show status messages for lacking resources when building and training units.
This was SVN commit r6232.
2008-07-15 12:55:44 +00:00
9a6eab9fac This was SVN commit r6229. 2008-07-14 21:42:14 +00:00
8161197f0e Comment out error-producing code that tried to render player names in slots.
This was SVN commit r6227.
2008-07-14 06:29:57 +00:00
9025056ffd Made rally point setting net-safe.
This was SVN commit r6225.
2008-07-13 17:37:45 +00:00
e4966f6f1b Added running support to GENERIC orders through a field that can be sent across the network (previous implementation used to be by setting properties on the entity itself).
This was SVN commit r6223.
2008-07-13 06:24:50 +00:00
d5fedc7c76 Fixing some multiplayer issues:
a) Run commands were not being sent accross properly because the JS just
directly set flags on the entity. Note: The current fix has the
side-effect of making it no longer possible to double-rightclick a
target to charge, run-gather, etc. That will be fixed in a later commit.
b) EntityLists were serialized in a format that made it impossible to
deserialize a zero-length list.

This was SVN commit r6221.
2008-07-13 05:56:27 +00:00
cccc55ce97 Adding ESC key confirmation.
This was SVN commit r6219.
2008-07-12 21:28:28 +00:00
cc62b4196a Removed credits roll from main logo - it was too annoying to click it accidentally cause there was no way to get out.
This was SVN commit r6217.
2008-07-12 19:21:22 +00:00
01dc8c3d72 Fix an annoying error message when some properties of templates were not defined.
This was SVN commit r6212.
2008-07-12 07:11:27 +00:00
67d43e45ab fix soundGroup paths for "lumbering"
*.js: update constants to their new values as defined by dacian's
netcode

This was SVN commit r6031.
2008-06-16 18:41:19 +00:00
207d1367ec # A number of network synchronization fixes.
- The server will no longer send a new turn until the previous one has
been "acknowledged". (TODO: this may create lag between turns in its
current form; investigate and possibly allow executing two turns while
the third is being negotiated).
- Mutexes are now being used in NetServer and NetClient to ensure
commands go into the right batches.
- Commented out some orders in the GUI code that should not be there and
are not 100% working anyway (they were part of the follow/formation
system).
- Units that spawn or are created by scripts now have net-safe position
and orientation.
- Added a debug flag that can be turned on to print details about when
commands are received and executed (DEBUG_SYNCHRONIZATION). This is
especially useful if you diff the stdouts of two running games. There
should be no differences if everything is in synch.

This was SVN commit r5463.
2007-11-18 09:09:06 +00:00
e62da22784 Sort maps ignoring case.
This was SVN commit r5236.
2007-07-09 04:07:57 +00:00
92578ae553 # Some initial work on networking, fixing session setup, game startup, and command queueing.
- Fixed outdated / buggy networking code in the GUI scripts.
- Finished the API to CNetClient so that it's possible to start a CGame
from it.
- Some enhancements for debugging networking: Enabled updates while the
game is minimized/out-of-focus if it's in a network session. Also
reduced the turn length to something slightly more manageable but still
unplayable (1 sec versus 3 sec).
- Fixed a bug where IssueCommand used to access the order it creates
after queueing it, which is bad if the order gets deleted while being
queued (e.g. in CNetClient).

This was SVN commit r5139.
2007-06-04 07:41:05 +00:00
pyrolink
684dbbe9ba #Preliminary end game conditions; cinematic and trigger fixes
Cinematic editor is less clumsy.  Forward and backward buttons now move
the camera to the next and previous nodes.

This was SVN commit r5000.
2007-04-27 03:05:26 +00:00
b631b9bbf0 Made the default map be latium_generated, for tutorial.
This was SVN commit r4988.
2007-04-24 15:02:51 +00:00
1fea26a0e9 # Update to technologies.
Made CTechnology inherit from CJSComplex, so that properties such as
resources can be added dynamically instead of being hardcoded in it.

Also removed some excessive debug output from GUI.

This was SVN commit r4980.
2007-04-22 01:09:50 +00:00
29f44d66ed # Bug fix
Fixes problem introduced in 8d0a7170f6, removes workaround from
faf8358b3c

This was SVN commit r4957.
2007-03-16 10:05:05 +00:00
faf8358b3c # Bug fixes
This was SVN commit r4956.
2007-03-16 02:57:51 +00:00
892fb6ce9e # Fixed some script bugs.
- Loot script was not properly giving loot.
- Some errors were occuring in the GUI every frame when XML files are
lacking certain traits.
- Fixed time on celt female citizen forage gather animation.

This was SVN commit r4832.
2007-02-02 14:53:16 +00:00
6ed4ad6519 Added a hotkey to toggle rendering of territory outlines. (Currently "T").
This was SVN commit r4675.
2006-12-05 02:08:52 +00:00
4df019a593 - Removed some debug spam.
- Fixed skeleton entity.

This was SVN commit r4604.
2006-10-29 17:22:14 +00:00
acea9cc2a3 #Several gameplay changes:
#- Modified female citizen gather rates and aura effects.
#- Units automatically go gather nearby resources when done building a
dropsite.
#- Ore renamed to metal.

This was SVN commit r4594.
2006-10-26 21:35:25 +00:00
939e20f3b1 - Fixed some bugs with Aleppo pine, GUI messages and projectiles hitting quasientities like rocks and trees.
- Removed some unnecessary computation in water shader.

This was SVN commit r4571.
2006-10-17 22:34:11 +00:00
0a6c4ae103 # Bug fixes and more game setup options.
- Added "Screenshot Mode" checkbox on game setup screen, which will set
units to Hold stance by default (normally, they'll be in aggress).
- Made the "Fog of War" checkbox actually work.
- Fixed a bug where repairing a building could cause you to reach
negative resources.
- Increased ranged unit LOS so they can pursue things that go out of
attack range.
- Made visibility permanent for Settlements.
- Removed a stray "s" in template_unit_cavalry_melee.xml.

This was SVN commit r4526.
2006-10-08 17:34:46 +00:00
35d6805010 # Added return-to-menu hotkey.
This was SVN commit r4518.
2006-10-08 02:51:16 +00:00
d34ae19788 # cleanup JS
fix tabs and indenting

This was SVN commit r4371.
2006-09-21 11:30:40 +00:00
88474be519 Fixed a missing break statement that caused a research event to also be generated when you try to train something.
This was SVN commit r4347.
2006-09-17 02:18:50 +00:00
b177f2b711 Removed some console spam from playing unit sounds.
This was SVN commit r4321.
2006-09-10 23:51:08 +00:00
5473187487 buildFileList -> buildDirEntList to emphasize that dirs can be returned. (1/2)
This was SVN commit r4309.
2006-09-08 18:38:15 +00:00
059e48d152 Fixed a spelling error (TRAiN vs TRAIN).
This was SVN commit r4263.
2006-08-28 19:05:57 +00:00
01b02d145d Script changes for adding isQueued parameter to issueCommand.
This was SVN commit r4239.
2006-08-25 04:23:27 +00:00
f76d0ffdc6 XML / JavaScript changes for new case-aware XMB format. Mostly deals with changing things like structciv to structCiv and subtype to subType, and ensuring parent is specified with Parent on all entities.
This was SVN commit r4185.
2006-08-01 03:29:10 +00:00
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
278d52bc2b A small fix to make techs get researched properly when you click their button.
This was SVN commit r4153.
2006-07-20 22:42: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
dd895c95e3 Fixed a bug with resource updates, and made script profiling code be commented out by default in case it interferes with people (it shouldn't have taken too much time, but who knows).
This was SVN commit r4128.
2006-07-17 02:38:43 +00:00