1
1
forked from 0ad/0ad
Commit Graph

4591 Commits

Author SHA1 Message Date
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
e732631a68 # Fixed a bug with hitpoints remaining at 0 while a building was built, and an initialization issue that prevented fields from being gatherable.
This was SVN commit r5342.
2007-09-16 17:43:38 +00:00
4e298e47cc This was SVN commit r5341. 2007-09-15 05:53:33 +00:00
97db341a96 This was SVN commit r5340. 2007-09-15 04:56:53 +00:00
69eb23d133 This was SVN commit r5339. 2007-09-15 04:56:26 +00:00
a2c607d2d4 updated version with fixed bibliography
This was SVN commit r5338.
2007-09-08 16:05:52 +00:00
3f58951808 arg parsing code: wasn't properly handling "
This was SVN commit r5337.
2007-09-08 08:37:30 +00:00
5383eff15c implement the previously mentioned cmdline params
qpc: refactor IsSafe

This was SVN commit r5336.
2007-09-08 08:09:32 +00:00
87b0d08c0e new command line parameters:
- disable mahaf and thus all physical memory mapping or direct port IO
- promise that TSC-based QPC is safe on this system

This was SVN commit r5335.
2007-09-08 08:07:43 +00:00
f7e21ce054 This was SVN commit r5334. 2007-09-08 05:17:23 +00:00
f039e1ce76 fix error path for acpi/mahaf failures (attempt#2)
prevent using mahaf if it's going to fail anyway
module_init: add ModuleIsError (allows acpi and mahaf init routines to
pass failure notification on to their second and later callers)

counter: safer memory management

This was SVN commit r5333.
2007-09-07 20:17:57 +00:00
b853a47c8e This was SVN commit r5332. 2007-09-07 04:39:52 +00:00
9877d70b58 This was SVN commit r5331. 2007-09-07 04:35:02 +00:00
b208f3e6e9 This was SVN commit r5330. 2007-09-07 04:34:27 +00:00
94456a218a # bugfix for ACPI init on Win2k
mahaf: add API to check whether physical memory mapping ought to work
acpi: no longer consider itself initialized if the above is not true
(fixes undue warning in PMT and possibly HPET about invalid ACPI table
on Win2k)

cpu: remove redundant include

This was SVN commit r5329.
2007-09-05 21:29:33 +00:00
ebd7446d8a Fixed Altas/wxJS for Windows.
This was SVN commit r5328.
2007-09-04 20:04:43 +00:00
de1812becb Rewrote Atlas's terrain preview panel to not use wxListCtrl, so it's more controllable and cross-platform
This was SVN commit r5326.
2007-09-03 23:51:48 +00:00
14f6843419 Alt+enter to toggle fullscreen mode in Atlas
This was SVN commit r5325.
2007-09-03 23:50:25 +00:00