Commit Graph

4861 Commits

Author SHA1 Message Date
f5890de017 part5: update build system to reflect new directories in the source tree.
workspace needs to be updated.

This was SVN commit r5520.
2007-12-20 20:22:01 +00:00
e2eb5b2610 part4: adapt codebase to changes in lib/
mostly straightforward except for CVSFile / Filesystem. moved the former
into the newly created latter component. removed VFSUtil entirely (that
functionality is available from lib/file/file_system_util.h)

Xeromyces.cpp: simplify buffer handling since smart pointers are now in
play. also use WriteBuffer instead of membuffer.

This was SVN commit r5519.
2007-12-20 20:21:45 +00:00
63086f4e26 part3: now functional file loading code (not entirely finalized)
(too many changes to list..)

moved tex_* files to lib/tex
archive builder and hotloading modules are disabled.\

This was SVN commit r5518.
2007-12-20 20:14:21 +00:00
2e5d9452aa part2: misc source/lib fixes/improvements
move all except user-specified config choices out of config.h and into
appropriate headers
CPU_IA32 -> ARCH_IA32
wsdl: disable use of ddraw (will soon be replaced by WMI)

use shared_ptr without namespace qualifier (it's in tr1)
debug_warn -> debug_assert(0)
LIB_API to allow building as DLL
smart pointers: reduce use of .get()
cache_adt: use map instead of hash_map (avoids needing a hashCompare
class). also remove spurious warning
code_annotation.h: better cassert implementation
move FPS measuring portion of timer.cpp into frequency_filter
move include of memory headers into mmgr.h (to avoid errors, we must
ensure they are included if mmgr is used)
posix_filesystem.h: move definition of mkdir to wfilesystem
stl: disable iterator checks in release mode
wmi: fix COM init bug, use smart pointers
wutil: add code to get DLL module handle (if compiled as such), add
WinScopedLock
timer: fix handling of raw ticks

This was SVN commit r5517.
2007-12-20 20:09:19 +00:00
03543147b7 part1a: misc fixes
TerrainOverlay: fix warnings
PathfindEngine.cpp: correct float type, mark as noncopyable
TriggerManager: explicitly construct as CStrW

This was SVN commit r5516.
2007-12-20 19:57:41 +00:00
541de496e3 part1: misc fixes
se_dcdt: reduce warning spew a bit
TerrainOverlay: fix warnings
PathfindEngine.cpp: correct float type, mark as noncopyable
TriggerManager: explicitly construct as CStrW

This was SVN commit r5515.
2007-12-20 19:56:01 +00:00
2e06511556 This was SVN commit r5513. 2007-12-15 00:53:55 +00:00
b00ac7e5b5 fix to ia32_Generation (unfortunately, things are not as simple as querying the CPU family).
this hopefully fixes lag problems michael is seeing because rdtsc is
being used on his 7-th gen athlon (which was falsely reported as 6th gen
by the old version of this code)

This was SVN commit r5510.
2007-12-10 21:32:38 +00:00
23cae00e9e This was SVN commit r5509. 2007-12-09 17:08:14 +00:00
ef64bf7f47 This was SVN commit r5508. 2007-12-09 03:50:24 +00:00
e4e53c14b5 This was SVN commit r5507. 2007-12-09 02:34:35 +00:00
3fb783aebb This was SVN commit r5506. 2007-12-05 13:35:01 +00:00
46c94bd395 This was SVN commit r5502. 2007-12-02 13:11:51 +00:00
be9be07996 This was SVN commit r5501. 2007-12-02 12:25:21 +00:00
Aeros
92db4a3bc5 This was SVN commit r5500. 2007-12-02 01:33:05 +00:00
75ab906315 WIP file code, getting pretty close to functional
archive: ArchiveEntry now a mememto and not exposed directly
typedefs for boost::shared_ptr
fixed up dir_util to new interface
add "FileProvider" that does Load/Store and indicates Precedence

vfs: structure has changed. one RealDirectory per OS dir; vfs_tree
stores it; populate uses it to Add() stuff to vfs_tree; lookup does path
traversal and calls populate

This was SVN commit r5499.
2007-12-01 18:32:43 +00:00
ea96aa6b89 bucket: remove size optimization that causes warnings
path_util: add path_IsDirectory and path_split
wdbg_sym.cpp: bugfix for non-IA32 codepath

This was SVN commit r5498.
2007-12-01 18:23:28 +00:00
f304a4debe Enable overlays other than the pathfinding one when the pathfinding one is hidden.
This was SVN commit r5496.
2007-12-01 18:05:46 +00:00
c984d8a107 This was SVN commit r5495. 2007-12-01 17:25:02 +00:00
Aeros
81b418db7d This was SVN commit r5493. 2007-11-28 19:42:55 +00:00
30b580fcc8 This was SVN commit r5491. 2007-11-28 04:38:14 +00:00
49ec9ced57 This was SVN commit r5490. 2007-11-27 15:43:22 +00:00
f840d91f4c This was SVN commit r5489. 2007-11-26 07:52:10 +00:00
e6ddc67fd0 This was SVN commit r5488. 2007-11-26 07:36:05 +00:00
f7eb3ef742 This was SVN commit r5487. 2007-11-26 06:57:52 +00:00
a50805f1ec This was SVN commit r5481. 2007-11-22 18:52:45 +00:00
c8de106e37 This was SVN commit r5479. 2007-11-21 08:50:44 +00:00
d2c711cbb7 This was SVN commit r5478. 2007-11-21 03:40:58 +00:00
4c7ed41cfc This was SVN commit r5477. 2007-11-21 03:38:17 +00:00
df37463768 #More faces, yay!
This was SVN commit r5476.
2007-11-21 02:21:01 +00:00
317f98a6c0 WIP of new file code
archive: pretty much done except for trace and archive_builder
IO: io_manager still needs to be fixed/revised (especially WRT buffer
and alignment management)
posix: done
vfs: need to complete vfs_mount and tie it in to vfs.cpp
dir_util: needs further revisions (VFS interface changed since then)

This was SVN commit r5475.
2007-11-20 18:51:07 +00:00
d19a2cba65 include boost smart pointers from PCH
factor out the "atom_fn" mechanism into lib/allocators/string_pool.cpp
factor out FAT date/time handling into lib/fat_time.cpp
path_util: replace strcpy with SAFE_STRCPY; add additional functions
that avoid passing an output buffer via StringPool

This was SVN commit r5474.
2007-11-20 18:44:36 +00:00
6e7cab5a64 This was SVN commit r5473. 2007-11-20 08:06:20 +00:00
b0585c7c61 This was SVN commit r5472. 2007-11-20 07:09:29 +00:00
d0273ea2b9 This was SVN commit r5464. 2007-11-19 08:04:48 +00:00
207d1367ec # A number of network synchronization fixes.
- The server will no longer send a new turn until the previous one has
been "acknowledged". (TODO: this may create lag between turns in its
current form; investigate and possibly allow executing two turns while
the third is being negotiated).
- Mutexes are now being used in NetServer and NetClient to ensure
commands go into the right batches.
- Commented out some orders in the GUI code that should not be there and
are not 100% working anyway (they were part of the follow/formation
system).
- Units that spawn or are created by scripts now have net-safe position
and orientation.
- Added a debug flag that can be turned on to print details about when
commands are received and executed (DEBUG_SYNCHRONIZATION). This is
especially useful if you diff the stdouts of two running games. There
should be no differences if everything is in synch.

This was SVN commit r5463.
2007-11-18 09:09:06 +00:00
d2e1c38860 This was SVN commit r5462. 2007-11-15 08:58:21 +00:00
3348aa890b This was SVN commit r5461. 2007-11-15 08:54:01 +00:00
0968995003 This was SVN commit r5460. 2007-11-15 08:30:27 +00:00
263a142511 This was SVN commit r5459. 2007-11-15 08:18:52 +00:00
ac1e844e31 This was SVN commit r5458. 2007-11-15 00:04:45 +00:00
247965033d This was SVN commit r5457. 2007-11-14 08:03:24 +00:00
643f1e8266 This was SVN commit r5456. 2007-11-14 08:03:00 +00:00
567b3b7c1c This was SVN commit r5455. 2007-11-14 07:03:09 +00:00
62dcbdb604 This was SVN commit r5454. 2007-11-14 06:59:34 +00:00
ce8b9d7390 This was SVN commit r5453. 2007-11-14 06:59:17 +00:00
de2872a474 This was SVN commit r5452. 2007-11-12 01:51:56 +00:00
e3d8592fa2 current version of archive interface (for review purposes)
This was SVN commit r5451.
2007-11-10 19:39:26 +00:00
0636b65228 mem: update comment
renderer, WaterManager: remove unnecessary header

This was SVN commit r5450.
2007-11-10 18:45:17 +00:00
c057dd8f10 wdir_watch.cpp: change header
wgfx: robustify gfx_get_video_mode
wfilesystem: update comments
wsnd: update comments to reflect use of readdir, not layer on top
remove test_allocators (has been replaced by tests/ in lib/allocators)

This was SVN commit r5449.
2007-11-10 17:59:47 +00:00