Commit graph

511 commits

Author SHA1 Message Date
janwas
9aed44a91f more+nicer comments + some cleanup
This was SVN commit r824.
2004-07-28 08:31:13 +00:00
olsner
386900c0fc Linux/GCC Compat
This was SVN commit r819.
2004-07-27 00:26:51 +00:00
Ykkrosh
d6a68ad232 Fixed headers for non-PCH, again
This was SVN commit r818.
2004-07-25 11:30:05 +00:00
Ykkrosh
c8514b7d28 OpenGL cursor (for non-Windows)
This was SVN commit r817.
2004-07-24 19:38:12 +00:00
Ykkrosh
fe1bee706b Fixed loads of /W4 warnings, because it's easier than doing anything useful. Added some asserts to check potentially dangerous assumptions, implemented a few missing bits of code, adjusted some comments, etc.
This was SVN commit r814.
2004-07-24 14:04:40 +00:00
Ykkrosh
3f7797b762 Prototype support for using 32-bit textures as cursors on Windows
This was SVN commit r813.
2004-07-23 19:07:18 +00:00
MarkT
6d8b9e33ef Minor additions: Added hotkeys to GUI buttons, camera bookmarking (not sure if this system will stay), shoring up some JS error checking, moved a bunch of constants into the config file and added a new rotation mode.
This was SVN commit r804.
2004-07-22 16:18:12 +00:00
Ykkrosh
5ea728fd28 Don't bother looking for memory leaks in 'testing' builds
This was SVN commit r803.
2004-07-22 13:25:01 +00:00
MarkT
f02eab8aba Added configurable hotkey-cooker
This was SVN commit r795.
2004-07-21 16:34:07 +00:00
Ykkrosh
1343de75d8 Added a function to enable excessively slow memory debugging, for detecting heap corruption close to where it happens.
This was SVN commit r792.
2004-07-21 12:28:23 +00:00
MarkT
194fdf9b4b Unit selection and ordering, setTimeout, scheduler, fixed timestep code, various fixes and reinforcement of the JS<->Native code.
This was SVN commit r783.
2004-07-20 19:30:35 +00:00
Ykkrosh
1f942c2784 VC2005 fix
This was SVN commit r780.
2004-07-20 17:19:30 +00:00
Ykkrosh
4fa5aabfcf VC2005 fix
This was SVN commit r779.
2004-07-20 11:08:47 +00:00
Ykkrosh
b61b1e805c Better error handling! Wow!
This was SVN commit r778.
2004-07-19 19:05:34 +00:00
Ykkrosh
464dfd7ee5 Allow access to GL extension list
This was SVN commit r777.
2004-07-19 19:04:17 +00:00
Ykkrosh
1e40ed1543 More attempted error handling
This was SVN commit r769.
2004-07-17 17:09:33 +00:00
kezz
1d44976b35 removing sound.cpp and sound.h as not needed at the moment due to switch to OpenAL
This was SVN commit r768.
2004-07-17 16:23:14 +00:00
Ykkrosh
8684287360 Linux fixes
This was SVN commit r763.
2004-07-15 19:59:27 +00:00
Ykkrosh
82de48832e MICROLOG function for high-speed logging of everything that happened just before a crash
This was SVN commit r761.
2004-07-15 19:29:56 +00:00
Ykkrosh
af9cf31691 Working crash log
This was SVN commit r760.
2004-07-15 19:12:54 +00:00
Ykkrosh
f2cc629ca9 Exception classes to allow hierarchical catching and to work reasonably nicely with the crash log
This was SVN commit r759.
2004-07-15 19:10:33 +00:00
Ykkrosh
3da6540b49 Output BOM and correct line endings in crashlog.txt
This was SVN commit r758.
2004-07-15 09:52:59 +00:00
janwas
b284b47a06 add crash log (call stack and minidump)
This was SVN commit r757.
2004-07-15 02:39:25 +00:00
olsner
114b4242d9 UNIX: X Clipboard handling and a Text-Mode assertion dialog (with debugger launcher)
This was SVN commit r754.
2004-07-14 12:24:18 +00:00
janwas
050a9a465d moved assert2 here, since it's now portable
This was SVN commit r751.
2004-07-14 03:06:15 +00:00
janwas
a3926fb382 renamed assert function to debug_assert_failed (now portable, in sysdep)
This was SVN commit r750.
2004-07-14 03:05:26 +00:00
Ykkrosh
977693c7db GUI text renderer
This was SVN commit r745.
2004-07-13 22:48:53 +00:00
janwas
1a1cce9b18 better handling of complex types, but still buggy.
safer output and some cleanup

This was SVN commit r742.
2004-07-13 21:22:53 +00:00
janwas
25a24729ac add win32 clipboard implementation (wchar_t)
This was SVN commit r741.
2004-07-13 21:17:59 +00:00
janwas
81b1c6a5ea add portable clipboard routines (wchar_t)
This was SVN commit r740.
2004-07-13 21:17:26 +00:00
janwas
950db27b2c fix take-address-of-temporary bug
This was SVN commit r739.
2004-07-13 21:13:10 +00:00
janwas
21e685b1f6 fix refcount (now initialized to 1)
This was SVN commit r738.
2004-07-13 21:12:46 +00:00
olsner
aa9c6e7d30 Created a Unix sysdep/ folder, and implemented a unix debug_break function
This was SVN commit r735.
2004-07-12 22:05:49 +00:00
Ykkrosh
dccdd0c747 Allow font unloading
This was SVN commit r734.
2004-07-12 20:08:34 +00:00
janwas
89d47437b4 add debug_break and assert2
This was SVN commit r729.
2004-07-12 16:48:10 +00:00
janwas
7a199f8f16 add debug_break impl
This was SVN commit r728.
2004-07-12 16:40:57 +00:00
janwas
af58165890 hooked up exception handler; a bit of cleanup
This was SVN commit r727.
2004-07-12 16:38:48 +00:00
janwas
bed0e644c4 now mostly last-error-neutral (helps spot warnings+errors)
This was SVN commit r721.
2004-07-12 14:25:39 +00:00
janwas
ac997087ea manually import getaddrinfo et al by "hooking" those calls
This was SVN commit r720.
2004-07-12 14:24:26 +00:00
janwas
c27c765121 tiny comment and debug string change
This was SVN commit r719.
2004-07-12 14:22:17 +00:00
janwas
afd7f721d4 no change
This was SVN commit r718.
2004-07-12 14:21:13 +00:00
janwas
7ef2514ca7 removed NV_VAR stuff (it's obsolete and non-portable)
This was SVN commit r717.
2004-07-12 14:20:33 +00:00
olsner
14aa03f3b0 Linux/GCC compat: wchar_t size fix for glCallLists
This was SVN commit r714.
2004-07-11 20:29:34 +00:00
Ykkrosh
7bef7160ca gcc warning fixes
This was SVN commit r702.
2004-07-11 12:49:44 +00:00
Ykkrosh
8364a7fffe Non-gcc fixes
This was SVN commit r698.
2004-07-10 22:05:33 +00:00
Ykkrosh
901d44d2a6 More SDL_ACTIVEEVENT
This was SVN commit r697.
2004-07-10 21:50:35 +00:00
olsner
1001aeacf5 Linux/GCC compat, headers and such
This was SVN commit r695.
2004-07-10 21:25:35 +00:00
Ykkrosh
4769a92894 Added newline at end
This was SVN commit r689.
2004-07-10 20:28:18 +00:00
Ykkrosh
c00e774089 Removed crc32 code - use zlib's instead
This was SVN commit r687.
2004-07-10 20:24:33 +00:00
janwas
d5197e3c77 revised mount logic; now stores the mount point and uses it to correctly convert from VFS to native paths
This was SVN commit r675.
2004-07-09 19:58:43 +00:00
janwas
af58e59633 pass FILE_NO_AIO at open instead of calling uncached_* (which ended up duplicating code)
This was SVN commit r674.
2004-07-09 19:57:59 +00:00
janwas
dc5e5dd774 PNG and BMP "encode" now operational
This was SVN commit r672.
2004-07-09 02:18:59 +00:00
janwas
41d8db6f81 add vfs_exists, uncached_io, and change IO interface to value-return buffer param (void**)
This was SVN commit r671.
2004-07-09 02:17:37 +00:00
janwas
306053c994 bring read interface into line with vfs_io (value-return buffer param)
This was SVN commit r670.
2004-07-09 02:14:21 +00:00
janwas
8306c53492 increase control block size to "plenty" until things settle
This was SVN commit r669.
2004-07-09 02:13:09 +00:00
janwas
bad0b0629d add lseek (needed for uncached_io)
This was SVN commit r667.
2004-07-09 00:17:55 +00:00
Ykkrosh
a8f48ff7e0 XMB
This was SVN commit r665.
2004-07-08 15:22:09 +00:00
janwas
92f14cd90a move hInst = GetModuleHandle to wsdl_init, to make sure it's done before anything else
This was SVN commit r664.
2004-07-08 15:16:31 +00:00
janwas
c33bcfd03d add keyboard hook to intercept printscreen and windows keys
This was SVN commit r662.
2004-07-08 15:11:42 +00:00
janwas
226fd70292 now open files in binary mode on windows (thanks to philip for catching this)
This was SVN commit r661.
2004-07-08 15:10:26 +00:00
janwas
a779ef8595 common interface to texture format codecs; work started on encoders (to write textures)
This was SVN commit r658.
2004-07-08 14:40:24 +00:00
janwas
b7a05fd50b fix iterator invalidation bug triggered by multiple mount points; add vfs_uncached_io()
This was SVN commit r657.
2004-07-08 14:38:58 +00:00
janwas
875d78d10b reqnum = int; complain if watch failed
This was SVN commit r655.
2004-07-08 14:33:58 +00:00
janwas
0c05abb304 fixes for write code and new uncached_write routine (bypass cache, no file padding problem)
This was SVN commit r654.
2004-07-08 14:30:35 +00:00
janwas
3d7b76c140 add read/write prototypes (file.cpp wasn't including a windows header that defined them elsewhere)
This was SVN commit r653.
2004-07-08 14:24:17 +00:00
janwas
b07360ccf7 reqnum uint->int, to allow error return
This was SVN commit r652.
2004-07-08 14:22:10 +00:00
janwas
5c96e991eb cleanup; more last-error neutral; fix start_io for file writes
This was SVN commit r651.
2004-07-08 14:21:14 +00:00
Ykkrosh
602b706481 Non-PCH header fix
This was SVN commit r649.
2004-07-07 19:40:20 +00:00
janwas
bfafb8fce4 add to some comments
also removed redundant VFS file open flags

This was SVN commit r633.
2004-07-05 02:33:47 +00:00
janwas
7bb375ac69 completed support for writing files (hopefully). now adds them to the VFS tree.
also removed VFS file open flags, used file.h flags instead

This was SVN commit r632.
2004-07-05 02:32:43 +00:00
janwas
680d5dd7b4 revisions to file open flag comments. btw, these are now also used by VFS
This was SVN commit r631.
2004-07-05 02:31:32 +00:00
janwas
e9a7876e0d slight changes to open / stat interface to bring in line with SUS (and therefore POSIX, i hope)
also pass in pmode

This was SVN commit r630.
2004-07-05 02:30:53 +00:00
janwas
66e202afa5 S_* flags in sys/stat are wrong! spent quite a while searching for this problem. disassembly reports S_IWRITE is 0x80, header says 0x100.
fixes aio_open warning tossed when file was created by file_open

This was SVN commit r629.
2004-07-05 02:29:21 +00:00
janwas
1f9ac488cd open wrapper: fixes file sharing bug, now passes in O_CREAT mode
This was SVN commit r628.
2004-07-05 02:27:51 +00:00
janwas
e22f6b120a revised aio_open (now: aio_reopen) interface; now closer to open(), so that pmode can be passed
This was SVN commit r627.
2004-07-05 02:26:55 +00:00
janwas
85b0e120af fixed file sharing + open mode bug
This was SVN commit r626.
2004-07-05 02:26:04 +00:00
janwas
b137e965f3 nice new timeSinceLastFrame filter, stable yet responsive. useful for interpolating stuff and of course for FPS.
FPS update code is a hack/unfinished, but it's not important right now.

This was SVN commit r619.
2004-07-02 03:04:55 +00:00
janwas
fd6a4d6aed no change, fixed conflict with local version (i have the debug new stuff commented out, because it conflicts with BC)
This was SVN commit r618.
2004-07-02 03:02:40 +00:00
janwas
d467b1a944 fixed resolution calculation for GetTickCount (previously assumed uniform updates)
This was SVN commit r617.
2004-07-01 13:28:07 +00:00
janwas
64444251d4 fixed bug (missing else) reported by philip. thanks!
This was SVN commit r615.
2004-06-30 18:47:15 +00:00
Ykkrosh
5f6e9f3819 Slightly nicer control of debugging memory allocators
This was SVN commit r614.
2004-06-30 16:06:05 +00:00
janwas
6a85b4a331 some more comments and cleanup
This was SVN commit r612.
2004-06-30 14:31:19 +00:00
Ykkrosh
12170cabeb Headers for non-PCH
This was SVN commit r611.
2004-06-28 15:34:10 +00:00
janwas
02f509feb7 fixed timer jump issue when timer implementation changes at runtime; now calculates time more accurately
This was SVN commit r609.
2004-06-27 01:45:47 +00:00
janwas
bbad6a4d6a fix order of detect calls (TSC wasn't getting selected in wtime due to not-yet-set cpu_smp)
This was SVN commit r608.
2004-06-27 01:42:55 +00:00
janwas
70b7f4249f fixed sneaky iterator bug: when ring buffer full, begin() was equal to end()
This was SVN commit r607.
2004-06-27 01:42:17 +00:00
janwas
ddd7821425 res reload callback interface change: now also receives handle of object being reloaded. simplifies tex reload code
This was SVN commit r602.
2004-06-25 22:19:19 +00:00
janwas
766a0b4077 split tex code into (file format specific) loaders and opengl texture ops like upload()
This was SVN commit r601.
2004-06-25 22:18:03 +00:00
janwas
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
janwas
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
janwas
2b7491d159 improvement to timer_res, allows multiple calls
This was SVN commit r595.
2004-06-24 00:41:29 +00:00
janwas
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
janwas
ca4558d48d fix hExitEvent double-free
This was SVN commit r592.
2004-06-23 14:49:14 +00:00
janwas
da7d60e3ec fixed HT detect (thanks to philip for testing)
This was SVN commit r590.
2004-06-23 13:45:50 +00:00
janwas
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
janwas
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
janwas
fd701dc5d9 more L4 warnings stomped
This was SVN commit r585.
2004-06-22 13:22:46 +00:00
janwas
fc476e04f6 stomped on numerous warnings
This was SVN commit r584.
2004-06-21 16:29:47 +00:00
janwas
fa0741c5f6 increase buffer size; cleaned up basic type lookup routine
This was SVN commit r583.
2004-06-21 14:23:36 +00:00
janwas
0d4f9b8a00 add on_each_cpu comments
This was SVN commit r582.
2004-06-21 14:22:33 +00:00
janwas
55f7411ba9 improved thread start code
This was SVN commit r581.
2004-06-21 14:22:07 +00:00
janwas
d231baccef use ia32_cap() instead of direct access to cap var
This was SVN commit r580.
2004-06-21 14:19:43 +00:00
janwas
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
janwas
250c46ee9e add __ to variables declared in macros for safety
This was SVN commit r578.
2004-06-21 14:16:10 +00:00
janwas
9d13d607ab SDL_Delay, SDL_APPACTIVE event
This was SVN commit r576.
2004-06-21 13:59:58 +00:00
janwas
24f0756712 bail if #chars = 0 (avoid BC warning); fix debug messages
This was SVN commit r574.
2004-06-21 12:49:37 +00:00
janwas
6891ca6e1f improve timer detection logic and document time-source disable macros
This was SVN commit r571.
2004-06-19 22:53:14 +00:00
janwas
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
Ykkrosh
c01eb01dfb Linux fixedness
This was SVN commit r567.
2004-06-19 21:13:10 +00:00
Ykkrosh
aed6d949d5 new #included
This was SVN commit r566.
2004-06-19 21:12:39 +00:00
janwas
ccd32180ec fixed header name
This was SVN commit r562.
2004-06-19 14:57:29 +00:00
janwas
ed17ed9fb4 debug functions (superassert with stack trace)
This was SVN commit r561.
2004-06-19 14:54:25 +00:00
janwas
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
janwas
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
janwas
0eeca662cc split stuff out into cpu, os, gfx interfaces
This was SVN commit r557.
2004-06-19 14:45:04 +00:00
janwas
1e47f64630 add log2
This was SVN commit r556.
2004-06-19 14:43:31 +00:00
janwas
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
janwas
f761c91c73 no change
This was SVN commit r552.
2004-06-19 14:31:43 +00:00
janwas
3c11f6e5d6 split into os, cpu, and gfx parts
This was SVN commit r551.
2004-06-19 14:30:55 +00:00
janwas
fa7d4991d6 move SDL headers to sysdep/win (only used by wsdl)
This was SVN commit r550.
2004-06-19 14:29:40 +00:00
janwas
5da9ecd1b0 move SDL headers to sysdep/win (only used by wsdl)
This was SVN commit r546.
2004-06-19 12:21:05 +00:00
Ykkrosh
d181ccf97e Hopefully now working in gcc *and* MSVC
This was SVN commit r542.
2004-06-18 19:14:42 +00:00
Ykkrosh
32b6627645 Miscellaneous gcc fixes
This was SVN commit r541.
2004-06-18 18:56:10 +00:00
Ykkrosh
3b6ad836e2 Minor header adjustments
This was SVN commit r536.
2004-06-18 18:34:04 +00:00
janwas
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
janwas
a2fdd3e190 renamed some vars for clarity
This was SVN commit r533.
2004-06-18 13:34:37 +00:00
janwas
941f7c3661 bullet-proofing - fail if reloading VDir
This was SVN commit r531.
2004-06-18 13:32:33 +00:00
janwas
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
janwas
b09211c4a3 remove *tot - non-portable and inefficient. replaced with stringstream
This was SVN commit r529.
2004-06-18 13:22:26 +00:00
Ykkrosh
8347bebebc Spelling corrction
This was SVN commit r524.
2004-06-16 16:29:38 +00:00
Ykkrosh
f149e007e1 Unicode fonts
This was SVN commit r520.
2004-06-16 15:36:49 +00:00
Ykkrosh
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
Ykkrosh
d4423850ef Leak-detect malloc/etc too
This was SVN commit r518.
2004-06-15 21:27:12 +00:00
Ykkrosh
0d7f2501f9 Enable memory leak detection
This was SVN commit r517.
2004-06-15 21:08:51 +00:00
Ykkrosh
ea68626ec1 Remove new new (Xerces doesn't like it)
This was SVN commit r516.
2004-06-15 21:08:05 +00:00
janwas
136182e8bc oglPrintError now outputs to debug output window
This was SVN commit r512.
2004-06-15 02:43:56 +00:00
janwas
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
janwas
7fb1f4892e adapted ringbug operator[] for timer's needs
This was SVN commit r507.
2004-06-14 13:27:33 +00:00
janwas
e1997e6b31 added a few comments
This was SVN commit r506.
2004-06-14 12:59:15 +00:00
Ykkrosh
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
Ykkrosh
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
janwas
ade1ee19cc re-enable exceptions (wasn't necessary to strip them)
This was SVN commit r501.
2004-06-13 19:41:42 +00:00
janwas
0fb2ec31fc fix LONG_PTR VC6 error reported by stuart
This was SVN commit r499.
2004-06-13 19:23:37 +00:00
janwas
ed23cb7cc1 hopefully bulletproof is_subpath
This was SVN commit r497.
2004-06-13 19:13:32 +00:00
janwas
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
janwas
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
janwas
f1713bbca0 improved mount logic; added comments
This was SVN commit r491.
2004-06-13 16:12:54 +00:00
janwas
475d4ed509 snazzy new module init/shutdown hook mechanism
This was SVN commit r490.
2004-06-13 16:06:23 +00:00
janwas
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
janwas
7975657f0b variable name change for clarity
This was SVN commit r488.
2004-06-13 16:04:11 +00:00
janwas
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
janwas
f9625ecd00 make possible DLL CRT (declare CRT funcs as _CRTIMP)
This was SVN commit r481.
2004-06-11 17:55:24 +00:00
janwas
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
Ykkrosh
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
olsner
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
janwas
5a59c28e95 now includes wglext for "proper" definition of win-specific funcs
This was SVN commit r463.
2004-06-09 17:59:01 +00:00
janwas
0997ca4c19 added xerces headers (speeds up build a bit)
This was SVN commit r462.
2004-06-09 17:56:28 +00:00
janwas
bb1a9bad7d fail file_map requests for empty files (avoids bc warning)
This was SVN commit r460.
2004-06-09 16:10:23 +00:00
janwas
25d2a41c64 glprintf: ignore empty strings (avoids bc warning)
This was SVN commit r459.
2004-06-09 16:09:07 +00:00
janwas
a0a9276b21 not freeing dll after manual import; allows delay load
This was SVN commit r458.
2004-06-09 15:52:15 +00:00
janwas
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
janwas
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
janwas
0409f4d9d3 support for delay loading
This was SVN commit r455.
2004-06-09 15:45:47 +00:00
janwas
40b2cbcba3 fix bc warnings (RDC params)
This was SVN commit r454.
2004-06-09 15:45:15 +00:00
janwas
69fb0064b4 remove winmm dependency (timeSetEvent -> thread)
This was SVN commit r453.
2004-06-09 15:44:44 +00:00
janwas
131573f7c4 fix boundschecker warning (was resetting gamma ramp after shutdown)
This was SVN commit r452.
2004-06-09 15:43:59 +00:00
olsner
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
olsner
ca523e9f3c GCC compat (init skipped by goto)
This was SVN commit r442.
2004-06-09 13:49:32 +00:00
olsner
5d440712f2 GCC compat
This was SVN commit r441.
2004-06-09 13:48:49 +00:00
olsner
d022ac51f8 _WIN32 ifdefs around wglext.h include
This was SVN commit r440.
2004-06-09 13:46:39 +00:00
olsner
d455ac90ef Linux/unix debug macros
This was SVN commit r439.
2004-06-09 13:46:06 +00:00
olsner
5b8d980809 Fixed path_validate debug statement
This was SVN commit r438.
2004-06-09 13:44:12 +00:00
olsner
8002f5fe6e str[n]icmp => str[n]casecmp on non-windows
This was SVN commit r437.
2004-06-09 13:43:25 +00:00
janwas
770845d823 investigating delay loading; mess
This was SVN commit r431.
2004-06-08 20:37:15 +00:00
janwas
921463e55a added timestamp to measure startup time
This was SVN commit r430.
2004-06-08 20:36:17 +00:00
janwas
3c220be8ef added getcwd
This was SVN commit r429.
2004-06-08 20:35:46 +00:00
janwas
53425fa4b5 implementation complete, hopefully :P
This was SVN commit r427.
2004-06-08 15:22:40 +00:00
janwas
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
janwas
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
janwas
78fa30be94 export path conversion function for res.cpp interaction with FAM
This was SVN commit r424.
2004-06-08 15:16:50 +00:00
janwas
8d52add5ea ran newline stomper; no real changes
This was SVN commit r423.
2004-06-08 12:10:51 +00:00
janwas
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
janwas
815e177beb now responsible for watching mountings for changes via FAM
This was SVN commit r406.
2004-06-07 00:04:02 +00:00
janwas
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
janwas
916ddc8c02 fixed ICC warning about func decl
This was SVN commit r403.
2004-06-06 23:58:03 +00:00
janwas
2dcb0d8056 more header fixes
This was SVN commit r401.
2004-06-04 17:47:12 +00:00
janwas
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
janwas
0ca334ed39 now emulates FAM API so other code can use one interface. implemented but untested.
This was SVN commit r399.
2004-06-04 17:44:17 +00:00
janwas
9dcd2a0c12 re-enabled HAVE_PCH (disabled for testing - oops)
This was SVN commit r397.
2004-06-04 16:06:31 +00:00
janwas
0dc6007fbd (re)added headers so it'll work without HAVE_PCH
This was SVN commit r396.
2004-06-04 12:41:53 +00:00
janwas
df4b9df830 fixed reference to since removed hrt.h
This was SVN commit r393.
2004-06-03 18:46:21 +00:00
janwas
c7a84e84be added precompiled.h everywhere
This was SVN commit r392.
2004-06-03 18:38:14 +00:00
janwas
5747fe33b0 new: windows-specific opengl header (included by ogl.h)
This was SVN commit r391.
2004-06-03 18:37:07 +00:00
janwas
8e6e179187 cleanup
This was SVN commit r390.
2004-06-03 18:36:48 +00:00
janwas
520e2a1ff6 rename hrt -> wtime; emulate POSIX routine with HRT (simplifies timer code)
This was SVN commit r389.
2004-06-03 18:36:35 +00:00
janwas
c15300446e fix stupid mmap bug reported by simon
This was SVN commit r387.
2004-06-03 14:20:09 +00:00
janwas
0b3d0c9e5c small interface changes to bring in line with vfs and file
This was SVN commit r386.
2004-06-03 13:57:36 +00:00
janwas
cb75497412 documentation! w00t
This was SVN commit r385.
2004-06-03 13:57:00 +00:00
janwas
d9b1daf2e4 restored fminf
This was SVN commit r384.
2004-06-03 13:35:39 +00:00
MarkT
d32be2011f Pathfinding tweaks; coldet fixes.
This was SVN commit r379.
2004-06-03 02:20:48 +00:00
janwas
4daa183dd3 stripped some headers from deprecated prometheus.h => huge rearrange
This was SVN commit r378.
2004-06-03 01:43:33 +00:00
janwas
2339389870 implemented refcount for mmap
This was SVN commit r376.
2004-06-03 00:27:50 +00:00
janwas
2d51e32878 some bulletproofing; completed+documented mmap
This was SVN commit r373.
2004-06-03 00:17:24 +00:00
janwas
f84bc36ca3 moved fminf+fmaxf to sysdep
This was SVN commit r372.
2004-06-02 21:50:50 +00:00
janwas
af3949ab7a updated file mapping (was partially unimplemented)
This was SVN commit r371.
2004-06-02 20:41:05 +00:00
janwas
b82d4dd4b3 removed misc.h - name tells me it isn't necessary ;) everything moved into lib.h
This was SVN commit r368.
2004-06-02 19:02:12 +00:00
janwas
d94c41fe9c fixed incorrect endian detect macro
This was SVN commit r366.
2004-06-02 17:40:43 +00:00
janwas
0ce04bf73f no message
This was SVN commit r364.
2004-06-02 16:59:12 +00:00
janwas
f8dafe455d CVS dirs are skipped when mounting
This was SVN commit r362.
2004-06-02 16:58:35 +00:00
janwas
719b8f1074 fixed *nix libpng include fix
This was SVN commit r361.
2004-06-02 16:33:59 +00:00
janwas
4ba7fc3b7c yet more tree_lookup fixes for bug pointed out by simon
This was SVN commit r358.
2004-06-02 16:12:13 +00:00
janwas
85f335e0fe fixed tree_lookup - now allows dir names (with optional trailing slash)
This was SVN commit r354.
2004-06-02 15:32:42 +00:00
olsner
c0d33d3330 Linux/GCC compat, a few newlines at end of file, minor changes
This was SVN commit r353.
2004-06-02 15:31:55 +00:00
olsner
270aa5974e - endian ifdefs => __BYTE_ORDER == __BIG_ENDIAN
- round moved to sysdep with _MSC_VER ifdefs
- alternative CHECK_ERR macro (in lib.h)
- some linux compat stuff

This was SVN commit r350.
2004-06-02 15:15:12 +00:00
olsner
f1a3cd9e31 ../lib/lib.cpp
This was SVN commit r349.
2004-06-02 15:12:48 +00:00
janwas
016ca6ed06 fixed gcc error with asm code
This was SVN commit r347.
2004-06-02 15:00:23 +00:00
olsner
48d981b030 - Added a OS_UNIX define for unix variants (Linux and Mac OS X)
- OS_UNIX => HAVE_GETTIMOFDAY
- OS_LINUX => HAVE_X

This was SVN commit r346.
2004-06-02 14:31:27 +00:00
janwas
9bdbc49306 now pull in .lib file via source (more convenient than using project settings)
This was SVN commit r339.
2004-06-02 01:07:25 +00:00
kezz
11979a48fa kezz - adding preliminary sound code
This was SVN commit r336.
2004-06-01 22:19:53 +00:00
Acumen
3721e05a74 There was a presumably unnecessary unmatched { in misc.h. Updated it to avoid compiler error.
This was SVN commit r335.
2004-06-01 20:03:24 +00:00
janwas
3abf9ac4b5 lots of type fixes; types.h is now a convenience wrapper on top of the standard uintN_t routines
This was SVN commit r334.
2004-06-01 17:34:12 +00:00
janwas
3856c2ab1e removed - conflicts with headers on *nix. functionality moved into wsdl
This was SVN commit r333.
2004-06-01 16:52:30 +00:00
janwas
5af6d6007b removed endian.* and rolled it into (w)sdl
This was SVN commit r329.
2004-05-31 12:21:14 +00:00
janwas
47a4af4c82 fixed bug found via mem leak: handles now closed at exit regardless of refcount
This was SVN commit r323.
2004-05-30 00:57:20 +00:00
janwas
1eaadd38aa ran everything though mark's newline stomper.
This was SVN commit r322.
2004-05-30 00:46:58 +00:00
notpete
726d5a6adf Added glDrawRangeElements to function list.
This was SVN commit r297.
2004-05-29 20:46:02 +00:00
notpete
86eaf95476 Added function for retrieving GL texture object from a texture handle.
This was SVN commit r296.
2004-05-29 20:45:18 +00:00
janwas
27f8a68de3 some smaller fixes
This was SVN commit r293.
2004-05-29 12:04:42 +00:00
janwas
1c5a2d8f10 started vfs enumerate directory support, not finished or functional
This was SVN commit r292.
2004-05-29 12:00:53 +00:00
janwas
672c25084b fixed log location; win code modules now register init/shutdown (=> less dependencies, more control over init order)
This was SVN commit r277.
2004-05-27 17:30:06 +00:00
janwas
bb3db6daf8 fixed remnant of set-root-dir problem; now finally works correcly when started from batch file. no extra path/chdir necessary.
This was SVN commit r276.
2004-05-27 01:11:21 +00:00
janwas
9aacf9b4bf no message
This was SVN commit r275.
2004-05-27 00:29:54 +00:00
MarkT
51375831f1 Desync-ed unit motion.
This was SVN commit r274.
2004-05-26 23:47:46 +00:00
janwas
0c8ea18853 upgrade to new libpng and zlib (see announcements thread)
This was SVN commit r270.
2004-05-26 19:28:42 +00:00
janwas
6c608edd60 linefix stomped everything :P
This was SVN commit r266.
2004-05-25 23:16:21 +00:00
janwas
3ae2db717d more warning fixes. added missing wfam.h
This was SVN commit r262.
2004-05-25 00:34:19 +00:00
MarkT
6ef97a6e9a Yet more warnings resolved; SDL gamma option added to command line.
This was SVN commit r261.
2004-05-24 21:28:49 +00:00
janwas
df6fceba62 fixed some signed/unsigned warnings; added gamma control via SDL
This was SVN commit r258.
2004-05-24 20:25:48 +00:00
janwas
53e8734d4f quick fix: suppress windows "drive empty" warnings reported by chad
This was SVN commit r242.
2004-05-18 01:29:10 +00:00
janwas
34c3c12934 fixes for VC6 build problems reported by Stu.
This was SVN commit r239.
2004-05-18 00:38:39 +00:00
janwas
556afb4a5c fixed current directory problem. added healthy does of paranoia to file_rel_chdir, and removed bogus chdir from main.cpp (from test code)
This was SVN commit r238.
2004-05-17 13:23:39 +00:00
janwas
b709de582d adding endian routines i wrote independently; maybe it's useful, and less clutter in cvs ;)
This was SVN commit r237.
2004-05-17 12:19:47 +00:00
janwas
fbba2e463d merged in rich's demo
This was SVN commit r236.
2004-05-16 03:31:29 +00:00
notpete
7b2a86a862 Added support for mipmapping DDS textures
This was SVN commit r229.
2004-05-15 17:47:48 +00:00
janwas
44d4621ea4 fixed stupid stat bug reported by rich
This was SVN commit r228.
2004-05-15 03:02:26 +00:00
janwas
c6054e9c4f automagic reload implemented (vfs and file monitor)
This was SVN commit r227.
2004-05-14 21:20:23 +00:00
janwas
76b52d1d8a remove vc6,vc7; use premake instead (will generate workspace in workspaces\vc7 , vc6)
This was SVN commit r226.
2004-05-13 17:23:07 +00:00
janwas
d1036b9a18 VFS updates; texture reloading now works, tex.cpp is WIP
This was SVN commit r223.
2004-05-13 13:52:48 +00:00
janwas
9f3714a789 precompiled headers. need to change workspace settings for them to take effect
This was SVN commit r222.
2004-05-08 01:18:15 +00:00