1
0
forked from 0ad/0ad
Commit Graph

86 Commits

Author SHA1 Message Date
81f5e0ac5f Allow continuing playing when a client leaves a multiplayer game (fixes #620).
Fix multiplayer autostart.
Make NETTURN_LOG syntax differently ugly.

This was SVN commit r8525.
2010-11-03 00:21:52 +00:00
5d764f1435 Run network server in a separate thread, to minimise latency.
Make some parts of logger and console thread-safe.
Simplify console: remove special commands; remove prefix for script
commands.
Remove LOG_ONCE, to simplify logger.
Change some code to use the new logger interface.
Fix OOS when revealing map.
Clean up some formatting.

This was SVN commit r8511.
2010-10-31 22:00:28 +00:00
1840bb3507 Stop units walking outside the edges of circular maps.
Switch the GUI between square/circular minimap automatically.

This was SVN commit r8500.
2010-10-30 18:25:34 +00:00
9ee44bd9b8 Game setup changes, including showing name, civ, team, and some options loaded from the scenarios. Civ data added. Civ info window to preview civs. Icon tooltips. Support for random map implementation. Fixes #590.
This was SVN commit r8494.
2010-10-30 04:02:42 +00:00
02aa8499ed Partial experimental version of circular maps
This was SVN commit r8470.
2010-10-25 21:59:52 +00:00
6373c2cfcb Made GUI always visible
Adjusted size of icon buttons in the session GUI
Allowed support units to garrison in watch towers

This was SVN commit r8458.
2010-10-24 23:40:09 +00:00
3521c8f51e Made garrisoning based on the quantity of units, not the population cost of those units.
This was SVN commit r8453.
2010-10-24 01:14:34 +00:00
0aaddf62aa Garrisoning for buildings based on patch by Evans (fixes #610)
This was SVN commit r8451.
2010-10-23 22:43:15 +00:00
24fb9cd313 Split unit icon sheets into individual textures, for easier editing
This was SVN commit r8440.
2010-10-22 23:27:42 +00:00
add040f7e1 Hide city phase indicator
This was SVN commit r8409.
2010-10-17 20:13:02 +00:00
43f2be44ba label
This was SVN commit r8405.
2010-10-17 18:57:51 +00:00
468816aaea Show chat message when the developer console is opened or closed. (For SHIFT-D hotkey)
This was SVN commit r8377.
2010-10-16 19:57:26 +00:00
86cb0db407 Fix chat input not getting cleared when ESC is pressed
Allow chat messages to be sent internally (bypass chat input box)
Show chat message when the developer console is opened or closed.
(moved dev console back to the right side)

This was SVN commit r8376.
2010-10-16 19:49:48 +00:00
69b2581ff0 Preparation for garrison code
This was SVN commit r8295.
2010-10-06 18:55:46 +00:00
1784c67c8b Changed background icon for total unit count
This was SVN commit r8294.
2010-10-06 05:25:30 +00:00
ca223eeb5b Made multiple unit selection health bar vertical again
Increased unit selection icons to 16
Added total unit count

This was SVN commit r8292.
2010-10-06 04:19:25 +00:00
ff8477c339 Made unit selection icons the same size as the formation icons
This was SVN commit r8291.
2010-10-05 22:44:32 +00:00
eff766d6b9 Made ESC close out open dialogs rather than offer to close the game
Fixed the multiple unit health bar failing to work correctly
Changed multiple selection area to fit layout better.
Organized code

This was SVN commit r8256.
2010-10-03 22:42:15 +00:00
f9b5bd37ca Removed button background from command icons
This was SVN commit r8246.
2010-10-02 23:24:13 +00:00
4afcd057f6 Made lower panel sprites same scale
Adjusted vertical spacing of player and unit names.

This was SVN commit r8239.
2010-10-02 03:24:12 +00:00
8a01e11db7 Health bar shows average for multiple selections
Center panel texture shrunk and dark tile texture is tiled over the
panels better
Command icons reference new sheet

This was SVN commit r8236.
2010-10-01 22:18:03 +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
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
dfa155f6b9 Simplified the main selected unit's icon tooltip
This was SVN commit r8003.
2010-08-19 14:09:00 +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
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
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
d2e6233c44 Fixed HP display issues in GUI
This was SVN commit r7864.
2010-08-07 00:21:17 +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
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