Commit Graph

2750 Commits

Author SHA1 Message Date
1c0536bf08 # Refactored the networking code, and redesigned the game setup screen.
Major updates to most network classes.
Simplify CNetServer so it doesn't duplicate any client behaviour; all
players now run CNetClient.
Remove most player/slot management from networking code.
Wait for all players to finish loading before starting the simulation.
Remove CGameAttributes; attributes are now just a JS object.
Remove CPlayer; they are now just simulation entities.
Handle player colours via simulation system.
Add a default map for Atlas, so it always has something to load.
Move network documentation to Doxygen.
Remove lots of now-unused code.

This was SVN commit r7653.
2010-06-30 21:41:04 +00:00
303a3ff437 Fix line endings
This was SVN commit r7652.
2010-06-30 21:34:44 +00:00
1f7bb6c1fc Applied new theme (thinWheatWindow)
Added bronze rectangles behind resources
Made queue panel resize if needed

This was SVN commit r7646.
2010-06-29 15:54:53 +00:00
26bdae945b New style: thinWheatWindow
(same as wheatWindow, but thinner borders)

This was SVN commit r7645.
2010-06-29 15:51:11 +00:00
f21f8485e8 Added MAX_SELECTION_SIZE (24) to bandboxed selections
Cleaned up button layout code

This was SVN commit r7644.
2010-06-28 12:30:59 +00:00
21b1f1c965 Cut off panel on right side at 1024 for wide resolutions
Larger selection icons (Max of 16 now instead of 18)

This was SVN commit r7643.
2010-06-28 00:31:24 +00:00
e15f6120b1 Fixed minimap (z-value was making it unclickable)
Made stamina bar visible for player owned units only

This was SVN commit r7642.
2010-06-27 21:45:07 +00:00
08710e4dd6 New GUI design - marble edges instead of bronze edges
Overall layout changes (lower panel is shorter)

Moved presetting of shadows and fancy water into
session.xml from session.js using action on="Load"

This was SVN commit r7640.
2010-06-27 18:45:39 +00:00
a947ab5582 Fixed alignment issue with the left and right sides of the right marble border in the wheatWindowSand sprite
This was SVN commit r7639.
2010-06-27 18:40:44 +00:00
b80a3bece3 This was SVN commit r7638. 2010-06-27 18:28:16 +00:00
786bd5d11a New basic GUI designed roughly off of AoE3 - ALPHA 1
Features:
-Basic menu and settings dialog
-New look for panel
-Multiple unit selections are now visible in GUI

This was SVN commit r7635.
2010-06-26 18:10:03 +00:00
f1d23f203e Clone the current session GUI files
This was SVN commit r7634.
2010-06-26 17:11:04 +00:00
2c160e5bd8 Delete script scheduler, since it causes GC crashes and isn't used for anything important and could be implemented in pure JS instead.
This was SVN commit r7622.
2010-06-07 18:41:03 +00:00
5c9d0c17e2 Change default building placement angle by 45 degrees
This was SVN commit r7621.
2010-06-07 18:14:18 +00:00
d76a2e342b Delete obsolete entity template files
This was SVN commit r7620.
2010-06-07 09:50:44 +00:00
c8edf0e9e2 This was SVN commit r7619. 2010-06-07 02:48:02 +00:00
37798136c2 Actor animation tweaks for Greek archers.
This was SVN commit r7618.
2010-06-07 02:43:09 +00:00
95fd92ad3a This was SVN commit r7616. 2010-06-06 23:43:59 +00:00
965b661e81 This was SVN commit r7615. 2010-06-06 23:42:55 +00:00
f7d50b3f17 Try to fix animation speeds for a couple of units
This was SVN commit r7614.
2010-06-06 20:49:41 +00:00
72f0638a4b Delete obsolete entity template files
This was SVN commit r7613.
2010-06-06 20:38:44 +00:00
23c92b7fe3 Fix actor viewer animation offsetting.
Fix attack animation drifts.

This was SVN commit r7612.
2010-06-05 22:23:28 +00:00
d3048906cb # Unit animation improvements.
Animate props much more sensibly.
Move ammo code out of CUnit.
Move animation logic out of CModel.
Launch projectiles from the correct location.
Use entity's speeds and sounds in actor viewer.
Add -nosound option to disable audio, and allow audio by default in
Atlas.
Remove some obsolete options.

This was SVN commit r7609.
2010-06-05 00:49:14 +00:00
0f611042b1 # Support alt+enter to toggle fullscreen mode. Make game window resizable.
Refactor the video mode setting logic to cope better with dynamic
changes.

This was SVN commit r7606.
2010-06-03 19:07:59 +00:00
23ab6dad38 Make session GUI visible and usable when playtesting from Atlas.
Fix Atlas icon on non-Windows.
Remove some nonexistent-hotkey config.

This was SVN commit r7602.
2010-06-02 00:36:21 +00:00
6de0cdc5f9 Delete old obsolete font builder tool and related files
This was SVN commit r7599.
2010-05-31 19:04:39 +00:00
7af705435f Some custom maps
This was SVN commit r7598.
2010-05-30 21:16:32 +00:00
7dca91f26b # Various changes to the text rendering system.
Rewrite font builder tool to be much simpler and to support more text
effects.
Change GUI to use new set of fonts.
Switch font textures from TGA to PNG so they're easier for the font
builder to create.
Support RGBA font textures (for e.g. stroked text).
Greatly improve text rendering performance by using vertex arrays.
Fix rendering code leaving vertex buffers bound.
Add 'clip' property to GUI text objects, to disable clipping when
rendering.
Delete part of unused console function registration system.

This was SVN commit r7595.
2010-05-30 13:42:56 +00:00
5b9d29729a Windows fixes
This was SVN commit r7592.
2010-05-27 23:51:14 +00:00
e6cab58194 Add map for testing terrain passability and movement costs
This was SVN commit r7591.
2010-05-27 23:32:59 +00:00
11a20e1bcf # Handle terrain passability and movement costs in pathfinder.
Simplify terrain code (remove Handle indirection).
Delete unused terrain properties.

This was SVN commit r7590.
2010-05-27 23:31:03 +00:00
828400d82e # Support floating units in new simulation system.
Fix rendering of underwater lines.
Fix rendering of unit selection outlines in Atlas.
Remove some obsolete hotkeys.

This was SVN commit r7589.
2010-05-27 23:23:53 +00:00
47a03c3397 Replace JS_Enumerate with manual enumeration, to avoid its memory allocations.
Use LookupProperty to avoid having to check for getters.
Add a quicker method of rooting many script values.

This was SVN commit r7579.
2010-05-25 18:24:12 +00:00
5c3a59234c Fix OOS errors when placing buildings.
Allow script components to supply custom serialization objects.

This was SVN commit r7571.
2010-05-22 23:02:07 +00:00
739b25dc22 Fix script error when audio is disabled
This was SVN commit r7567.
2010-05-22 14:29:55 +00:00
ab7c9a9879 Generic ambience
This was SVN commit r7560.
2010-05-21 15:15:34 +00:00
4f13623099 Implementation of basic ambient sounds
This was SVN commit r7559.
2010-05-21 15:13:35 +00:00
6e6ae573e4 Delete old session GUI files.
This was SVN commit r7558.
2010-05-20 20:17:46 +00:00
56bb858802 # Delete a lot of obsolete simulation code.
This was SVN commit r7555.
2010-05-20 18:09:23 +00:00
c684c211a2 # Basic experimental multiplayer integration with new simulation system.
Add new turn manager that should be more correct and potentially more
efficient.
Remove evil CNetServer/CNetClient multiple inheritance of CTurnManager.
Add multiplayer autostart.
Various minor cleanups.

This was SVN commit r7551.
2010-05-20 00:59:01 +00:00
8c1a3f7c8a Protect against missing globals when loading GUI in unusual ways
This was SVN commit r7550.
2010-05-20 00:57:03 +00:00
cdcee291cf Convert all remaining entity template data to new file format.
Add dummy component implementations for new data.
Partly support multiple weapons for a single unit.

This was SVN commit r7547.
2010-05-15 21:07:52 +00:00
91522c6f58 This was SVN commit r7539. 2010-05-12 04:42:32 +00:00
434248167b Fix warnings in tests
This was SVN commit r7535.
2010-05-10 09:52:35 +00:00
ecccf4c0d7 Added <soundgroup> for cavalry steps XML and added Run to infnatry
This was SVN commit r7534.
2010-05-10 00:17:24 +00:00
86d117d623 Introduced a infantry "run" XML file
This was SVN commit r7533.
2010-05-10 00:15:29 +00:00
afe29fdadf Fix errors and inconsistencies in entity template XML files
This was SVN commit r7532.
2010-05-09 21:46:41 +00:00
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
549ff09c8b Added XML for generic animal death and fixed horse death xml
This was SVN commit r7529.
2010-05-09 18:34:40 +00:00
8defd5aaa3 Fix footstep sounds
This was SVN commit r7528.
2010-05-09 14:45:19 +00:00