1
1
forked from 0ad/0ad
Commit Graph

4608 Commits

Author SHA1 Message Date
kai
e595dbc88e pathfinding change: the engine uses Triangulation and A* on triangles now. dcdt package added. premake.lua changed to include the dcdt code. it needs to run update-workspaces.bat (flag -showOverlay will draw the triangulation and a single unit paths)
This was SVN commit r5393.
2007-10-09 07:27:45 +00:00
4b7713fd94 This was SVN commit r5392. 2007-10-08 08:09:50 +00:00
d8d72edc01 This was SVN commit r5391. 2007-10-07 09:40:21 +00:00
7dbc72ba3c minor fix (probably necessary for vc2002/3): only do leak reporting if mmgr.h thinks the debug allocator should be used (since that header is responsible for including the requisite crtdbg.h)
This was SVN commit r5390.
2007-10-06 09:11:15 +00:00
ee0c58dbc2 fixes for the relocated res/file/archive stuff (adjust include paths)
also moved vfs_optimizer into archive directory

This was SVN commit r5389.
2007-10-06 07:45:15 +00:00
62568fda28 archive: make decompressor more robust.
archive_builder: move logic into a Compressor functor. avoid direct
dependency on ZLib
compression: add provision for calculating checksum

Xeromyces: remove no longer needed zlib.h

This was SVN commit r5388.
2007-10-03 11:57:11 +00:00
7421fa79ba move archive-related files to their own directory (res/file was way too cluttered.. vfs will probably also be separated.)
This was SVN commit r5387.
2007-10-03 09:48:45 +00:00
4b481bdd2c avoid "directory already exists" warning.
allow skipping generating the vc2003 or vc2005 projects by creating a
file SKIP_PREMAKE_HERE in that workspace directory

This was SVN commit r5386.
2007-10-03 09:43:00 +00:00
7dab976e34 This was SVN commit r5385. 2007-10-03 08:28:48 +00:00
2fdb618256 This was SVN commit r5384. 2007-10-03 00:26:53 +00:00
40bbcb4f13 This was SVN commit r5383. 2007-10-03 00:26:20 +00:00
be83accf0c This was SVN commit r5382. 2007-10-02 23:58:54 +00:00
8a92304b25 better ARRAY_SIZE macro that refuses to compile when passed a pointer.
this prevents bugs along the lines of the recently reported
StringStripper issue.

This was SVN commit r5381.
2007-10-01 19:12:59 +00:00
89bf2e609a Fix crash bug in CPU detection (used sizeof pointer instead of strlen)
This was SVN commit r5380.
2007-09-29 17:09:13 +00:00
041af89ea2 This was SVN commit r5379. 2007-09-27 01:37:02 +00:00
f74f2b360c This was SVN commit r5378. 2007-09-27 00:24:15 +00:00
eeddee966e This was SVN commit r5377. 2007-09-26 22:48:12 +00:00
ea65a2ad8e Picking up the pieces (part 1)
This was SVN commit r5376.
2007-09-26 05:30:57 +00:00
a8066fe5e2 This was SVN commit r5375. 2007-09-26 05:14:52 +00:00
2f0e6fa521 This was SVN commit r5374. 2007-09-26 00:21:24 +00:00
00b444a7f6 This was SVN commit r5373. 2007-09-25 21:35:01 +00:00
82ef7fe089 cleanup
- malloc+error checking -> new
- better callback parameter name consistency (ctx -> cbData)

file_io: replace another manual malloc+free with shared_ptr
wclipboard: robustify _get as well

This was SVN commit r5372.
2007-09-25 10:43:11 +00:00
f997c03028 add cppdoc documentation for compression
ucsize -> usize etc.

This was SVN commit r5371.
2007-09-25 10:06:02 +00:00
f4adce44bf cleanup:
- callbacks now have a uintptr_t "cbData" parameter (instead of
haphazard void*/uintptr_t, cb/ctx/data)
- resource loading code now more uniformly deals with u8* pointers
instead of void*

allocators: add support for page_aligned_alloc via boost::shared_ptr.
add evil hack to avoid the need for default ctor and ensure alignment in
SingleAllocator
archive: improve Decompressor
compression:
. near complete rewrite (previous code was a poorly factored mess)
. fix bug related to buffer allocation
. no longer provide get_output API (prone to abuse)
. add call to get max. size of output buffer (for preallocation)

This was SVN commit r5370.
2007-09-25 09:39:20 +00:00
11eafe2401 #Elite Persian Asabari
This was SVN commit r5369.
2007-09-25 06:29:21 +00:00
3289d83f51 This was SVN commit r5368. 2007-09-25 04:12:12 +00:00
3f9b020169 hopefully bring linux and MacOS X into line with the newly refactored sysdep interface.
This was SVN commit r5367.
2007-09-23 16:15:46 +00:00
ea791fc6ef add new sysdep linux dir to build (requires rebuilding the workspace)
This was SVN commit r5366.
2007-09-23 16:14:49 +00:00
7a5655edde # major refactoring of system-dependent code (simplifies build system)
cpu.cpp: avoided the need for wrapper functions by calling the
OS-specific function directly (declared in central header, implemented
in the platform's cpp file)

avoid the need for init in cpu and ia32 via if(!init) Init() pattern.

optimized memcpy now requires SSE support

remove error-prone CAS macro; replace with cpu_CAS
config: no longer require inline asm for float->int conversions
lib_error: remove special-case in CHECK_ERR for windows (no longer
needed)

This was SVN commit r5365.
2007-09-23 15:36:29 +00:00
56bd5b59b4 sysdep cleanup:
- factor cursor and clipboard out of sysdep.h
- remove empty sysdep.cpp
- wcpu: remove profiler code (it's in wprofiler.cpp if we ever need it)
- robustify clipboard code
- wsysdep: move code to determine app window into wutil; it's now used
by the clipboard code

This was SVN commit r5364.
2007-09-23 10:15:28 +00:00
b776e58c67 use (newly added) cpu_PageSize instead of sysconf (avoids a critical order dependency on windows)
refactored sysdep code:
- avoid many #if OS_xxx.
- remove bsd.cpp, merge its contents with osx
- move linux-specific parts of unix/ into linux/

This was SVN commit r5363.
2007-09-23 08:05:38 +00:00
56662c817e This was SVN commit r5362. 2007-09-23 04:13:24 +00:00
9e6551a591 This was SVN commit r5361. 2007-09-23 04:13:15 +00:00
74dca35608 This was SVN commit r5360. 2007-09-23 04:12:57 +00:00
caed8b9974 This was SVN commit r5359. 2007-09-19 06:45:13 +00:00
7e62d22d2f This was SVN commit r5358. 2007-09-19 06:44:33 +00:00
ae7d0feea9 This was SVN commit r5357. 2007-09-19 06:34:38 +00:00
dfec68cf4d This was SVN commit r5356. 2007-09-17 05:40:40 +00:00
99108990eb This was SVN commit r5355. 2007-09-17 04:11:11 +00:00
ccf060c22f This was SVN commit r5354. 2007-09-17 00:54:43 +00:00
bce08cb154 This was SVN commit r5353. 2007-09-17 00:36:54 +00:00
b37842b9f0 This was SVN commit r5352. 2007-09-16 20:39:22 +00:00
a1b2d7bbcd This was SVN commit r5350. 2007-09-16 20:26:34 +00:00
4db553f9e3 This was SVN commit r5349. 2007-09-16 20:24:39 +00:00
ea878fddc6 Field footprint size reduced.
This was SVN commit r5348.
2007-09-16 20:03:37 +00:00
576a0aa421 # Made units that build a field start auto-gathering it. Also updated field foundation.
This was SVN commit r5347.
2007-09-16 20:01:57 +00:00
Alexander
8bc57c24ba Field size
This was SVN commit r5346.
2007-09-16 19:58:52 +00:00
21444c9b49 This was SVN commit r5345. 2007-09-16 19:50:16 +00:00
25e55c1657 # Fixed XML bug in field entity.
This was SVN commit r5344.
2007-09-16 19:15:16 +00:00
ef8a16a150 This was SVN commit r5343. 2007-09-16 18:58:55 +00:00