1
0
forked from 0ad/0ad
Commit Graph

14 Commits

Author SHA1 Message Date
67e253544d Fixed ScEd loading/saving
This was SVN commit r3176.
2005-11-26 23:12:32 +00:00
20d038efda profiling indicates memcpy is a bottleneck, so globally replace all of them with memcpy2 (hand-optimized). depending on transfer size, this is 10%..300% faster. also made memcpy2 into a macro instead of thunk function because vc7 was still generating a jump.
This was SVN commit r3057.
2005-10-30 16:19:20 +00:00
953d2621dd timer: improved timer_add_client - no longer has fixed-size storage. btw, name will change here - not happy with SUM_TIMER.
GUI/input code: moved g_active, g_keys etc. into ps/Globals; it has its
own input handler as well

all users of fopen(): add file_make_full_native_path to get correct path
even though current dir = system/

This was SVN commit r2954.
2005-10-16 23:16:08 +00:00
4aa740bff5 - split up lib/res into file, graphics and sound.
- wposix.cpp: initial support for MEM_RESERVE and MEM_COMMIT semantics
in mmap
- cstr: removed no longer necessary serialization header
- xmlutils: wrap new() calls in nommgr/mmgr; allows tracking other
allocs in this file.
- add u64_from_u32
- various minor comments/improvements.

This was SVN commit r2604.
2005-08-12 17:06:53 +00:00
a04abf2967 Fail more quietly while loading
This was SVN commit r2565.
2005-07-30 20:12:41 +00:00
94f89e130b Let ScEd open maps with non-VFS filenames. Probably stopped leaking memory.
This was SVN commit r1588.
2004-12-28 16:17:17 +00:00
b259381fbf 1) minor error handling improvements (was passing back invalid handle error, instead of the cause; also added a CHECK_ERR)
2) we attempt to load missing files (see bug #32). with the fix above,
CHECK_ERR would fire every run (which it should until the problem is
fixed :P), which is annoying.
Instead, FileUnpacker now checks if the file exists; if not, it throws
immediately and thereby bypasses the VFS error mechanism.

This was SVN commit r1503.
2004-12-15 14:24:12 +00:00
77196dbe06 less dependencies on res/res.h in headers (a bad thing) => less recompiles when I change vfs.h :)
This was SVN commit r1467.
2004-12-07 02:04:38 +00:00
92ade065c3 vector<char> magic changed into a nicer std::string constructor (heap corruption induced paranoia =] )
This was SVN commit r1178.
2004-09-21 14:33:13 +00:00
ea9bd61195 now correctly set m_UnpackPos
This was SVN commit r1169.
2004-09-19 19:22:18 +00:00
69e9f3ef79 now stores its data in buffer, rather than copying to std::vector
This was SVN commit r1168.
2004-09-19 18:51:19 +00:00
436e45daee now uses vfs_load.
This was SVN commit r970.
2004-08-11 20:18:49 +00:00
c7a84e84be added precompiled.h everywhere
This was SVN commit r392.
2004-06-03 18:38:14 +00:00
notpete
7468989b4f Moved from "Terrain" directory to somewhere more applicable.
This was SVN commit r298.
2004-05-29 20:48:08 +00:00