Commit Graph
1930 Commits
Author SHA1 Message Date
Glenn Maynard 1ba25d4aeb NUM_CabinetLight 2006-09-26 21:24:27 +00:00
Glenn Maynard dfd95fd730 InputDevice_Invalid 2006-09-26 21:19:17 +00:00
Steve Checkoway 9facfc2731 Dialogs can be thrown before INPUTFILTER is constructed. 2006-09-25 02:14:41 +00:00
Jason Felds d48f3ea016 VC8 Hack: pToUnicodeEx doesn't work yet. Use the old definition. 2006-09-25 01:35:33 +00:00
Glenn Maynard 95faef1776 cleanup 2006-09-21 07:41:22 +00:00
Glenn Maynard d2df988807 use ToUnicodeEx if available 2006-09-21 07:32:34 +00:00
Josh Allen a14bd30a61 include ErrorStrings.h 2006-09-19 03:08:25 +00:00
Glenn Maynard 03ce23e9ea ARRAYLEN 2006-09-18 23:27:09 +00:00
Glenn Maynard b77024f3bc include 2006-09-18 22:45:42 +00:00
Glenn Maynard 1f7fe1afd3 include 2006-09-18 22:24:18 +00:00
Steve Checkoway 6ea2a41b00 Cleanup RageException::Throw(). Do not use ssprintf() inside of Throw() and do not pass it bare error messages. Use RageException::Throw( "%s", sError.c_str() ); instead. Be consistent with quoting file names "%s" and theme metrics as "%s : %s". Try to make them complete English sentences when possible. 2006-09-17 01:19:19 +00:00
Glenn Maynard 6a1db3af03 remove old sdl stuff 2006-09-15 23:52:37 +00:00
Glenn Maynard 6c8d5774fc remove old SDL stuff 2006-09-15 23:48:15 +00:00
Steve Checkoway 37314eb432 While running, it's possible to lose focus and regain focus before an update has ended (for example if the main thread is block on a dialog return) such that it appears that focus was never lost. AppFocusChanged() will return true if the focus has changed since the last time it was called. 2006-09-15 23:33:43 +00:00
Steve Checkoway e262e7902a No need for static. 2006-09-15 22:11:08 +00:00
Steve Checkoway 7ca6b10016 s -> g. 2006-09-15 22:04:29 +00:00
Steve Checkoway 87d3d0e043 Cleanup. 2006-09-15 19:03:21 +00:00
Steve Checkoway 89c3ef56d4 Remove Xbox hack. (Unless there's a DEL defined as well.) 2006-09-15 18:21:41 +00:00
Steve Checkoway e8cf81a759 Spacing. 2006-09-15 18:21:12 +00:00
Steve Checkoway 125fccc33c Simplify. Don't pass the button pressed bool along. This can be derived from the level every time. 2006-09-15 08:31:53 +00:00
Renaud Lepage 597cadd347 "Ugly" Xbox fix. It's that, or renaming all the DELETE define of the InputHandler and its users. 2006-09-15 03:09:17 +00:00
Steve Checkoway 5083893317 Use UCKeyTranslate if the 'uchr' resource exists. If not, fall back on the 'KCHR' resource. 2006-09-14 09:13:46 +00:00
Steve Checkoway dd0e3ce082 Cleanup. 2006-09-14 07:20:05 +00:00
Steve Checkoway 4dd57b99bd Don't hard code joystick and pump numbers. 2006-09-14 06:06:53 +00:00
Steve Checkoway 2a0692f4ed Cleanup. 2006-09-08 06:26:31 +00:00
Steve Checkoway d9e7fc0ecd No, I wanted to both reset and flush the queue. 2006-09-08 05:05:09 +00:00
Steve Checkoway 00be7b5462 Reset(). 2006-09-08 04:49:48 +00:00
Steve Checkoway 0506ca384b Flush all input events after the dialog box closes. Without this, pressing return to close the dialog box sends an event (usually menu start or equivalent). 2006-09-08 04:12:22 +00:00
Glenn Maynard 62c114b49e remove param 2006-08-21 00:20:13 +00:00
Steve Checkoway c6936984b4 Allow launching through a symlink. It doesn't work quite like normal applications. Menus don't show up, it doesn't really seem to know where it is.
Still, most people just would use the Finder and never encounter this behavior.
2006-08-14 15:31:52 +00:00
Steve Checkoway bf48f8343b Move to Init(). 2006-08-12 22:07:15 +00:00
Steve Checkoway 608261a152 Add optional Init(). This can be used so that HOOKS is set and accessible during the child crash handler by moving that code to Init(). 2006-08-12 22:06:19 +00:00
Steve Checkoway 8e8aa6cfb6 Applied patch to handle vsync. I cannot test this. I get 1 fps windowed and it does not hit 1 in full screen. 2006-08-10 04:43:34 +00:00
Chris Danford 790ccdbcbe fix joystick number not shown on input mapping screen 2006-08-08 08:46:40 +00:00
Steve Checkoway 4dc48720ff Differentiate ppc and i386. 2006-08-05 02:44:17 +00:00
Steve Checkoway 5440a7b613 Const. 2006-08-05 02:35:17 +00:00
Chris Danford 48b147f7b4 localize error string
add logging to try and diagnose software renderer detection isn't working
2006-08-03 09:14:37 +00:00
Glenn Maynard 3197d4ead9 unused params 2006-07-28 21:06:13 +00:00
Glenn Maynard 98591e9fc1 call Create() in CreateRenderTarget 2006-07-28 21:03:57 +00:00
Glenn Maynard 7f434a638f OpenGL RTT interface; X11 Pbuffer implementation (GL_ARB_pixel_buffer_object coming soon) 2006-07-26 03:39:01 +00:00
Steve Checkoway fd424585f2 Fix assert with monkey keyboard. 2006-07-26 00:31:48 +00:00
Steve Checkoway 7d2ff868e1 Cleanup. (This was written by Chris but InputHandler_MonkeyKeyboard.h was written by Glenn?) 2006-07-26 00:29:26 +00:00
Steve Checkoway a07e194cf1 Revert. Fixes Linux build. 2006-07-18 05:51:37 +00:00
Steve Checkoway 61739160fe Handle the new clock api "correctly." At least differentiate CLOCK_MONOTONIC and CLOCK_REALTIME. Mac OS X uses the former for timers and is forced to use the latter for the pthread functions. 2006-07-18 04:39:30 +00:00
Steve Checkoway df4d41da4a Simplify. GetMicrosecondsSinceStart need not actually be set to the beginning of SM. That's handled elsewhere. 2006-07-18 04:19:25 +00:00
Steve Checkoway bea4177222 Remove unneeded assert. 2006-07-18 03:57:31 +00:00
Jason Felds 366c3440d4 Fix VC8 macro redef warning. (more to come) 2006-07-18 03:56:37 +00:00
Steve Checkoway 4f8049377b The default ctor gets the time. Avoid that since we're setting it to the value of the timeval. 2006-07-18 03:53:21 +00:00
Steve Checkoway b1d08d1f8b This is still a work in progress (although I haven't worked on it in over a month). 2006-07-17 00:44:38 +00:00
Steve Checkoway e349c58ba9 Fix compile for systems that use pthreads but don't define UNIX and don't have clockid_t defined. If necessary, this can be redone in a more general way using configure.ac. 2006-07-13 06:31:10 +00:00