Commit Graph

276 Commits

Author SHA1 Message Date
Uwe Bonnes
f7635f3d3d Display the name of the started process in the desktop title. 2002-06-13 19:11:21 +00:00
David Hammerton
50e8768f62 MapVirtualKey actually returns uppercase keys in Windows. 2002-06-10 23:02:41 +00:00
Alexandre Julliard
d3cab1857a Moved DC origin into device-specific structure.
Fixed handling of DC origin in X11 driver.
2002-06-10 22:52:47 +00:00
Alexandre Julliard
376e65092a Better separation of the palette functions.
Removed the palette driver.
2002-06-02 21:40:24 +00:00
Alexandre Julliard
70e192b9cf Removed CURSORICON_IconToCursor now that we support color cursors. 2002-06-02 21:29:23 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard
332d62ba10 Avoid division by zero (thanks to David Ronis). 2002-05-31 19:14:40 +00:00
Alexandre Julliard
d8a9244fc4 Added function table to GDI objects for better encapsulation.
Removed some direct accesses to the bitmap structure.
Fixed handling of stock bitmap if selected in multiple DCs.
Some minor fixes to the DC function table.
2002-05-31 18:43:22 +00:00
Shachar Shemesh
4b050944fe Added Israeli Hebrew keyboard, and fixed a problem in the matching of
characters against dead keys.
2002-05-31 18:21:33 +00:00
Alexandre Julliard
be367c7270 Added wine_server_fd_to_handle to replace FILE_DupUnixHandle. 2002-05-30 20:40:02 +00:00
Alexandre Julliard
07439cd2d0 Removed dependencies on the internals of the region object.
Do not store the region type in the object, it's trivial to determine
from the rectangle count.
Rewrote a few routines to not depend on internal clipping or region
functions.
2002-05-25 22:16:12 +00:00
Alexandre Julliard
55e845d11b Removed most inclusions of options.h.
Removed a few no longer used PROFILE_* functions.
2002-05-23 19:40:18 +00:00
Alexandre Julliard
5954602461 Restored managed mode config file option. 2002-05-23 16:32:32 +00:00
Dimitrie O. Paun
e361ceab45 Remove the --managed option, and make wine use the managed mode by
default.
2002-05-23 02:43:09 +00:00
Alexandre Julliard
3536316a31 New loading scheme for Winelib apps, makes them behave like builtin
dlls and takes load order into account. Install them in dlldir.
Improved MODULE_GetBinaryType to recognize ELF binaries.
Added a wrapper script to setup the environment when running directly
from inside the source tree.
2002-05-22 21:32:49 +00:00
Patrik Stridvall
5e6943f421 Fixed some issues found by winapi_check. 2002-05-22 01:55:18 +00:00
Alexandre Julliard
67e8dc6861 Added configure check for the soname of libraries that we load
dynamically.  Added a few other configure macros, and moved all macros
into aclocal.m4.
2002-05-20 18:29:58 +00:00
Alexandre Julliard
2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard
6044307c3a A few fixes for mingw cross-compilation. 2002-05-17 03:31:08 +00:00
Alexandre Julliard
ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard
9bb05fc48e Specify the complete source file list for a dll inside the main
makefile and get rid of the subdirectories makefiles.
2002-05-14 18:36:54 +00:00
Alexandre Julliard
67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard
ce830a9c18 Added mkinstalldirs to create directories more portably. 2002-05-09 04:31:39 +00:00
Alexandre Julliard
32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Michael Cardenas
f0b6b9a1ba Cap window sizes at 65535. 2002-05-07 01:52:15 +00:00
Huw D M Davies
d3cbb2ed76 Detect and warn about buggy versions of libXrender. 2002-05-04 18:25:43 +00:00
Alexandre Julliard
dec2cee2fb Removed some direct accesses to the DC structure. 2002-05-02 01:39:48 +00:00
Alexandre Julliard
d0893548e6 Moved remaining files in windows/x11drv to dlls/x11drv. 2002-04-30 21:16:39 +00:00
Alexandre Julliard
046dbf94f8 Never activate the window on SW_SHOWNOACTIVATE. 2002-04-24 22:26:34 +00:00
Huw D M Davies
0f31a34bc7 Don't check hwndInsertAfter if SWP_NOZORDER is set. 2002-04-24 22:20:11 +00:00
Alexandre Julliard
64896d03da Added support for installing an error callback when expecting an X11
error.
2002-04-24 21:32:11 +00:00
Alexandre Julliard
21e916676f Load libXrender at run-time with dlopen (based on a patch by Huw
Davies).
2002-04-23 22:06:41 +00:00
Alexandre Julliard
ab246a679b Pass a PHYSDEV to EnumDeviceFont and release the GDI lock in
FONT_EnumInstance instead.
2002-04-14 19:42:43 +00:00
Huw D M Davies
5b01b50631 Implement GetTextExtentPointI and add support for ETO_GLYPH_INDEX. 2002-04-03 22:08:27 +00:00
Huw D M Davies
afd519be0e Fix a few font problems with rotated text and non MM_TEXT mapping
modes. Do slightly better with the FF_ flags in WineEngGetTextMetrics.
2002-04-03 21:06:09 +00:00
Francois Gouget
0763abf115 Fix warnings for Linux, FreeBSD and Solaris. 2002-04-01 21:08:16 +00:00
Alexandre Julliard
e21c15e39d Changed the GDI driver interface to pass an opaque PHYSDEV pointer
instead of a DC structure.
Removed some direct accesses to the DC structure from the drivers.
Got rid the bitmap driver.
2002-03-28 22:22:05 +00:00
Marco Pietrobono
0449937a84 Added support for 16bit mouse cursor bitmaps in RGB 565 format. 2002-03-28 22:05:57 +00:00
Alexandre Julliard
c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Jukka Heinonen
b7beb7278f Added option SW_FORCEMINIMIZE to ShowWindow. 2002-03-12 19:18:48 +00:00
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Lionel Ulmer
e88edac600 Fix crash in the X11 HAL when setting a NULL palette to a surface. 2002-02-26 00:36:21 +00:00
Rein Klazes
861d7c83c0 In X11DRV_ScrollDC only move pixels that are within the clip
rectangle, before and after they are scrolled.
2002-02-05 19:44:31 +00:00
Huw D M Davies
6f7fc50424 Uses Xrender extension to allow client side font rendering.
Adds nice things like anti-aliased text.
2002-01-29 03:07:21 +00:00
Patrik Stridvall
74e4d21ebe Avoid wildcards in .cvsignore. 2002-01-29 03:05:12 +00:00
Ove Kaaven
77e7fd7a24 Added support for MWM hints. 2002-01-21 18:41:27 +00:00
Rein Klazes
0f2f2b34fa Move calling of CBT hooks from WIN_CreateWindowEx() to the driver. 2002-01-09 19:09:06 +00:00
Alexandre Julliard
80a3bb4fc0 Removed LoadOEMResource from USER driver. 2002-01-04 18:27:41 +00:00
Duane Clark
3169072b2f Added color cursor support. 2001-12-26 20:30:40 +00:00
Paul Rupe
90d8354bab Prevent "window belongs to another process" errors when running
multiple programs simultaneously.
2001-12-17 22:09:18 +00:00
Andriy Palamarchuk
c7de3401ac Removed Get/SetScreenSaveTimeout user driver functions because they
are not used.
2001-11-30 23:15:32 +00:00
Glenn Schrader
97ba673271 Use gdi_display everywhere to avoid BadColor errors. 2001-11-30 23:14:18 +00:00
Eric Pouech
0b83d4cbc6 New console code based on Win32 windows. 2001-11-23 23:04:58 +00:00
Andriy Palamarchuk
096bab67c0 Implemented processing for actions SPI_GET/SETSCREENSAVETIMEOUT,
SPI_GET/SETSCREENSAVEACTIVE, SPI_GET/SETSCREENSAVERRUNNING.
2001-11-20 20:27:26 +00:00
Patrik Stridvall
8f4ffb92bd Fixed some issues found by winapi_check. 2001-11-20 18:55:02 +00:00
Andreas Mohr
9cef2d0b1d - fix wrong hexadecimal GetLastError() output
- misc fixes
- changed my email address
2001-11-19 02:30:01 +00:00
Gerard Patel
e5fe7798fe Fix the server paint count in SetWindowPos. 2001-11-13 22:02:20 +00:00
Gerard Patel
6c58cdce16 Repaired child window activation broken by previous change. 2001-11-07 23:19:42 +00:00
Alexandre Julliard
03e07b56e3 Window activation cleanups. 2001-11-06 22:28:18 +00:00
François Gouget
1425941e29 Fix the #include order for config.h.
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Alexandre Julliard
ddc3317b7a Store in the server all the window information accessible with
Get/SetWindowLong.
2001-10-22 19:08:33 +00:00
Andrew Lewycky
ad73ed2d92 XFree86 4.1 gamma ramp support. 2001-10-21 15:02:01 +00:00
Alexandre Julliard
32fb580515 Changed X11 mouse driver to use SendInput, and removed WINE_MOUSEEVENT
hack. Moved mouse.c to dlls/x11drv.
Added KeymapNotify event handler, and fixed handling with multiple
alt/shift/control keys.
Removed dinput functions from USER driver.
2001-10-18 21:38:59 +00:00
Alexandre Julliard
fb0ff053c0 Added internal Wine messages to perform SetWindowPos, ShowWindow and
SetParent in the correct thread.
Replace QUEUE_IsExitingQueue by USER_IsExitingThread.
Store window rectangles in the server.
Prevent DestroyWindow on windows not belonging to the current thread.
2001-10-16 21:58:58 +00:00
Alexandre Julliard
8fd26b9134 Renamed WIN_GetWndPtr into WIN_GetPtr and added corresponding
WIN_ReleasePtr. Started using it instead of WIN_FindWndPtr where we
don't need to access windows of other processes.
2001-10-15 17:56:45 +00:00
Alexandre Julliard
80593bf842 Removed next and child fields in the window structure and use
WIN_ListChildren instead.
2001-10-11 20:49:40 +00:00
Alexandre Julliard
556607a147 Store window parent as an HWND instead of a pointer. 2001-10-10 20:28:17 +00:00
Gerard Patel
94ce2a3303 Map a window if it is shown by a direct style change. 2001-10-03 18:44:02 +00:00
Ilya Konstantinov
560ca323e2 Added a _NET_WM_NAME(UTF8_STRING) property to every window. 2001-10-02 18:44:56 +00:00
Alexandre Julliard
9c89290e89 Ignore ConfigueNotify size changes while the window is iconic. 2001-09-21 21:04:56 +00:00
Alexandre Julliard
d23a82bc86 Made all 16<->32 HWND conversions use explicit functions instead of
implicit type casts.
Moved a lot of 16-bit functions to the new wnd16.c file.
Changed DIALOGINFO structure handling to support 32-bit handles.
2001-09-19 20:37:04 +00:00
Alexandre Julliard
f44bbb8d10 Make sure that HWND comparisons are always done with full 32-bit
handles.
2001-09-14 00:24:39 +00:00
Francois Gouget
45cc1430e9 Check for htotal=vtotal=0 (for xfree 4 vesa driver). 2001-09-14 00:05:44 +00:00
Patrik Stridvall
3c0211f969 Cleanup code that is strange or difficult to parse. 2001-09-11 00:32:32 +00:00
Alexandre Julliard
a2ae982978 Ignore size change on ConfigureNotify if window rect is empty and new
size is 1x1.
2001-09-10 23:27:57 +00:00
Francois Gouget
0fe854b7dd Added an option to disable XVidMode support. 2001-09-10 23:05:57 +00:00
Alexandre Julliard
1a66d226eb Added global management of user handles in the server.
Very preliminary support for shared window handles.
2001-08-28 18:44:52 +00:00
Jukka Heinonen
c3f2a140cf GrabPointer uses now SetWindowLong to change window procedure instead
of accessing directly WND structure.
2001-08-27 19:04:18 +00:00
Alexandre Julliard
9d9dac0947 Added WIN_ListParents function and renamed WIN_BuildWinArray into
WIN_ListChildren. Made owner field in WND structure an HWND.
2001-08-24 19:28:21 +00:00
Alexandre Julliard
0801ffc5a3 Implemented GetAncestor and removed WIN_GetTopParent.
Removed a few more accesses to the WND structure.
2001-08-24 00:26:59 +00:00
Dmitry Timoshkov
4bc0b28897 Fixed an incorrect (harmless) memory allocation. 2001-08-22 18:04:00 +00:00
Alexandre Julliard
fa42aa81e4 Removed WIN_GetDesktop(). 2001-08-21 17:13:55 +00:00
Alexandre Julliard
4ff32c8aef Removed a number of direct accesses to the window structure. 2001-08-18 18:08:26 +00:00
Alexandre Julliard
301df6b5cd Added names to standard critical sections (suggested by Andreas
Mohr).
2001-08-16 18:12:56 +00:00
Alexandre Julliard
de42428f23 Removed a number of direct accesses to the WND structure, replacing
them by API calls.
2001-08-10 22:51:42 +00:00
Patrik Stridvall
a2afd5b8ad Documentation fixes. 2001-08-09 21:36:39 +00:00
Alexandre Julliard
e994d5036e Added Interlocked*Pointer functions.
Fixed InterlockedCompareExchange prototype.
2001-08-09 21:21:13 +00:00
Jukka Heinonen
822ab45314 XGrabPointer is now called from the correct thread context and it is
made sure that we have keyboard focus when using DirectX.
2001-08-06 18:47:25 +00:00
Alexandre Julliard
bfb4a23aa9 Replaced MSG_InternalGetMessage calls by equivalent exported APIs. 2001-08-06 18:05:47 +00:00
Alexandre Julliard
8f4c007ff5 Fixed desktop window structure initialization. 2001-07-31 01:00:50 +00:00
Alexandre Julliard
9208301d16 Rewrote Escape to avoid calling down to Escape16.
Replaced Escape by ExtEscape in the DC function table.
2001-07-29 20:25:14 +00:00
Alexandre Julliard
99bb9f9775 Added GetDeviceCaps to the DC driver interface. Removed devCaps
pointer in the generic DC structure.
2001-07-28 00:18:02 +00:00
Alexandre Julliard
3dd63eb2ad Build the DC function table by using GetProcAddress on the graphics
driver module. Moved driver support to dlls/gdi.
2001-07-27 19:37:31 +00:00
Alexandre Julliard
8afe6628f8 Avoid using GetFastQueue16 from USER. 2001-07-26 20:12:22 +00:00
Alexandre Julliard
f899ef07a6 Removed some unnecessary includes. 2001-07-23 00:04:00 +00:00
Alexandre Julliard
8cd1f719bc Use AdjustWindowRect to translate X to window rectangle instead of
duplicating what's done in nonclient.c.
2001-07-20 18:37:37 +00:00
Lionel Ulmer
1fc39be64f Fix X crash when running in managed mode. 2001-07-12 22:27:56 +00:00
Alexandre Julliard
704d035364 Fixed a few issues with tsx11 locking.
Always map the client window when moving out of iconic state.
2001-07-12 02:49:31 +00:00
Patrik Stridvall
01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Dmitry Timoshkov
7aa8694908 Fix some inter dll dependencies. 2001-07-02 18:02:10 +00:00
Alexandre Julliard
f25487a10f Removed unnecessary SetWindowPos call in SetWindowRgn. 2001-06-29 01:41:32 +00:00
Alexandre Julliard
ed15fc7de1 Moved ForceWindowRaise to the USER driver and removed the WND driver. 2001-06-29 01:26:41 +00:00
Alexandre Julliard
649637f53f Added window properties to make some x11drv-specific information
available to higher level code.
2001-06-26 21:10:11 +00:00
Alexandre Julliard
9446387170 Make the visible region empty for non-visible windows. 2001-06-26 20:09:19 +00:00
Alexandre Julliard
f4b14106f7 Don't rely on X to expose windows covered by a sibling, do it
manually.
2001-06-22 03:42:27 +00:00
Ove Kaaven
624f14e776 Make GetCursorPos call XQueryPointer. 2001-06-21 00:44:09 +00:00
Alexandre Julliard
64264be49b Clip parent client area when using the drawable from a higher level
parent.
2001-06-20 00:22:40 +00:00
Alexandre Julliard
8ffcf755fe Fixed region leak. 2001-06-20 00:18:48 +00:00
Alexandre Julliard
838d65aebe Moved hardware message queue handling to the server. 2001-06-19 19:16:41 +00:00
Patrik Stridvall
8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Alexandre Julliard
0cbfb24f83 Fixed one more bug in clip_children. 2001-06-19 03:47:11 +00:00
Dmitry Timoshkov
de70d2b2c7 Replace PROFILE_ functions by RegQueryValueExA in x11drv. 2001-06-19 03:32:44 +00:00
Alexandre Julliard
8f750d5c3a clip_children: don't crash if child is not in list (can happen on
WM_NCCREATE).
2001-06-15 19:44:35 +00:00
Alexandre Julliard
7b25ed534b Use the topmost parent that isn't clipping children as drawable,
to make sure parent siblings are not clipped.
2001-06-13 20:07:48 +00:00
Alexandre Julliard
883cff405b Fixed handling of zero-sized client window.
Create the X windows before sending WM_NCCREATE.
2001-06-12 04:02:10 +00:00
Alexandre Julliard
0b16474c2a Removed WIN_NATIVE flag. 2001-06-08 19:00:56 +00:00
Gerard Patel
ad363030a1 Use a flag to test if create structure is unicode. 2001-06-06 21:26:50 +00:00
Alexandre Julliard
dc4fe7735b Create an X window for every window, including children.
Fixed non-client rectangle calculations in managed mode.
Added support for icon window in managed mode.
2001-06-04 21:55:17 +00:00
Alexandre Julliard
51ab43bd13 Moved the major part of message queue and window timer handling into
the server.
Implemented MsgWaitForMultipleObjectsEx.
2001-05-18 22:51:56 +00:00
Marcus Meissner
b30d59dcdf Fixed compile if we do not have the xf86vidmode extension. 2001-05-18 20:59:22 +00:00
Marcus Meissner
4e5903aa8f Adopted to new threaded displays. 2001-05-16 21:01:06 +00:00
Alexandre Julliard
4323004bf1 Create an X connection for each thread, and process X events in the
thread that created the corresponding X window.
Spawn a separate thread to run the desktop message loop in desktop
mode.
2001-05-16 19:52:29 +00:00
Alexandre Julliard
c559735bf8 Renamed display to gdi_display where it is used for GDI operations, to
allow supporting multiple X connections.
2001-05-11 00:17:47 +00:00
Alexandre Julliard
b19c57ca71 Fixed reparenting to desktop (found by Gerard Patel). 2001-05-10 21:06:56 +00:00
Alexandre Julliard
e3fe9f24ce Moved ScrollWindowEx implementation to the graphics driver. 2001-05-10 03:23:59 +00:00
Alexandre Julliard
3abeae8f4a Moved window move/resize syscommand handling to the graphics driver. 2001-05-09 17:21:04 +00:00
Alexandre Julliard
c6a835a63e Remove Get/SetBeepActive from USER driver and manage it locally inside
SystemParametersInfo.
2001-05-05 00:49:15 +00:00
Ove Kaaven
6753dea682 Reimplemented DXGrab with improvements; it no longer depends on
XVidMode, and it releases the grab if the app exits full-screen
DirectDraw.  Also made the UseDGA option available for AppDefaults
configuration.
2001-04-27 18:00:06 +00:00
Patrik Stridvall
b3086a7593 Fixed some issues found by winapi_check. 2001-04-25 19:54:21 +00:00
Alexandre Julliard
9ae0fe54b0 Moved most of the implementation of SetWindowPos and SetDrawable into
the user driver, and the corresponding code into the dlls/x11drv
directory. Moved a few functions out of the window driver into the
user driver. Plus a few related cleanups.
2001-04-24 23:28:52 +00:00
Ove Kaaven
169e36b9a0 Implemented the XF86DGA2 driver for the ddraw HAL.
Entered some basic HAL device capabilities data.
Added a GetDriverInfo handler.
2001-04-16 19:54:07 +00:00
Alexandre Julliard
7aa7d9493e Added support for application-specific configuration for a few options
(Desktop, Managed, ScreenDepth and Synchronous).
2001-03-28 19:43:38 +00:00
Gavriel State
4d73ba6e21 - Always use a double-buffered visual if one is available.
- Ensure that all colormaps created use the double-buffered visual if
  it exists. This prevents problems where DRI GL implementations fail
  to work unless the colormap visual matches the window visual matches the
  glX visual.
- Get around similar visual issue with the default GL context created for
  apps that don't create their own contexts before trying to use GL functions.
2001-03-28 01:45:08 +00:00
Alexandre Julliard
26320d1f75 Cleanup properly on x11drv unloading.
Moved --synchronous option into config file.
Removed --desktop, --display and --language command-line options.
2001-03-23 23:45:45 +00:00
Jeff Garzik
9fd15a9f2f Added needed string.h includes. 2001-03-22 19:33:57 +00:00
Ove Kaaven
313051f9d6 Added gamma ramp code to the XVidMode interface. 2001-03-20 01:24:08 +00:00
Ove Kaaven
6e7ded456b Guts of a simple XVidMode-supporting DirectDraw HAL in x11drv. 2001-02-14 00:27:34 +00:00
Josh DuBois
46fb7e0057 Make some noise in a few cases where the X11drv doesn't load, but used
to fail silently.
2001-01-17 21:51:07 +00:00
Alexandre Julliard
598412ed6a Cleaned up the various errno location tests in configure.
Added (h_)errno_location pointers in the library that allow remapping
the calls in higher level dlls.
Moved X11DRV_CritSection out of sysdeps.c and into x11drv.dll.
2001-01-17 20:22:22 +00:00
Alexandre Julliard
8efd454067 Removed CALL_LARGE_STACK support. 2001-01-15 22:30:50 +00:00
Alexandre Julliard
a90797d09d Updated debug channels. 2001-01-15 20:23:05 +00:00
Alexandre Julliard
b018239fef Build tsx11 layer as a separate shared library. 2000-12-06 00:04:10 +00:00
David Elliott
ea186796eb Remove libXXXX.so.1.0 lines from .cvsignore files. 2000-11-30 19:57:34 +00:00
Jeremy White
3101315b79 Allow desktop=N in the [x11drv] section of .winerc, instead of
defaulting to desktop=640x480.
2000-11-15 22:11:33 +00:00
Andreas Mohr
efc17535ac Implemented the Desktop=XXXxYYY setting in the [x11drv] section of the
config file.
2000-11-12 03:41:47 +00:00
Alexandre Julliard
eb58e1d597 Declare debug channels in all dlls that need them; added imports of
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Alexandre Julliard
67c883be31 Removed obsolete TOOLSUBDIRS dependency. 2000-10-31 00:23:15 +00:00
Dmitry Timoshkov
8a31634a00 Replaced ToAscii by ToUnicode in the User driver interface. 2000-10-25 21:34:31 +00:00
Lionel Ulmer
81b7208eee Do not do any GLX calls on a display that does not support GLX. 2000-10-19 20:22:36 +00:00
Andreas Mohr
c941effc24 Make GetTickCount not use the whole Unix epoch (since 1970) any more,
since that crashed several games or caused problems with them as they
aren't used to a high Windows uptime of more than 24.9 days.
2000-09-22 22:37:56 +00:00