1
0
forked from 0ad/0ad
Commit Graph

4014 Commits

Author SHA1 Message Date
0caac67fe2 Updated cull camera to include slightly more objects, to reduce glitches with reflections and shadows.
This was SVN commit r4681.
2006-12-06 02:52:14 +00:00
8fa6b12568 # Initial COLLADA support.
Just does static geometry at the moment.

This was SVN commit r4680.
2006-12-06 00:06:05 +00:00
christoph
34d62318f5 new cinematics
This was SVN commit r4679.
2006-12-05 16:09:08 +00:00
184152b8ab (TortoiseSVN doesn't like deleting directories in partial commits...)
This was SVN commit r4677.
2006-12-05 02:39:27 +00:00
2c71c22045 # Added basic video recording.
* Included FFmpeg library for video encoding. (LGPL, dynamically
linked.)
 * Added 'record' button to cinematics - plays the selected track at a
fixed framerate, and saves the output to a video file (preferably
MPEG4). Slightly lacking in reliability and features (fixed at 640x480,
no choice of codec, probably crashes horribly if any problems occur
while encoding, etc).
 * Moved icon bitmaps out of mods directory. Added 'record' icon.

This was SVN commit r4676.
2006-12-05 02:35:00 +00:00
6ed4ad6519 Added a hotkey to toggle rendering of territory outlines. (Currently "T").
This was SVN commit r4675.
2006-12-05 02:08:52 +00:00
371cd06fc4 # Updates to cliffs on Latium.
(Made the top of the cliffs show more easily by adding
half-cliff-half-grass textures there).

This was SVN commit r4674.
2006-12-04 20:09:31 +00:00
ea766c5663 # Made XML writer more robust.
XMLWriter:
 - Added automatic escaping of attribute values, character data and
comments to ensure well-formedness.
 - Removed choice of encoding (it's always UTF-8).
 - Removed option for DOCTYPE / DTD; changed to standalone="yes".
 - Added pretty-print toggle.
 - Fixed bug when calling XML_Text multiple times per element.
 - Added tests.
MapWriter:
 - removed some redundant braces

This was SVN commit r4673.
2006-12-03 17:13:22 +00:00
84dc3f1b3c # Removed DTD from old map XML files
(because it's not used any more)

This was SVN commit r4672.
2006-12-03 13:47:12 +00:00
4b6a2296c4 This was SVN commit r4671. 2006-12-02 17:40:54 +00:00
e6cab9495e Generate documentation for all source (except tools), with more sensible project hierarchy
This was SVN commit r4669.
2006-12-01 20:42:30 +00:00
4d8133f785 # Fixes for MSVC
Use _WIN32/__WXMSW__ instead of OS_WIN.

This was SVN commit r4668.
2006-12-01 20:34:28 +00:00
42803552bf This was SVN commit r4667. 2006-12-01 15:54:32 +00:00
Dnas
9d19c484b2 Texture and actor files for King Philip.
Hopefully I didn't do anything stupid. (Revert and fix and stuff if so,
I guess.)

This was SVN commit r4666.
2006-12-01 00:00:49 +00:00
835003d525 # Fixes for GCC
Renamed 'not' to 'negated', since 'not' is special in C++. Added some
includes, etc.

This was SVN commit r4665.
2006-11-29 23:37:10 +00:00
828c8581ac Fixed beaches on Latium to look right on fancy water too (moved the sand-wet higher up).
This was SVN commit r4664.
2006-11-28 22:46:48 +00:00
086aa6e251 Updated Latium script with more eyecandy (including fixing a bug that was causing straggler trees not to show up).
This was SVN commit r4663.
2006-11-28 22:19:29 +00:00
18c9e53263 Some tweaks to the Latium map and to the lighting on rmgen.
This was SVN commit r4662.
2006-11-28 21:54:21 +00:00
14556e6a30 # Finished Latium random map.
This was SVN commit r4661.
2006-11-28 19:21:42 +00:00
ff736fb72a - Exposed placeTerrain function in rmgen.
- Started on Latium map.

This was SVN commit r4660.
2006-11-28 00:35:39 +00:00
60befbd1cf # Updates to random map generator.
- Added a direct addToClass/removeFromClass API for use in noise-based
maps.
- Raised the sea level in the game world so water can be deeper, and set
it to 0 in script coordinates.
- Moved some class-related utility functions to rmlibrary.js.
- Modified sample maps in light of these changes.
- Committed noise class which I forgot last time.

This was SVN commit r4659.
2006-11-27 00:20:58 +00:00
aa405024f2 should be a macedonian not a greek
This was SVN commit r4658.
2006-11-25 22:00:04 +00:00
f99743cd20 # King Philip's new helmet mesh
This was SVN commit r4657.
2006-11-25 21:35:57 +00:00
4f28e19204 # Began work on sample map using noise.
Also updated cantabrian_generated with better lighting settings.

This was SVN commit r4656.
2006-11-25 18:52:10 +00:00
dd4d63cb68 # Added Perlin Noise functions to random map generator.
This was SVN commit r4654.
2006-11-25 18:32:10 +00:00
c92fc57a50 Added data files for test cases
This was SVN commit r4653.
2006-11-25 13:49:13 +00:00
pyrolink
1fe9c9fbcb I'm an idiot
This was SVN commit r4651.
2006-11-25 05:18:11 +00:00
7a8f5b51ef Added a temp trigger.png icon to make Atlas not warn about it missing.
This was SVN commit r4650.
2006-11-24 21:49:20 +00:00
pyrolink
0d0a767fa2 #Trigger framework, terrain flattening on building placement
This was SVN commit r4648.
2006-11-24 19:45:04 +00:00
e94199bfe5 Fixed sysdep/unix compilation
This was SVN commit r4647.
2006-11-18 18:15:31 +00:00
9d34e32c34 rename DIR_SEP to SYS_DIR_SEP (it being it sysdep.h, where most everything is thus prefixed)
another crack at #159; no longer use SYS_DIR_SEP. reason is that the
self-test uses windows AND unix paths, so both must always work on all
platforms.

This was SVN commit r4646.
2006-11-18 17:48:49 +00:00
3705caae7a Fixed assert vs debug_assert.
Noted that the code won't compile unless SDL was compiled with X11
support (which my copy wasn't).

This was SVN commit r4645.
2006-11-15 10:33:51 +00:00
4dd04f9bea lib/config.h: re #155, define HAVE_PCH on non-windows systems too, if USING_PCH
is defined (defined by the premake scripts)
FileConverter.cpp: Fix wxString-through-valist (for no better reason
than being
annoyed by the warnings...)

This was SVN commit r4643.
2006-11-12 19:55:10 +00:00
35ac7776ee GCC PCH support: closes #155, and decreases build times by a BUNCH!
Changed the default to generating PCH's for all platforms and added a
premake
command line option --without-pch, in case it breaks somewhere (but
AFAIK, Mac's
use recent enough versions of GCC, so it should be fine).

# Added support for precompiled headers into the Linux build system.
Build times are now significantly reduced (up to 50%!)

This was SVN commit r4642.
2006-11-12 19:46:47 +00:00
db045c330b # Made Atlas compile on linux
graphics: basic terrain passibility
atlas: lots of changes to make atlas compile under linux
unix/X: more clipboard support - copy from 0AD to other programs
unix/debug: use sys_get_executable_name instead of hard-coded paths
... and lots of other misc. changes

This was SVN commit r4640.
2006-11-12 04:02:36 +00:00
05c9525fdc update-workspaces.sh: generate atlas makefiles by default
*.lua: some extra libraries and options to make atlas work
premake:
- fixed #156 (creation of spurious dirs with strange permissions)
- implemented the "run" project kind to run the tests automatically
- changed the clean target for cxxtestgen projects to delete the
generated .cpp
files so that a make clean all actually regenerates the tests.

This was SVN commit r4639.
2006-11-12 03:39:40 +00:00
591f1f1232 #Corrected Unit Portraits for Hellenes Units.
This was SVN commit r4638.
2006-11-12 01:42:27 +00:00
7bf195ba0f #Fixed the icon specifications for the Celts
This was SVN commit r4637.
2006-11-12 01:09:44 +00:00
53c2563048 This was SVN commit r4636. 2006-11-12 01:05:57 +00:00
b4cf155040 # fix 2 problems with self-test on linux (lock-free init and path separator test)
fixes #159
fixes #160

lib: add moduleInit helpers (centralizes a bit of code and saves typing;
sorry for the recompile)
path_util: allow '\\' as separator (see rationale there)
lockfree.cpp: use moduleInit, no longer rely on type/value of
pthread_key_t (which was a hack)

This was SVN commit r4635.
2006-11-11 17:46:41 +00:00
2a47d4b2e2 This was SVN commit r4634. 2006-11-10 00:01:37 +00:00
6f48a0cc68 This was SVN commit r4633. 2006-11-09 23:56:18 +00:00
27a72f8816 This was SVN commit r4632. 2006-11-09 23:47:18 +00:00
b3a5240f0c This was SVN commit r4631. 2006-11-09 23:41:42 +00:00
9d9fc6864e This was SVN commit r4630. 2006-11-09 23:33:17 +00:00
ab28241b95 This was SVN commit r4629. 2006-11-09 20:30:55 +00:00
284464b099 This was SVN commit r4628. 2006-11-09 20:30:07 +00:00
bf517216c5 This was SVN commit r4627. 2006-11-09 02:32:29 +00:00
a265a441fd # Fixed string handling for Windows/Linux compatibility.
* vsnprintf2: Made compatible between GCC and MSVC - it now always
null-terminates the buffer, and returns -1 on overflow. Fixes #158.
Added tests.
 * MeshManager: Use shared_ptr.expired() instead of checking for
bad_weak_ptr exception.
 * Xeromyces: Added tests for GetXMBPath, because it does unusual things
in sscanf which MSVC's /analyze complains about.
 * ConfigDB, ScriptGlue: Replaced some asserts with return-on-failure,
to avoid invalid array accesses when continuing after the assert (as
complained about by /analyze).
 * CStr: Removed "using namespace std". Added tests for handling of
invalid UTF-8.

This was SVN commit r4625.
2006-11-07 21:03:13 +00:00
75f2f9fd5f Avoid some warnings on GCC
This was SVN commit r4623.
2006-11-07 13:28:03 +00:00