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
4f2d9ee128
Fixed bandboxed entity preference code from relying on parsing template names
...
New rules for preferences:
units
defensive
others
This was SVN commit r7857.
2010-08-06 00:29:58 +00:00
07615310f2
# Add rally points for newly-trained units, based on patch from evans.
...
Fixes #521 .
This was SVN commit r7849.
2010-08-05 10:20:47 +00:00
c39c4ac8d3
Ignore recently-deceased units more gracefully in makePrimarySelection
...
This was SVN commit r7848.
2010-08-05 10:07:00 +00:00
a5171d9145
Just display the delete button until the other commands are implemented
...
This was SVN commit r7843.
2010-08-03 01:54:16 +00:00
76e6b6dbe3
Made bandboxed selections more intelligent by preferring entities in this order:
...
1) units and animals
2) towers
3) buildings that are the same type as the first building
4) non-building entities
This was SVN commit r7840.
2010-08-01 21:50:03 +00:00
67e3a95d74
Added Delete Hotkey
...
Misc minor changes
This was SVN commit r7835.
2010-08-01 16:25:24 +00:00
aa2d305b6e
Added working delete button
...
This was SVN commit r7832.
2010-08-01 05:09:30 +00:00
dd2fcad2a2
Fixed fractional resources showing up in the GUI
...
This was SVN commit r7831.
2010-08-01 00:33:20 +00:00
be59106400
Cleaned up code (slight redesign)
...
Added more wood to trees
Standard trees 100 -> 300
Special trees 300 -> 500
This was SVN commit r7829.
2010-07-31 21:46:25 +00:00
ba591b6d9f
Redesigned the selection GUI
...
No more groups of any kind
Max selection size increased to 32
Single click - deselects all others
Single click with shift key - deselects all that are not the same type
(only for one rank)
This was SVN commit r7826.
2010-07-30 22:19:43 +00:00
0cd0a1f584
# Add auto-attacking of nearby enemies.
...
Add general range-detection code.
Avoid unnecessarily computing 3D entity positions.
This was SVN commit r7817.
2010-07-29 20:39:23 +00:00