1
1
forked from 0ad/0ad
Commit Graph

4292 Commits

Author SHA1 Message Date
73683b6109 # SwEng
. the massive renaming undertaking: camelCase functions -> PascalCase.
. add some cppdoc.
. minor additional renaming improvements: e.g. GetIsClosed -> IsClosed
. in entity code, replace constructs like "pvec = new vector; return
pvec; use *pvec; delete pvec" with a simple stack variable passed as
output parameter (avoid unnecessary dynamic allocs)
. timer: simpler handling of raw ticks vs normal timer (less #if)

This was SVN commit r5017.
2007-05-02 12:07:08 +00:00
b86ea0a1b5 #Scipio Africanus has made an appearance! ;)
This was SVN commit r5013.
2007-05-01 05:48:07 +00:00
5a427440d0 #SwEng
fpclassify fix
EntityManager: rename getExtant -> GetExtantAsHandles, fix its
implementation+call site to avoid dynamic alloc/auto ptr, rename extant
-> IsExtant
vsnprintf2 -> sys_vsnprintf. remove printf.h (function is declared in
sysdep header)
use SUS/posix-ish strcasecmp instead of defining that to the
windows-only stricmp
add cppdoc for ia32/cpu

This was SVN commit r5011.
2007-04-30 19:58:04 +00:00
Seth
22ede31161 Added program flow diagram into docs folder, to offer a good reminder of the program modules and their interaction
This was SVN commit r5010.
2007-04-30 19:05:01 +00:00
be3f3bdbfb # SwEng / MacOSX compat
further cleanup to sysdep.h: avoid pulling in win and ia32; split header
up into stl, compiler, and the actual sys_* API. (all but the latter are
in PCH).

timer: also avoid dragging in ia32
win: move snprintf fix to posix.h
cpu: simplify reasoning about cores, now given as logicalPerCore (not
package)
vfs_optimizer: fix if archive building is partially disabled

This was SVN commit r5008.
2007-04-30 14:35:19 +00:00
585673201b This was SVN commit r5007. 2007-04-30 04:32:58 +00:00
9d21b350e1 This was SVN commit r5006. 2007-04-30 03:55:49 +00:00
41834c4013 This was SVN commit r5005. 2007-04-30 00:37:42 +00:00
c6649d4d19 Added #if OS_BSD around BSD-specific functions (bsd.cpp).
This was SVN commit r5003.
2007-04-28 16:36:54 +00:00
Seth
3c1bcde78f Replaced
#include <malloc.h>
with
#include <stdlib.h>

Because it caused some build errors on the Mac OS X

This was SVN commit r5002.
2007-04-28 16:23:50 +00:00
pyrolink
684dbbe9ba #Preliminary end game conditions; cinematic and trigger fixes
Cinematic editor is less clumsy.  Forward and backward buttons now move
the camera to the next and previous nodes.

This was SVN commit r5000.
2007-04-27 03:05:26 +00:00
ab22765232 add new source dir (requires rebuilding workspace)
This was SVN commit r4996.
2007-04-25 18:32:07 +00:00
623e649acb # big refactoring in CPU-specific code, fix for dual core vs. HT detection
all cpu-related stuff is now defined in cpu.h (with cpu_ prefix and
fully encapsulated). fix quite brittle core/HT unit/package detection.
implement mkdir on VC8, where it is deprecated
add strdup on MacOSX
move ia32 code into separate subdir. functions implemented in asm are
called ia32_asm_*.
add some unix versions of sysdep functions (cannot test them)
timer: fix for amd64 linux

This was SVN commit r4995.
2007-04-25 18:19:35 +00:00
cf21949640 Fixed a few issues for Linux build:
- Quick change of _mkdir into mkdir (really, this should be done with a
library function, which Jan is working on).
- Moved CJSComplex::GetScript() implementation into its .h file from its
.inl file to avoid some link errors in release build due to inlining.

This was SVN commit r4994.
2007-04-25 03:10:56 +00:00
104118b7e0 (wasn't committed last time. contains changes related to dir_crete)
This was SVN commit r4993.
2007-04-24 21:49:26 +00:00
1cb5b79098 # Linux fixes
Make sure INT64_C is defined (since FFmpeg wants it)

This was SVN commit r4992.
2007-04-24 21:11:43 +00:00
ccf4425f75 # Linux fixes
update-workspaces.sh: Ensure 'gcc' directory exists, to avoid confusing
errors.
extern_libs.lua: Don't use libraries/ (except for cxxtest and fcollada)
on Linux. Changed to native EOL.

This was SVN commit r4991.
2007-04-24 20:41:54 +00:00
e8071fa058 Added fancywater line in config file (but it's false).
This was SVN commit r4990.
2007-04-24 16:29:38 +00:00
9b05bc2187 #Grass for the Temperate biome.
This was SVN commit r4989.
2007-04-24 15:37:45 +00:00
b631b9bbf0 Made the default map be latium_generated, for tutorial.
This was SVN commit r4988.
2007-04-24 15:02:51 +00:00
58aaff1ff2 explain how/where to build premake
This was SVN commit r4987.
2007-04-23 08:34:16 +00:00
665030adcf Fixed some CStrW's in Technology.cpp for Linux compile.
This was SVN commit r4986.
2007-04-23 03:47:33 +00:00
triumvir
21862a79ba Resaved all the maps creating errors because of an outdated format
This was SVN commit r4985.
2007-04-22 22:47:05 +00:00
e8a0626248 # improvements to foundation code
(merged in from thesis project branch)

allocator: remember page-aligned size (prevent resize error)
config, sysdep, lib: add implementation of wcsdup for macosX
path_util: add path_package_copy and cleanup
file: add dir_exists, dir_create uses _mkdir (avoids mode_t param)

This was SVN commit r4984.
2007-04-22 16:43:54 +00:00
853f13bf03 This was SVN commit r4983. 2007-04-22 03:45:49 +00:00
6368342d27 This was SVN commit r4982. 2007-04-22 03:35:02 +00:00
e91605150d This was SVN commit r4981. 2007-04-22 03:33:37 +00:00
1fea26a0e9 # Update to technologies.
Made CTechnology inherit from CJSComplex, so that properties such as
resources can be added dynamically instead of being hardcoded in it.

Also removed some excessive debug output from GUI.

This was SVN commit r4980.
2007-04-22 01:09:50 +00:00
1fc080f556 #Tweak to "dudette" hair color.
This was SVN commit r4979.
2007-04-21 06:21:08 +00:00
fc9eaeaf2b This was SVN commit r4978. 2007-04-21 06:20:36 +00:00
70ba997181 #1 New Hoplite texture and 1 new Pez texture.
This was SVN commit r4977.
2007-04-21 06:20:21 +00:00
6b38836097 This was SVN commit r4976. 2007-04-21 04:55:24 +00:00
526e799847 This was SVN commit r4975. 2007-04-18 05:55:25 +00:00
Lord Zorinthrox
761fbfd7a8 This was SVN commit r4974. 2007-04-07 01:08:52 +00:00
d3382ee8b2 This was SVN commit r4973. 2007-04-02 01:33:16 +00:00
89ff231faa #2 new Greek female textures, new Spartan Dokana shield texture, and various actor changes.
This was SVN commit r4972.
2007-04-01 02:45:46 +00:00
1e396719d8 #Hellenes Techtree Completed. Awaiting implementation.
This was SVN commit r4971.
2007-03-25 04:33:38 +00:00
0f4db02e22 #New texture, actors, and entity for Celt hero Cynvelin. New Roman Triarius texture variation.
This was SVN commit r4970.
2007-03-24 21:11:27 +00:00
4e529b7aca This was SVN commit r4969. 2007-03-24 20:52:25 +00:00
077141cb25 This was SVN commit r4967. 2007-03-22 07:22:43 +00:00
ee4875047b This was SVN commit r4966. 2007-03-22 07:22:22 +00:00
38a5e807ff # Fixed Atlas on Linux
Added call to XInitThreads, for required thread safety.
Fixed conversions between wchar_t and XMLCh strings. (Not tested much
yet.)
Fixed COLLADA too.

This was SVN commit r4964.
2007-03-20 01:06:34 +00:00
b2978c42f6 # Linux fixes
This was SVN commit r4963.
2007-03-19 20:58:46 +00:00
5a92835788 # Minor change to COLLADA support
Prop points must be named "prop-*" to be recognised by the converter.

This was SVN commit r4962.
2007-03-19 16:12:53 +00:00
d2935684ff Collada: Integrated skeleton XML with game. Added some tests. Fixed memory leak when loading ill-formed XML.
Added TestLogger, so tests can check the right log messages were
produced.

This was SVN commit r4960.
2007-03-16 23:32:10 +00:00
a9feadc3ea # Improved COLLADA skeletal animation support.
Moved skeleton definitions into XML format, to support multiple
different structures. (Not quite finished yet.)
Added support for rescaled models in XSI.
Minor refactoring.

This was SVN commit r4959.
2007-03-16 18:00:58 +00:00
29f44d66ed # Bug fix
Fixes problem introduced in 8d0a7170f6, removes workaround from
faf8358b3c

This was SVN commit r4957.
2007-03-16 10:05:05 +00:00
faf8358b3c # Bug fixes
This was SVN commit r4956.
2007-03-16 02:57:51 +00:00
e0f3507ab1 This was SVN commit r4953. 2007-03-13 05:37:29 +00:00
644793e3a9 This was SVN commit r4952. 2007-03-11 04:49:56 +00:00