1
0
forked from 0ad/0ad
Commit Graph

273 Commits

Author SHA1 Message Date
74ad38fa95 better interface (constants for event handler return value, instead of "what does it do again" bool)
This was SVN commit r597.
2004-06-24 14:05:39 +00:00
ce8f5d3520 described a way to make the TSC work on SMP systems, but not gonna tackle it for now (too little benefit).
also added a bugfix from someone whom i sent the source (hrt_origin now
correct after switching timer)

This was SVN commit r596.
2004-06-24 14:04:30 +00:00
2b7491d159 improvement to timer_res, allows multiple calls
This was SVN commit r595.
2004-06-24 00:41:29 +00:00
cc02e9ea97 more abstraction in VFS<->dir watch interface (thinking of using dazuko and/or FAM)
This was SVN commit r594.
2004-06-23 16:29:03 +00:00
ca4558d48d fix hExitEvent double-free
This was SVN commit r592.
2004-06-23 14:49:14 +00:00
da7d60e3ec fixed HT detect (thanks to philip for testing)
This was SVN commit r590.
2004-06-23 13:45:50 +00:00
d633fd201d add code to check if system is SMP (needed for wtime; not trivial, since hyperthreading may be in play)
This was SVN commit r588.
2004-06-22 17:20:38 +00:00
d5424bcb41 fixed check for monotony (was a no-op); added resolution check (previously guessed 1ms)
This was SVN commit r586.
2004-06-22 16:05:44 +00:00
fd701dc5d9 more L4 warnings stomped
This was SVN commit r585.
2004-06-22 13:22:46 +00:00
fc476e04f6 stomped on numerous warnings
This was SVN commit r584.
2004-06-21 16:29:47 +00:00
fa0741c5f6 increase buffer size; cleaned up basic type lookup routine
This was SVN commit r583.
2004-06-21 14:23:36 +00:00
0d4f9b8a00 add on_each_cpu comments
This was SVN commit r582.
2004-06-21 14:22:33 +00:00
55f7411ba9 improved thread start code
This was SVN commit r581.
2004-06-21 14:22:07 +00:00
d231baccef use ia32_cap() instead of direct access to cap var
This was SVN commit r580.
2004-06-21 14:19:43 +00:00
8c8a692025 added feature bit for SpeedStep; intel added another reg to the CPUID definition, so changed the feature flag ("cap") interface - no more direct access
This was SVN commit r579.
2004-06-21 14:17:48 +00:00
250c46ee9e add __ to variables declared in macros for safety
This was SVN commit r578.
2004-06-21 14:16:10 +00:00
9d13d607ab SDL_Delay, SDL_APPACTIVE event
This was SVN commit r576.
2004-06-21 13:59:58 +00:00
24f0756712 bail if #chars = 0 (avoid BC warning); fix debug messages
This was SVN commit r574.
2004-06-21 12:49:37 +00:00
6891ca6e1f improve timer detection logic and document time-source disable macros
This was SVN commit r571.
2004-06-19 22:53:14 +00:00
62f3945116 use EnumDisplaySettingsA instead of unicode version, which seems to cause a memory overrun
This was SVN commit r570.
2004-06-19 22:51:54 +00:00
c01eb01dfb Linux fixedness
This was SVN commit r567.
2004-06-19 21:13:10 +00:00
aed6d949d5 new #included
This was SVN commit r566.
2004-06-19 21:12:39 +00:00
ccd32180ec fixed header name
This was SVN commit r562.
2004-06-19 14:57:29 +00:00
ed17ed9fb4 debug functions (superassert with stack trace)
This was SVN commit r561.
2004-06-19 14:54:25 +00:00
a9864a5e66 add some code for detecting hyperthread systems (needed for timer). incomplete
This was SVN commit r559.
2004-06-19 14:46:44 +00:00
2299573567 now catches bad_alloc exceptions thrown during reloads (=> no need to wrap new in exception handler there)
This was SVN commit r558.
2004-06-19 14:45:46 +00:00
0eeca662cc split stuff out into cpu, os, gfx interfaces
This was SVN commit r557.
2004-06-19 14:45:04 +00:00
1e47f64630 add log2
This was SVN commit r556.
2004-06-19 14:43:31 +00:00
a27224db69 split out of wdetect; added some code for hyperthreading support (incomplete)
This was SVN commit r553.
2004-06-19 14:36:59 +00:00
f761c91c73 no change
This was SVN commit r552.
2004-06-19 14:31:43 +00:00
3c11f6e5d6 split into os, cpu, and gfx parts
This was SVN commit r551.
2004-06-19 14:30:55 +00:00
fa7d4991d6 move SDL headers to sysdep/win (only used by wsdl)
This was SVN commit r550.
2004-06-19 14:29:40 +00:00
5da9ecd1b0 move SDL headers to sysdep/win (only used by wsdl)
This was SVN commit r546.
2004-06-19 12:21:05 +00:00
d181ccf97e Hopefully now working in gcc *and* MSVC
This was SVN commit r542.
2004-06-18 19:14:42 +00:00
32b6627645 Miscellaneous gcc fixes
This was SVN commit r541.
2004-06-18 18:56:10 +00:00
3b6ad836e2 Minor header adjustments
This was SVN commit r536.
2004-06-18 18:34:04 +00:00
38bfabeb38 fixed goto problem with gcc - was jumping over an (unused) var decl
This was SVN commit r535.
2004-06-18 14:59:50 +00:00
a2fdd3e190 renamed some vars for clarity
This was SVN commit r533.
2004-06-18 13:34:37 +00:00
941f7c3661 bullet-proofing - fail if reloading VDir
This was SVN commit r531.
2004-06-18 13:32:33 +00:00
3c6becec37 was thinking about documenting the whole lib design goals/rationale, added a few notes.
This was SVN commit r530.
2004-06-18 13:24:59 +00:00
b09211c4a3 remove *tot - non-portable and inefficient. replaced with stringstream
This was SVN commit r529.
2004-06-18 13:22:26 +00:00
8347bebebc Spelling corrction
This was SVN commit r524.
2004-06-16 16:29:38 +00:00
f149e007e1 Unicode fonts
This was SVN commit r520.
2004-06-16 15:36:49 +00:00
358f43205a Allow texture format override, so that the 8-bit GL_ALPHA fonts can work
This was SVN commit r519.
2004-06-16 15:35:05 +00:00
d4423850ef Leak-detect malloc/etc too
This was SVN commit r518.
2004-06-15 21:27:12 +00:00
0d7f2501f9 Enable memory leak detection
This was SVN commit r517.
2004-06-15 21:08:51 +00:00
ea68626ec1 Remove new new (Xerces doesn't like it)
This was SVN commit r516.
2004-06-15 21:08:05 +00:00
136182e8bc oglPrintError now outputs to debug output window
This was SVN commit r512.
2004-06-15 02:43:56 +00:00
952ec353fb fix overflow problem if timer res is low; cleaned up in general; use RingBuf for averaging
This was SVN commit r508.
2004-06-14 13:29:23 +00:00
7fb1f4892e adapted ringbug operator[] for timer's needs
This was SVN commit r507.
2004-06-14 13:27:33 +00:00
e1997e6b31 added a few comments
This was SVN commit r506.
2004-06-14 12:59:15 +00:00
70b53d90ef Avoid problems when get_time() frequently returns the same value twice
This was SVN commit r503.
2004-06-13 19:48:04 +00:00
e61f416e0d Changes to make the numpad minus (and other keys) be recognised in KEYDOWN correctly
This was SVN commit r502.
2004-06-13 19:42:48 +00:00
ade1ee19cc re-enable exceptions (wasn't necessary to strip them)
This was SVN commit r501.
2004-06-13 19:41:42 +00:00
0fb2ec31fc fix LONG_PTR VC6 error reported by stuart
This was SVN commit r499.
2004-06-13 19:23:37 +00:00
ed23cb7cc1 hopefully bulletproof is_subpath
This was SVN commit r497.
2004-06-13 19:13:32 +00:00
da1e6df5f0 uhoh, yet another problem. quick fix so others aren't impacted; investigating
This was SVN commit r496.
2004-06-13 17:15:38 +00:00
3893d1597d fixed loophole in mount path handling (cannot now mount parent dir of a previous mounting)
This was SVN commit r495.
2004-06-13 16:58:22 +00:00
f1713bbca0 improved mount logic; added comments
This was SVN commit r491.
2004-06-13 16:12:54 +00:00
475d4ed509 snazzy new module init/shutdown hook mechanism
This was SVN commit r490.
2004-06-13 16:06:23 +00:00
0cce0ea5bc handles details of delay loading and implements the helper function (=> extra lib no longer needed)
This was SVN commit r489.
2004-06-13 16:05:38 +00:00
7975657f0b variable name change for clarity
This was SVN commit r488.
2004-06-13 16:04:11 +00:00
641ad1e382 moved fmod shutdown here from main - this module is responsible for that.
This was SVN commit r485.
2004-06-13 15:32:34 +00:00
f9625ecd00 make possible DLL CRT (declare CRT funcs as _CRTIMP)
This was SVN commit r481.
2004-06-11 17:55:24 +00:00
15ca5cbf21 newline stomper and fixed warnings
This was SVN commit r473.
2004-06-11 02:14:18 +00:00
MarkT
e4fe4ed602 JS Interface to entities. It even partially works now.
This was SVN commit r469.
2004-06-10 22:24:03 +00:00
a06bff04b6 Added VK_CONTROL/_ALT/_MENU mappings onto SDLK_LCTRL/etc (I can't find an non-positional SDL CTRL key)
This was SVN commit r467.
2004-06-10 09:57:03 +00:00
a30a82469e some toe-stepping that evidently resulted in two prot variables :P
This was SVN commit r465.
2004-06-09 22:38:37 +00:00
5a59c28e95 now includes wglext for "proper" definition of win-specific funcs
This was SVN commit r463.
2004-06-09 17:59:01 +00:00
0997ca4c19 added xerces headers (speeds up build a bit)
This was SVN commit r462.
2004-06-09 17:56:28 +00:00
bb1a9bad7d fail file_map requests for empty files (avoids bc warning)
This was SVN commit r460.
2004-06-09 16:10:23 +00:00
25d2a41c64 glprintf: ignore empty strings (avoids bc warning)
This was SVN commit r459.
2004-06-09 16:09:07 +00:00
a0a9276b21 not freeing dll after manual import; allows delay load
This was SVN commit r458.
2004-06-09 15:52:15 +00:00
f197601cbb clean up test delayload hook. very tricky - automagically calls WSAStartup on first sockets call
This was SVN commit r457.
2004-06-09 15:50:38 +00:00
1c5c3da703 some fixes to coexist with windows.h, if included from win-specific code (i.e. wsdl)
This was SVN commit r456.
2004-06-09 15:48:47 +00:00
0409f4d9d3 support for delay loading
This was SVN commit r455.
2004-06-09 15:45:47 +00:00
40b2cbcba3 fix bc warnings (RDC params)
This was SVN commit r454.
2004-06-09 15:45:15 +00:00
69fb0064b4 remove winmm dependency (timeSetEvent -> thread)
This was SVN commit r453.
2004-06-09 15:44:44 +00:00
131573f7c4 fix boundschecker warning (was resetting gamma ramp after shutdown)
This was SVN commit r452.
2004-06-09 15:43:59 +00:00
a6246b9045 read_le16/32 can't be inline in source and extern in header - gcc won't export them
This was SVN commit r450.
2004-06-09 14:11:35 +00:00
ca523e9f3c GCC compat (init skipped by goto)
This was SVN commit r442.
2004-06-09 13:49:32 +00:00
5d440712f2 GCC compat
This was SVN commit r441.
2004-06-09 13:48:49 +00:00
d022ac51f8 _WIN32 ifdefs around wglext.h include
This was SVN commit r440.
2004-06-09 13:46:39 +00:00
d455ac90ef Linux/unix debug macros
This was SVN commit r439.
2004-06-09 13:46:06 +00:00
5b8d980809 Fixed path_validate debug statement
This was SVN commit r438.
2004-06-09 13:44:12 +00:00
8002f5fe6e str[n]icmp => str[n]casecmp on non-windows
This was SVN commit r437.
2004-06-09 13:43:25 +00:00
770845d823 investigating delay loading; mess
This was SVN commit r431.
2004-06-08 20:37:15 +00:00
921463e55a added timestamp to measure startup time
This was SVN commit r430.
2004-06-08 20:36:17 +00:00
3c220be8ef added getcwd
This was SVN commit r429.
2004-06-08 20:35:46 +00:00
53425fa4b5 implementation complete, hopefully :P
This was SVN commit r427.
2004-06-08 15:22:40 +00:00
825289242a added vfs_get_path (bad name) - returns the VFS path to a given real dir
(used by res.cpp to translate paths from WFAM)

This was SVN commit r426.
2004-06-08 15:21:42 +00:00
d7dbf08bc2 auto-reload finished (last remaining problem: translating OS paths to VFS)
This was SVN commit r425.
2004-06-08 15:18:01 +00:00
78fa30be94 export path conversion function for res.cpp interaction with FAM
This was SVN commit r424.
2004-06-08 15:16:50 +00:00
8d52add5ea ran newline stomper; no real changes
This was SVN commit r423.
2004-06-08 12:10:51 +00:00
f9ad314f5a fix empty-statement warning (i.e. comment out - that spot isn't implemented yet)
This was SVN commit r407.
2004-06-07 00:04:37 +00:00
815e177beb now responsible for watching mountings for changes via FAM
This was SVN commit r406.
2004-06-07 00:04:02 +00:00
092fa131ff more faithfully emulating the real FAM now (keeping track of watches by request number). not finished
This was SVN commit r404.
2004-06-06 23:58:52 +00:00
916ddc8c02 fixed ICC warning about func decl
This was SVN commit r403.
2004-06-06 23:58:03 +00:00
2dcb0d8056 more header fixes
This was SVN commit r401.
2004-06-04 17:47:12 +00:00
7b9e881039 initial code using FAM API. unfinished; one problem remaining is how to convert absolute paths to their VFS equivalent
This was SVN commit r400.
2004-06-04 17:44:56 +00:00