1
0
forked from 0ad/0ad
Commit Graph

130 Commits

Author SHA1 Message Date
fcedcae052 # Add victory/defeat conditions, based on patch from fcxSanya.
Fixes #565.

This was SVN commit r8234.
2010-10-01 20:51:21 +00:00
53abdf4717 Fixed the size of the menu and civ icon sprites
This was SVN commit r8223.
2010-10-01 01:13:43 +00:00
729cf72d2b More GUI fixes. Specifically, making panel textures size appropriately in different resolutions.
Smaller panel image with less dark on the sides.

This was SVN commit r8217.
2010-09-30 23:01:24 +00:00
61fa8d29f6 Some more in-game GUI progress. Multiple selections now look more like the mockup, but all the stats icons and bars still reference the first unit. I will fix that part later.
This was SVN commit r8216.
2010-09-30 22:39:45 +00:00
54142e5ee8 Some more progress towards Michael's GUI design.
This was SVN commit r8213.
2010-09-29 21:55:51 +00:00
41819d3189 Moved notification area to rest on right side of lower panel.
(Hide right panel when not used)

This was SVN commit r8206.
2010-09-28 18:31:40 +00:00
4e897394dc Fixed some overlapping issues
Added menu hotkey

This was SVN commit r8205.
2010-09-28 18:15:11 +00:00
b2278e56a6 Fixed menu graphics
Misc consistency improvements
Added pause hotkey

This was SVN commit r8204.
2010-09-28 17:40:41 +00:00
ac11a5cf28 Fixed chat dialog graphics
This was SVN commit r8203.
2010-09-28 15:53:20 +00:00
93e81319e8 Added civ icon
Fixed Settings Dialog graphics

This was SVN commit r8202.
2010-09-28 14:58:14 +00:00
ea7c2e569c Michael's new GUI layout
(I made some changes to some parts which can always be changed back.
It's still a work in progress.)

This was SVN commit r8200.
2010-09-28 14:19:13 +00:00
82691683cb Fix #56 (add unit-following camera mode (press 'F')), based on patch from markelov.
Remove obsolete IsNewSimulation function.

This was SVN commit r8190.
2010-09-26 23:05:25 +00:00
7f3a628e0b Some small aesthetic changes to selection details area
This was SVN commit r8182.
2010-09-25 18:19:06 +00:00
fa1dc05de2 New GUI layout
Delete confirmation dialog
Resource bar replaces resource quantity/icon
Selected units are grouped by type regardless of rank
Ranked units use the same icon
"Basic" units are now considered to have the rank of "Basic" for
grouping purposes

This was SVN commit r8180.
2010-09-25 15:22:41 +00:00
924d1219a7 # Add fog-of-war.
Move Vision component to C++, for more efficient FoW processing.
Disable FoW on demo maps.

This was SVN commit r8160.
2010-09-23 12:13:13 +00:00
1cc4d358d7 Fix #549 (Allow units to be moved by right-clicking on the mini-map), based on patch from Badmadblacksad
This was SVN commit r8107.
2010-09-11 19:49:21 +00:00
fae4a3da24 Fix #548 (GUI should give feedback when training queue entry is blocked), based on patch from fcxSanya
This was SVN commit r8071.
2010-09-04 13:24:52 +00:00
90e4672c8d Removed unnecessary null assignment
This was SVN commit r8051.
2010-08-30 14:43:26 +00:00
0a98fbaba2 Cache the Entity States and Templates to increase performance
This was SVN commit r8037.
2010-08-28 21:12:52 +00:00
a9b11b780e Fix right clicks passing through GUI objects and triggering unit commands.
Fix cursor displaying unit commands when over a GUI object.

This was SVN commit r8020.
2010-08-21 23:58:08 +00:00
a41dd1d736 # Add repair command.
Fix #537 (Repair functionality for damaged buildings) based on patch
from evans.
Make some unnecessarily optional template elements required.

This was SVN commit r8015.
2010-08-21 21:53:51 +00:00
aa65eb2008 Fixed empty tooltips from displaying a small, empty square
This was SVN commit r8004.
2010-08-19 14:57:51 +00:00
dfa155f6b9 Simplified the main selected unit's icon tooltip
This was SVN commit r8003.
2010-08-19 14:09:00 +00:00
5ee7f7b178 Reworked selection details and rank code
Added rank tag to templates to avoid string parsing

This was SVN commit r7995.
2010-08-17 13:37:46 +00:00
7a2fac889f Enabled template tooltips
This was SVN commit r7988.
2010-08-17 00:55:02 +00:00
9c5fd64d5f Defocus the chat box when sending an empty message
This was SVN commit r7954.
2010-08-15 01:27:52 +00:00
64daef95df Fix chat to use GUID instead of host ID.
Fix randomly incorrect player names.
Fix script errors when connecting to an invalid IP address.
Adjust the server/client disconnection messages to be a bit more
accurate.

This was SVN commit r7946.
2010-08-14 19:45:22 +00:00
8967395da6 Made chat messages send a GUID rather than a user name
This was SVN commit r7943.
2010-08-14 15:34:36 +00:00
50bccd8720 Made notifications visible only to the relevant player
This was SVN commit r7942.
2010-08-14 04:34:49 +00:00
5a42689d5e Fix typo
This was SVN commit r7940.
2010-08-13 22:06:19 +00:00
9a1e450031 Added a basic notification system
Currently, it only reports insufficient resource notifications

This was SVN commit r7939.
2010-08-13 22:02:27 +00:00
c8f90ce5a2 Refined chat and added chat messages to the console
Cleaned up session menu code (cached menu objects)

This was SVN commit r7935.
2010-08-13 16:05:06 +00:00
961d19d037 Try a more readable stroked font.
This was SVN commit r7932.
2010-08-13 14:14:27 +00:00
2deac598eb Remove focus from chat box after sending message
This was SVN commit r7931.
2010-08-13 13:50:03 +00:00
6c7b82130c # Redesigned the camera control system.
Add shift+wheel (and Q/E, and ctrl+arrows, and ctrl+WASD) to rotate the
camera.
Restrict the rotation and zoom to narrow ranges. (Constraints can be
disabled in the dev overlay).
Smooth the movement and rotation.
Fix some stupid whitespace.
Fix some const correctness.

This was SVN commit r7930.
2010-08-13 13:26:29 +00:00
e831cac647 Added "return to menu" button to disconnected screen
Show the name of the player that left (if not the host)

This was SVN commit r7926.
2010-08-12 23:15:01 +00:00
f0a0c69770 Removed the connection message
Removed the disconnection message's color

This was SVN commit r7925.
2010-08-12 20:15:27 +00:00
859c696afe Show when a player leaves multiplayer
This was SVN commit r7924.
2010-08-12 19:31:17 +00:00
b7d5648cc9 The clear timer line will not be needed all the time, but when a new message removes an older message (only happens when there's not enough room) it needs to disable the timer for that older message
This was SVN commit r7923.
2010-08-12 17:50:43 +00:00
3947495db9 Don't need to manually clear timers because this happens automatically when they expire
This was SVN commit r7922.
2010-08-12 17:40:30 +00:00
d41d554678 Reworked session code splitting some things out to different files
This was SVN commit r7921.
2010-08-12 15:44:03 +00:00
2c23b6c3bb Added golden fleece actor placeholder
Change golden fleece resource value from 3000 to 1000
Changed large tree resources from 500 back to 300

This was SVN commit r7916.
2010-08-12 03:33:30 +00:00
d5bd374586 This should finish up multiplayer chat (#216)
Made chat window look a little better
Fixed issue with autostart

This was SVN commit r7914.
2010-08-12 03:01:33 +00:00
4cfca1625d Added Multi-player chat in menu and hotkey (return key)
Made player names match custom names in multi-player

The chat window will still need some more aesthetic work

This was SVN commit r7909.
2010-08-11 22:16:16 +00:00
54d9224918 Add focus() script method to GUI objects.
Add basic GUI script timer.

This was SVN commit r7908.
2010-08-11 21:04:09 +00:00
0dc50ea1cd Fix GUI errors on broken entities with no icons. Delete some bogus icon sheet references.
This was SVN commit r7905.
2010-08-11 10:54:08 +00:00
e6c3f1c482 # Use more sound effects
This was SVN commit r7891.
2010-08-10 01:25:24 +00:00
e64d115d7c # Change selection circles to match the player colour
This was SVN commit r7880.
2010-08-08 17:28:51 +00:00
eef74bb784 Right-clicking with buildings selected should always set the rally point, even when clicking on another unit
This was SVN commit r7866.
2010-08-07 21:27:09 +00:00
d2e6233c44 Fixed HP display issues in GUI
This was SVN commit r7864.
2010-08-07 00:21:17 +00:00