Ykkrosh
a18aa24fe3
Windows support for window resizing and fullscreen toggling.
...
Windows build fixes.
This was SVN commit r7607.
2010-06-03 21:15:45 +00:00
Ykkrosh
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
Ykkrosh
310f3466a8
# Hotloading of actor XML files.
...
Stop ignoring actor XML animation speeds.
Add decentralised registration of hotloaders.
Move player ID storage into CModel, to simplify CUnit.
Remove obsolete unit ID allocation code.
Remove some material junk.
This was SVN commit r7605.
2010-06-03 01:29:43 +00:00
Ykkrosh
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
Ykkrosh
ffe9241cd3
Stop warning about missing config files.
...
Use newer logger interface in config code.
This was SVN commit r7601.
2010-05-31 23:01:42 +00:00
Ykkrosh
65cf204423
Display warnings and errors on screen for a short time ( fixes #119 ).
...
Add warn(), error() functions for simulation scripts.
This was SVN commit r7600.
2010-05-31 22:44:59 +00:00
Ykkrosh
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
Ykkrosh
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
Ykkrosh
42bcb175ff
Add test for network simulation message serialization.
...
Fix network simulation message serialization.
This was SVN commit r7586.
2010-05-25 20:48:06 +00:00
Ykkrosh
1e40c8c776
MSVC warning fixes
...
This was SVN commit r7583.
2010-05-25 19:12:00 +00:00
Ykkrosh
6fdb947ff0
Convert CCmpTemplateManager to use ASCII strings internally, to save memory and serialisation cost.
...
This was SVN commit r7577.
2010-05-25 18:17:12 +00:00
Ykkrosh
94e5d88169
# Add out-of-sync multiplayer checks.
...
Change CStr8 serialization to allow \0 in strings.
This was SVN commit r7565.
2010-05-22 14:05:56 +00:00
Ykkrosh
56bb858802
# Delete a lot of obsolete simulation code.
...
This was SVN commit r7555.
2010-05-20 18:09:23 +00:00
Ykkrosh
a78e6dbe26
# Delete a lot of obsolete networking code.
...
Remove the -sim1 flag since it no longer works.
This was SVN commit r7554.
2010-05-20 17:58:37 +00:00
Ykkrosh
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
Ykkrosh
78ccac427d
Remove -fixedframe mode since it doesn't work at all
...
This was SVN commit r7549.
2010-05-20 00:55:02 +00:00
Ykkrosh
4a4bc50ff8
Fix non-PCH compiles
...
This was SVN commit r7537.
2010-05-11 13:24:25 +00:00
Ykkrosh
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
Ykkrosh
4981af4a57
OS X build/warning/test fixes
...
This was SVN commit r7512.
2010-05-07 20:55:23 +00:00
Ykkrosh
93c30810c8
Fix tests. Tidy up some old files.
...
This was SVN commit r7507.
2010-05-07 16:32:33 +00:00
Ykkrosh
40f2cfd809
Skip component script tests when the mods/public/ directory is unavailable (see #490 ).
...
Report errors ealier when test data directories are missing.
This was SVN commit r7506.
2010-05-07 15:59:23 +00:00
Ykkrosh
fe53bce3b1
Rewrite the clone-object-between-JS-contexts code (for GUI<->simulation interface) to be more efficient.
...
Delete unnecessary unused incomplete profiler scripting support.
Clean up some JSAPI code to use newer features.
Display simulation script functions in the profiler.
This was SVN commit r7503.
2010-05-05 22:36:35 +00:00
Ykkrosh
3238cd8bc0
Fix assertion failure when using console.
...
Fix console breaking GL cursor position.
This was SVN commit r7502.
2010-05-03 22:09:18 +00:00
Ykkrosh
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
janwas
3972134de9
minor fixes
...
This was SVN commit r7494.
2010-05-01 18:43:05 +00:00
Ykkrosh
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
Ykkrosh
8d08a15edb
Hide cursor when taking big screenshots
...
This was SVN commit r7488.
2010-05-01 09:45:27 +00:00
Ykkrosh
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
Ykkrosh
5daac34ef9
Support startup scripts in map files, for testing.
...
Support CDATA sections when writing XML.
This was SVN commit r7483.
2010-04-29 23:22:18 +00:00
Ykkrosh
0547757a30
Make CUnit::GetModel return a reference so it's clear it can never be NULL.
...
This was SVN commit r7464.
2010-04-17 11:44:08 +00:00
Ykkrosh
3117f52d7c
# Automatic runtime validation of entity template files.
...
Fixes #413 .
This was SVN commit r7455.
2010-04-14 17:22:32 +00:00
Ykkrosh
40688ec5df
# Initial support for automatic validation of entity template XML.
...
Add RelaxNG schemas for all current components.
Add -dumpSchema command-line option to dump the combined entity schema.
Add a Perl script to validate entity templates against the schema.
See #413 .
This was SVN commit r7452.
2010-04-09 19:02:39 +00:00
Ykkrosh
0d6882dad2
# Fix the actor viewer in Atlas.
...
Delete the old standalone actor viewer.
Import some terrain textures that are useful for tools.
Fixes #483 .
This was SVN commit r7428.
2010-04-03 11:07:42 +00:00
Ykkrosh
13302cc133
Disable visible warnings when gamma-setting fails. Fixes #480 .
...
This was SVN commit r7410.
2010-03-28 18:33:35 +00:00
Ykkrosh
53744640ec
Fix non-PCH builds
...
This was SVN commit r7409.
2010-03-28 18:21:48 +00:00
Ykkrosh
49eb176b25
Fix MSVC compiler warnings (replace most M_PI with (float)M_PI)
...
This was SVN commit r7404.
2010-03-26 19:04:40 +00:00
Ykkrosh
ccbc8d534a
Show DRI S3TC message on all platforms that probably use Mesa. See #313 .
...
This was SVN commit r7402.
2010-03-26 17:22:13 +00:00
Ykkrosh
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
Ykkrosh
248749c1aa
Fix console history loading
...
This was SVN commit r7383.
2010-03-20 22:01:39 +00:00
janwas
a8b3cc4812
add both the (potentially) read-only data from SVN and the appdata path to the config/ search path
...
(fixes #450 )
This was SVN commit r7382.
2010-03-20 21:37:14 +00:00
Ykkrosh
bf444a8aa1
Load libraries from rpath=$ORIGIN instead of from cwd. Fixes #288
...
This was SVN commit r7381.
2010-03-20 20:55:54 +00:00
janwas
0bbb99c3cd
move M_PI etc. to wposix.h to ensure they're always present on Windows (previously required MathUtil.h)
...
use M_PI instead of nonstandard PI
This was SVN commit r7380.
2010-03-20 20:54:03 +00:00
janwas
4059826759
when mounting a mod, don't attempt to create the directories (it's reasonable to assume the mod must exist, there is no value in creating a dummy mod directory - unlike the screenshots/logs etc. mounts)
...
this fixes write errors because mods/internal doesn't exist in public
SVN checkouts and the default mount logic tries to mount internal anyway
(and now just fails that operation silently)
fixes #458
This was SVN commit r7375.
2010-03-20 18:12:48 +00:00
janwas
73f67a2272
set crashlog location as soon as it is known to avoid writing to the default location (system/binaries), which might not be writable.
...
fixes #403
This was SVN commit r7373.
2010-03-20 17:20:23 +00:00
Ykkrosh
06928f7694
# Basic bandbox selection of units in new simulation system
...
This was SVN commit r7349.
2010-03-11 20:01:16 +00:00
janwas
a7484933e7
wchar.h -> utf8.h (see previous change)
...
This was SVN commit r7341.
2010-03-01 14:55:34 +00:00
olsner
5bb14c7a59
Misc. unity fixes (missing includes, undefs, and other things that could be considered generic cleanup)
...
This was SVN commit r7328.
2010-02-18 00:06:50 +00:00
olsner
02253f82f0
Add/rename header guards
...
This was SVN commit r7326.
2010-02-17 23:21:49 +00:00
Ykkrosh
02ffe82ab7
Optimised pathfinder, particularly to avoid slow MSVC debug STL.
...
Added rough pathfinder test system.
MapReader: support loading maps into a minimal non-graphical environment
(for tests).
This was SVN commit r7317.
2010-02-08 22:05:05 +00:00
Ykkrosh
d609a9f81c
# Basic animation support in new simulation system.
...
Movement speed.
Improved accuracy of walking.
This was SVN commit r7313.
2010-02-07 20:06:16 +00:00