Commit Graph

14544 Commits

Author SHA1 Message Date
Ben Anderson bee0a762d2 Remap the window when remodeling to work around possible buggy WMs and/or X servers; remove useless trace; random cleanups, formatting adjustments, etc 2005-03-14 00:26:14 +00:00
Charles Lohr 1e4fb95215 Added .GetValue() for VC6/7 compile. Maybe we should figure out a way around this for VC6/7 so it doesn't look so bad in code? 2005-03-14 00:18:07 +00:00
Charles Lohr e8729a82d0 VC6 doesn't seem to want to accept default parameter value for templated functions like this. Poor solution: just put in the default in the actual function call. 2005-03-14 00:07:56 +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
Sean Burke 27851ff9e6 Add new X11 windows to Makefile; does not run at the moment 2005-03-13 23:21:08 +00:00
Sean Burke 2f60572cb2 Define presence of X11 in configure 2005-03-13 23:06:07 +00:00
Ben Anderson 6df8be39ec Play nice with RageDisplay_OGL GLX hacks 2005-03-13 22:54:50 +00:00
Ben Anderson 907bfa03eb I'm such an idiot, I forgot to map the window! Also, slight reordering to make things theoretically more efficient. 2005-03-13 22:40:41 +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 e6d5c509f3 Why was that being included there? 2005-03-13 21:56:36 +00:00
Ben Anderson c551a686ac But we might be compiling without SDL! 2005-03-13 21:54:29 +00:00
Ben Anderson 34a45fb089 Whose bright idea was it to use SDL routines in the ALSA code? 2005-03-13 21:51:51 +00:00
Ben Anderson de3c510f73 Make hackish assumption for now, we can fix that properly later. 2005-03-13 21:23:58 +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 2a7290ce16 Numerous fixes, now compiles on GCC 3.4 and should on most other compilers 2005-03-13 20:44:43 +00:00
Chris Danford ade579667b load all commands from metrics when the On command is played. This fixes skips when playing the Off command. 2005-03-13 20:44:26 +00:00
Chris Danford ca8106297e add HasCommand 2005-03-13 20:34:52 +00:00
Chris Danford 25642721bb preload TextBanner metrics to fix skip 2005-03-13 20:33:00 +00:00
Ben Anderson 9486490cbb Fix numerous syntax and semantic errors 2005-03-13 20:32:13 +00:00
Ben Anderson 16b6515e1c nl 2005-03-13 20:25:57 +00:00
Ben Anderson 58c6b37389 Oops, little hangover from a previous design there... 2005-03-13 20:13:01 +00:00
Ben Anderson e14f4c7d9b Completely redid the formatting. Should be much more readable now. 2005-03-13 19:51:25 +00:00
Ben Anderson 405d11e096 Forgot way too many things to list... 2005-03-13 19:25:27 +00:00
Ben Anderson 43752d219a Sean's InputHandler_X11, modified to use X11Helper and not abuse the keyboard grab. Needs formatting to be fixed -- blame dodgeit (long story) 2005-03-13 19:22:01 +00:00
Ben Anderson fbc1ebcf32 Second time today I forgot something... unmask StructureNotify events so we actually GET the MapNotify event! 2005-03-13 19:18:23 +00:00
Ben Anderson f5b08ace8e And after a long wait, here it is -- LowLevelWindow_X11. InputHandler_X11 coming soon... 2005-03-13 19:05:20 +00:00
Chris Danford e76a84bcfd cleanup 2005-03-13 18:53:16 +00:00
Ben Anderson c70d8cdb86 Whoops, forgot an initializer, and forgot to destroy the old window... 2005-03-13 18:53:07 +00:00
Chris Danford a1b8f2d0ce cache metrics 2005-03-13 18:17:09 +00:00
Chris Danford 8e7617f3bb make *_NAME functions static 2005-03-13 18:15:42 +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
Chris Danford 410da1de20 optimize wheel switching - only rebuild the WheelItemDisplays that changed 2005-03-13 17:40:00 +00:00
Ben Anderson 1ac1265e10 This header isn't used by anything and it hasn't been updated in 2 years... 2005-03-13 16:23:55 +00:00
Ben Anderson acbc1ee8bf Move inclusion of RageLog to top of file so entire file can use it. This fixes compilation on all platforms. 2005-03-13 16:04:06 +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
Glenn Maynard 7c63770ec1 allow any file type in Other 2005-03-13 08:40:11 +00:00
Chris Danford 35590596d3 optimize difficulty change 2005-03-13 06:41:42 +00:00
Chris Danford eb37115a59 fix underlines don't update when wrapping rows 2005-03-13 05:45:41 +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
Chris Danford 42f74197a3 add missing 2005-03-13 04:39:35 +00:00
Chris Danford e992442fe0 have ScreenWithMenuElements play and stop music (instead of ScreenOptions and ScreenSelect)
Add StopMusicOnBack metric
2005-03-13 04:25:43 +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
Chris Danford fbaaf61313 refresh icons per-row, per-player 2005-03-13 02:25:33 +00:00
Chris Danford 0ab7c031bc position underlines per-player 2005-03-13 02:15:38 +00:00
Chris Danford 3ee87782eb optimize UpdateDisqualified: only export options for the current row 2005-03-13 01:43:44 +00:00
Chris Danford e080e9f61b update disqualified only for the player that changed 2005-03-13 01:03:22 +00:00
Chris Danford 4b824bbe47 export and import separately for each player 2005-03-13 00:59:03 +00:00
Chris Danford 8415b4466d fix VC7 template error: move templated methods out of LuaManager 2005-03-13 00:01:05 +00:00
Glenn Maynard 50196e4a0f add generic success/failure screen messages for pushed screens 2005-03-12 23:41:26 +00:00