1
0
forked from 0ad/0ad
Commit Graph

4175 Commits

Author SHA1 Message Date
173c56140c # Fixed skeletal animation algorithm.
* Skinning is done in a way that works when there's more than one bone
influencing a vertex.
 * PMDs now store vertexes in world-space instead of bind-space. (The
loader converts the old-version PMDs so they still work.)
 * Moved SkinPoint, SkinNormal into CModelDef so it could use them when
loading the old PMDs.
 * Made the FastNormals approach non-optional, so the inverse-transpose
bone matrices could be removed. Changed the explanation of why it's a
valid approach.
 * Quaternion: Made GetInverse assume that the quaternions have unit
length (which they do when they're representing 3D rotations).
 * lib: Added support for DDS files that aren't a multiple of 4x4 (most
useful for 1x1, 2x2, etc that are still powers of two).
 * Actor Viewer: Added white terrain texture to the minimal test mod, so
shadows are visible. Changed default so walk/run animations don't move
the unit along the ground.
 * Removed some redundant repetition in doc comments.
 * Removed some unnecessary #includes.

This was SVN commit r4696.
2006-12-15 16:09:30 +00:00
arissa_nightblade
fc97a81743 This was SVN commit r4695. 2006-12-15 03:31:43 +00:00
arissa_nightblade
bfac9b3e47 This was SVN commit r4694. 2006-12-14 05:51:19 +00:00
arissa_nightblade
966d63107a # Implemented initial building resource costs.
Added wood and stone costs to all the structures.

This was SVN commit r4693.
2006-12-14 05:43:23 +00:00
913a4f7784 For consistency, changed traits.extant from an attribute to a stand-alone tag.
This was SVN commit r4692.
2006-12-13 05:34:47 +00:00
5d8bef5f6e Semi-broken skeletally-animated model COLLADA->PMD converter.
This was SVN commit r4691.
2006-12-12 02:11:24 +00:00
207d54e825 # Added command-line launching of mods.
Run with "-mod=official" for the default behaviour (same as specifying
nothing), and with "-mod=official -mod=antigravity -mod=starwars" to
load multiple mods (with the later-mentioned ones having a higher
priority than the earlier ones).
Added "_test.minimal" mod which can be used instead of "official" - it
provides just enough for the actor viewer to run, plus one unit skin.
Added test script for the COLLADA converter, which converts the models
and creates some actors in a "_test.collada" mod. Then the actor viewer
can be run with _test.minimal + _test.collada, to see if it's working
correctly.

This was SVN commit r4690.
2006-12-09 15:47:12 +00:00
cbafd43eea # Changed handling of command-line arguments.
* Added CmdLineArgs, which does the parsing then lets various pieces of
code check for whatever arguments they want.
 * Made Atlas exit out of main() cleanly, instead of calling exit()
itself.
 * Disabled the global exception-catching in unit tests, via a
entry_noSEH, so it doesn't make debugging harder.
 * Added nice printing of CStr in unit test failure messages, and added
comparison of vector vs constant array.

This was SVN commit r4688.
2006-12-09 14:39:52 +00:00
0e1eb62687 Undid my previous attempt to increase cull frustum, since it degraded shadow quality.
This was SVN commit r4686.
2006-12-09 02:30:19 +00:00
1480c57446 Linux compatibility in test converter. Fixed O(n^2) bottleneck.
This was SVN commit r4684.
2006-12-06 17:42:07 +00:00
da266ebcb8 GCC compatibility for COLLADA converter
This was SVN commit r4683.
2006-12-06 17:39:49 +00:00
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