Glenn Maynard
73655e87d9
can't #ifdef a typedef; check for vc6 instead
...
move to the right place
2005-07-02 23:37:55 +00:00
Ben Anderson
5684b44997
#define NEED_CSTDLIB_WORKAROUND just like Glenn said.
2005-06-26 03:58:25 +00:00
Ben Anderson
758182858a
MinGW doesn't define _WINDOWS for us; define it.
2005-06-26 01:35:57 +00:00
Ben Anderson
9d57dc658e
More MinGW fixes (this time I'm testing it)
2005-06-26 00:51:02 +00:00
Steve Checkoway
99387583f9
DARWIN -> __MACOSX__
2005-06-21 08:56:36 +00:00
Ben Anderson
db08fefc2a
Continue work on supporting MinGW / Dev-Cpp.
2005-06-20 19:23:04 +00:00
Ben Anderson
ebcbdd3c9f
Move GCC/x86 assembler instructions into a single common file; begin work on supporting MinGW as a secondary Win32 build environment.
2005-06-20 01:33:32 +00:00
Steve Checkoway
e233317c25
Cleanup.
2005-06-19 11:17:31 +00:00
Steve Checkoway
0bc5c2ede4
Kill our parent first.
2005-06-19 07:28:59 +00:00
Steve Checkoway
d90d69f934
newline
2005-06-19 01:38:56 +00:00
Ben Anderson
56ebe75fb5
How many times am I going to forget to test before committing?
2005-06-03 18:47:30 +00:00
Ben Anderson
d280cf7445
Don't apply masks unless our window has been created.
2005-06-03 18:40:39 +00:00
Glenn Maynard
46bd5e4c65
fix warning
2005-05-28 21:55:47 +00:00
Steve Checkoway
720ba40a94
__GLOBAL__ fix on trunk as well.
2005-05-28 19:54:28 +00:00
Glenn Maynard
ccc9aac5e1
hide the mouse cursor
2005-05-22 22:42:13 +00:00
Steve Checkoway
9753111517
Stop using the 10.2.8 SDK. I don't think this is necessary (or that it ever was).
2005-05-21 07:37:55 +00:00
Steve Checkoway
360a2d6651
Fix warning.
2005-05-14 07:36:19 +00:00
Thad Ward
5949e5bc90
(this is possibly going to annoy some people, but..)
...
put all (obvious) MSVC lines in #if defined(_MSC_VER) blocks, primarilly
to allow alternative win32 compilers to be used.
2005-05-11 04:43:54 +00:00
Glenn Maynard
b2ec5655d4
vc braindamage
2005-05-06 14:34:38 +00:00
Ryan Dortmans
da25adcc82
Fix xbox linker errors.
2005-04-30 05:34:56 +00:00
Glenn Maynard
8eeb98c1ac
try to show a PID for any signal
2005-04-29 21:04:47 +00:00
Glenn Maynard
37fb267fd6
Don't use "long" and "short", unless it's for passing to an API that explicitly
...
expects them; they're too vague across archs. If you really want specific size
ints, use int16_t, uint64_t, etc. In this case, "int" is fine.
Flip error check.
2005-04-23 23:09:08 +00:00
Glenn Maynard
33a5148081
pCt -> g_iRefCount
2005-04-23 23:03:41 +00:00
Glenn Maynard
12339028d5
pMasks -> g_aiMasks
2005-04-23 23:00:23 +00:00
Glenn Maynard
27790e1ccf
simplify
2005-04-23 22:58:26 +00:00
Glenn Maynard
58bfa13cc8
cosmetic
2005-04-23 22:53:26 +00:00
Glenn Maynard
7f91d30efc
cleanup, static
2005-04-23 22:50:36 +00:00
Steve Checkoway
c9c9e5dbeb
When I say to commit the changes, I really mean commit them. *grumble grumble*
2005-04-10 23:22:14 +00:00
Steve Checkoway
e9867a80b4
Don't assume that all files are c++. Remove the unnecessary objective-c++.
2005-04-10 23:16:12 +00:00
Ben Anderson
80d6e78069
Code cleanups I keep forgetting to commit...
2005-03-26 16:39:53 +00:00
Ted Percival
93120e9c9e
initialise finalMask to zero (was uninitialised)
2005-03-25 03:09:06 +00:00
Ben Anderson
96d6cdd9cc
XSync can and often does cause events e.g. input events to be dropped, don't do it.
2005-03-17 02:12:57 +00:00
Chris Danford
65e2148bc4
has FFMPEG
2005-03-16 03:09:42 +00:00
Ben Anderson
78b742a7da
X True, not C++ true
2005-03-16 02:40:12 +00:00
Ben Anderson
42bcdcab4b
Forgot something...
2005-03-16 02:37:02 +00:00
Ben Anderson
18296126df
Do things a little closer to the way SDL does them (but not much), magical hack that fixes performance issues for X11 on some (all?) systems, use variables instead of functions for Dpy and Win in X11Helper, a couple formatting tweaks.
2005-03-16 02:23:07 +00:00
Ben Anderson
bd331e4d0b
Apparently a semicolon is supposed to be there (odd, it compiled on GCC 3.4 without one...)
2005-03-14 12:18:28 +00:00
Ben Anderson
a95cb42339
Reserve a whole 1k for that error message. They're more descriptive (read: long) than I thought
2005-03-14 00:00:29 +00:00
Ben Anderson
c58fefcfff
Catch and log X11 protocol errors; they might be useful in debugging.
2005-03-13 23:50:12 +00:00
Ben Anderson
634e0a5b28
I should've done this a little differently (intuitively). Good catch, Glenn.
2005-03-13 22:08:55 +00:00
Ben Anderson
68799a8820
Use iterators, etc. properly. It's painfully obvious I don't code C++ much.
2005-03-13 21:08:52 +00:00
Ben Anderson
c70d8cdb86
Whoops, forgot an initializer, and forgot to destroy the old window...
2005-03-13 18:53:07 +00:00
Ben Anderson
62c0288f66
Design change -- the callback system is unnecssary, all InputHandler_X11 needs to do is unmask events, which is already available through OpenMask(). Also, a few idle formatting tweaks.
2005-03-13 17:54:13 +00:00
Ben Anderson
d466d31196
Fix one or two mistakes; allow mask setting even if no winow has been created yet.
2005-03-13 16:00:38 +00:00
Ben Anderson
a0b45c084d
Added parts related to event mask. Should be feature complete and the header more or less finalized now, but who knows if it as much as compiles, leave alone runs or works...
2005-03-13 05:32:16 +00:00
Ben Anderson
cea5074135
Initial (INCOMPLETE!) X11 helper for the upcoming InputHandler_Xlib and LowLevelWindow_Xlib. I should finish this in the next week.
2005-03-13 04:02:37 +00:00
Glenn Maynard
1ffe2f4b89
make g_hWndMain local to GraphicsWindow
2005-02-07 09:16:48 +00:00
Glenn Maynard
7ccda6012d
use GraphicsWindow::GetHwnd
2005-02-07 09:16:00 +00:00
Glenn Maynard
28241e30aa
add GraphicsWindow::GetHwnd
2005-02-07 09:09:29 +00:00
Steve Checkoway
a5e477e3d0
Simplify crash reporting on OS X.
2005-02-06 10:14:10 +00:00