1
0
forked from 0ad/0ad
Commit Graph

152 Commits

Author SHA1 Message Date
c0a0e0bdbd Make the session GUI slightly more resilient to broken data files
This was SVN commit r7531.
2010-05-09 21:43:24 +00:00
037770a2a3 Fix use of 'undefined' sound group on death.
Warn about implicit script/native type conversions.

This was SVN commit r7527.
2010-05-09 13:56:06 +00:00
1738da1c3e Add 'pause' command back into new session GUI
This was SVN commit r7523.
2010-05-09 01:13:56 +00:00
549ec9d561 Fix units attacking rocks and trees instead of gathering resources from them
This was SVN commit r7520.
2010-05-09 00:44:33 +00:00
c75029b6ab Allow shift+click for multiple building placement
This was SVN commit r7519.
2010-05-09 00:25:03 +00:00
b821f7a289 Add hotkey "M" to toggle in-game music
This was SVN commit r7515.
2010-05-08 17:51:01 +00:00
e73a3cff78 Add some robustness against broken data
This was SVN commit r7505.
2010-05-07 15:56:24 +00:00
c34392053f # Add a demo map with all units on it.
Support XML-only maps with simple flat terrain.

This was SVN commit r7501.
2010-05-03 19:13:58 +00:00
d485ecafdc Optimise pathfinder tile storage a bit (improves speed by maybe 10%).
Increase the maximum search tile limit (reduces worst-case speed by
lots).

This was SVN commit r7495.
2010-05-02 20:14:09 +00:00
e140aa7baf Avoid running the old simulation code in the background when it's not needed.
Optimise GUI updates to only occur when necessary.
Switch to more peaceful music after starting the game.

This was SVN commit r7492.
2010-05-01 16:20:58 +00:00
cfae58928f # New unit movement system, which does a far better job of approaching targets and avoiding obstacles.
Add short-range vertex-based pathfinder.
Integrate new pathfinder into unit motion code.
Change obstruction system to get rid of circles, and differentiate
structures from units.
Make PositionChanged messages synchronous.
Try to prevent some accidental float->int conversions.

This was SVN commit r7484.
2010-04-29 23:36:05 +00:00
08db7ebe13 # Support training units in buildings.
Includes basic batch training (see #298).

This was SVN commit r7469.
2010-04-19 19:47:23 +00:00
abaea508ac # Fix startup warning in scenario editor
This was SVN commit r7461.
2010-04-17 11:29:34 +00:00
90d5ba7552 Remove the useless profile option on the menu. Disable the currently-non-working multiplayer and history buttons.
This was SVN commit r7415.
2010-03-30 21:15:15 +00:00
89cce1b3ac # Switch to new simulation system by default
This was SVN commit r7401.
2010-03-26 16:10:42 +00:00
f0c633785a # GUI tweaks.
Add an obvious pre-release warning to the menu.
Report the build's svn_revision on the menu.
Fix exiting from sim2 session.
Make the in-game dev options a bit prettier.

This was SVN commit r7400.
2010-03-26 13:21:09 +00:00
00e18e4ea8 Report S3TC non-support with an in-game GUI message box.
Fixes #313.

This was SVN commit r7390.
2010-03-23 22:45:07 +00:00
a5b8ec6028 Add obstruction debug mode, with GUI toggle.
Make pathfinder debug mode off by default, with GUI toggle.

This was SVN commit r7377.
2010-03-20 19:18:01 +00:00
08487ce246 # Improve support for building placement (rotation, collision detection) in new simulation system
This was SVN commit r7362.
2010-03-17 23:16:04 +00:00
9213ee8c27 # Construct buildings from foundations.
Display construction costs in tooltips.
Stop buildings leaving corpses.
Add debug info option to GUI.

This was SVN commit r7352.
2010-03-12 21:41:40 +00:00
bf31596486 Fix cursor and GUI-object interaction in bandbox selections
This was SVN commit r7350.
2010-03-12 20:39:52 +00:00
06928f7694 # Basic bandbox selection of units in new simulation system
This was SVN commit r7349.
2010-03-11 20:01:16 +00:00
a8d810b4b3 Add a switch to allow the user to control all player's units, for easier testing
This was SVN commit r7345.
2010-03-07 20:21:17 +00:00
1712b2cdb1 # Support death in new simulation system
This was SVN commit r7344.
2010-03-07 20:14:30 +00:00
c8c10a4871 # Extensions and cleanups to session GUI files.
Add various GUI pieces (exit button, resource counts, unit details).
Clean up implementation of button panels.
Split some content out of 'common' and into page-specific files.
Delete some obsolete content.

This was SVN commit r7337.
2010-02-28 21:45:09 +00:00
f8aca33a14 # Support resource gathering in new simulation system
This was SVN commit r7322.
2010-02-12 22:46:53 +00:00
06b0ea0a26 Fix breakage from accidental removal of global variable
This was SVN commit r7314.
2010-02-07 20:16:17 +00:00
b25076ed4d Min/max range support in pathfinder
This was SVN commit r7311.
2010-02-06 20:58:48 +00:00
b21e798243 # Primitive melee combat support in new simulation system
This was SVN commit r7309.
2010-02-05 22:00:39 +00:00
92df4d1793 Default to disabled-LOS mode with new simulation system
This was SVN commit r7291.
2010-01-29 21:04:23 +00:00
c399dc277e # Rough first version of GUI redesign
Minor GUI engine cleanups

This was SVN commit r7289.
2010-01-27 19:20:34 +00:00
f011f0a3ce Expose entity template data to GUI
This was SVN commit r7287.
2010-01-25 23:43:58 +00:00
3f1dfce41b Simplify GUI/simulation interface
This was SVN commit r7286.
2010-01-25 22:31:43 +00:00
953fb41c82 # Basic in-game building placement with new simulation system
This was SVN commit r7285.
2010-01-24 17:24:35 +00:00
7c2e9027c2 # Rewrite of the game's simulation system
Giant merge from
http://svn.wildfiregames.com/hg-source/file/5fb522019d5e
Infrastructure is largely complete, gameplay is largely missing
Disabled by default; use command-line flag "-sim2"
(Second attempt at commit...)

This was SVN commit r7259.
2010-01-09 19:20:14 +00:00
5a53b3183a Remove old debug statement
This was SVN commit r7238.
2009-12-31 16:47:02 +00:00
f0d9806b3f # Restructured GUI implementation
CGUI now represents a single 'page'. CGUIManager maintains multiple
pages and switches between them.
Split the XML files into pregame, loading, session and messagebox pages.
Added hotloading of GUI pages.
Minor GUI cleanups.
(Merge from hg 81862d33780c)

This was SVN commit r7214.
2009-12-03 20:17:22 +00:00
60c5beddc0 Change GUI text file encoding to utf-8, change line endings to native
This was SVN commit r6997.
2009-07-16 15:49:59 +00:00
3aafdeeaa2 Fix non-ASCII character in script
This was SVN commit r6995.
2009-07-16 10:32:58 +00:00
4c4bc53a91 Convert some line endings to native
This was SVN commit r6994.
2009-07-16 10:20:51 +00:00
f5bdcda80d Fixing #212. Now player can control only the units he owns.
This was SVN commit r6635.
2009-01-25 12:33:10 +00:00
2f5125e4d0 Fixing Ticket#215
Unit's stats (attack, defense) is rounded so there is no decimal digits
shown.

This was SVN commit r6526.
2008-12-06 15:21:14 +00:00
c1e90723bf Fixing a check in setCurrItemValue()
This was SVN commit r6516.
2008-11-23 20:19:48 +00:00
63e18ed07b #Players list in the Multiplayer menu is now working.
This was SVN commit r6510.
2008-11-22 22:44:02 +00:00
46ef33df5e setting default map to Latium
This was SVN commit r6508.
2008-11-22 20:28:17 +00:00
0b89a1ab98 Fixing problem with SP Start
This was SVN commit r6464.
2008-11-04 19:16:31 +00:00
1ce438a26f Fixing multiple Open/Close options in players slots
This was SVN commit r6430.
2008-10-18 17:59:27 +00:00
02ce159934 Commenting and disabling unimplemented features
This was SVN commit r6428.
2008-10-18 17:52:32 +00:00
6c6d92ebdb This was SVN commit r6420. 2008-10-13 20:58:12 +00:00
bcfbf972ed Production queue GUI interface.
Some refactoring of updateTab() function.
Disabling some unimplemented buttons.

This was SVN commit r6418.
2008-10-11 20:46:40 +00:00
31f7719d09 Disabling unused minimap buttons.
This was SVN commit r6412.
2008-09-28 23:56:36 +00:00
34f1817869 Splitting Internal with Public
This was SVN commit r6391.
2008-09-18 04:38:42 +00:00