Commit Graph
100 Commits
Author SHA1 Message Date
Ben Anderson 413cbfdeb4 Reflect branch fix in trunk... 2005-03-26 16:52:41 +00:00
Ben Anderson 80d6e78069 Code cleanups I keep forgetting to commit... 2005-03-26 16:39:53 +00:00
Ben Anderson cb34dc4175 glFlush(), not glFinish(); easier on performance, behaves well on X11 / NVIDIA_GLX now, probably helps other platforms as well 2005-03-22 01:32:05 +00:00
Ben Anderson 9c9d1f365f Reorder; fixes compilation on GCC 3.4. 2005-03-19 00:48:33 +00:00
Ben Anderson 2774b74348 Fix compilation on GCC. I don't know why this works, it just does. (I tested it. 2005-03-18 00:55:21 +00:00
Ben Anderson 800bbfbb70 Always process all KeyPress events before all KeyRelease events. KeyPress are more timing-sensitive, and this makes race conditions causing sticky keys a little less likely. 2005-03-17 04:40:14 +00:00
Ben Anderson d0cd9f3bf6 Prevent some unnecessary time checking 2005-03-17 04:31:12 +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
Ben Anderson b1c17eacdb glFinish() at the end of each frame; I'm seeing the "buffer swap with unfinished frame" issue at lower framerates when this isn't being done. (FYI, this doesn't fix choppiness with X11 driver, but helps a little bit.) 2005-03-17 01:21:13 +00:00
Ben Anderson 063298de3d Fix window resizing, and add a harmless workaround for my obscure WM. Recreating the window (when the depth changes) now works too. 2005-03-16 05:55:01 +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 38ee973125 You know, I should pay attention to what cvs update is doing to the file... 2005-03-16 02:25:07 +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 e0e23c7b99 Blah... dumb little screwups revolving around X11 and SDL. 2005-03-15 00:41:05 +00:00
Ben Anderson 3b65e3f438 Remove useless Linux_tty input driver from the build as per Sean's suggestion; he's right, there's no point in having it if it requires SDL. 2005-03-15 00:36:01 +00:00
Ben Anderson 54d6689657 Commit them last two files (the two most important ones) in that commit. I have no clue what happened there. 2005-03-15 00:33:15 +00:00
Ben Anderson 167e5aebc0 Put all the Make* functions into a single .h/.cpp file (yes, kinda like the way it was), and add Make* functions for DialogDrivers. This means there's only one object that's affected by drivers being added/removed. (Driver default changes are a little different -- 2 or 3 objects.) Also one or two minor cleanups. (note: I apparently don't know much about CVS, it appears that some files might not make it into the repository; hang tight, I'm trying to find a solution.) 2005-03-15 00:30:26 +00:00
Ben Anderson 8362e44d72 Put all the Make* functions into a single .h/.cpp file (yes, kinda like the way it was), and add Make* functions for DialogDrivers. This means there's only one object that's affected by drivers being added/removed. (Driver default changes are a little different -- 2 or 3 objects.) Also one or two minor cleanups. 2005-03-15 00:23:31 +00:00
Ben Anderson 566d2b9d35 Set current parameters after a successful video mode try. 2005-03-14 23:51:58 +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 0db665d4d6 Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory. 2005-03-14 06:44:38 +00:00
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
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 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
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
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 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
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
Ben Anderson c1b965b030 Fix apparent typo breaking compilation (GCC wrongly complained about ISO for scoping) 2005-01-28 00:27:52 +00:00
Ben Anderson 25ea8e4825 Fix compilation 2005-01-27 23:58:37 +00:00
Ben Anderson 34ae17ee17 Options menus no longer depend on hardcoded screen name 2005-01-08 20:46:32 +00:00
Ben Anderson 28b7541b60 Fix typographical error (or so I hope it is...) 2005-01-08 14:19:56 +00:00
Ben Anderson dee52f75b1 Fix combos (does ScoreKeeper5th need fixing too?) 2004-12-29 19:12:25 +00:00
Ben Anderson cd541f58dc Add VirtualKeyboard 2004-11-27 06:23:52 +00:00
Ben Anderson 6ae0918d7b Catch (solo) tag 2004-11-13 21:35:17 +00:00
Ben Anderson 53857a39ff Let's clean up everyone's logs a little bit... 2004-11-13 17:48:59 +00:00
Ben Anderson b9e5fe5245 Implement common substring algorithm, it provides a more accurate ID of the title and the difficulty of each file. 2004-11-13 17:38:08 +00:00
Ben Anderson 1104565faa Proof that I forgot to diff before committing... Stupid me. That comment is useless. 2004-11-12 04:01:20 +00:00
Ben Anderson 96859248d8 Yes, it IS the best name damnit! How did that get there? 2004-11-12 03:59:05 +00:00
Ben Anderson 946d0993bf Fallback graphics for passmark lifebar 2004-11-12 03:45:36 +00:00
Ben Anderson cdca8e1457 Implement LifeMeterBar passing and LifeMeterBar extra passing, lifebars that display when the player is above the passmark. 2004-11-12 03:44:15 +00:00
Ben Anderson f61f53cdc2 Somebody forgot to modify the header... 2004-11-07 05:34:05 +00:00
Ben Anderson 0322d5d447 Whoever wrote this apparently thought the FLUSHING state had something to do with playing back the sound. Removing this fixed the bug where 'short' keysounds were clipped. And I guess I might as well fix a small typographical error in that comment. 2004-11-03 23:59:23 +00:00
Ben Anderson 806f519d16 Parse direct BPM changes correctly (source: http://www.angelfire.com/ga4/jackatrades606606/BMS_Reading_Tutorial.txt ) 2004-11-01 01:49:50 +00:00
Ben Anderson 3d867ad714 Made more readable as per Glenn's suggestion 2004-10-23 17:29:45 +00:00
Ben Anderson 56a0316a8a Optimization, and slightly more professional-looking behavior for the song progress meter. 2004-10-23 14:38:08 +00:00
Ben Anderson 715099fc5b Applied GCC 3.4 patch from Crypto++ website, with slight workaround to avoid adding fips140.h. Now compiles on Linux with GCC 3.4. 2004-10-23 00:57:40 +00:00
Ben Anderson c8ed60a646 Fudging by 5 seconds is more of a wild guess than anything useful. Going by the "last beat" makes more sense. 2004-10-22 02:28:24 +00:00
Ben Anderson 6fca202800 Not all Linux systems have a header that declares _CS_GNU_LIBPTHREAD_VERSION (Slackware 9.0 included apparently) 2004-03-14 19:46:16 +00:00
Ben Anderson 105f307d5f Added necessary include 2004-03-14 15:08:10 +00:00
Ben Anderson e3e1410ba8 Added 3D metrics. That was an, interesting, experience. 2003-11-17 23:03:59 +00:00
Ben Anderson bdb280256e If only people wouldn't use MSVC6... oh well. 2003-11-07 23:28:26 +00:00
Ben Anderson 31f6ad7215 Take a look at the diff, and take a wild guess. 2003-11-01 23:43:22 +00:00
Ben Anderson 093018ddb6 Added Attack. wolfman2000, you've been waiting for this... 2003-10-26 22:25:08 +00:00
Ben Anderson 66a34d1345 Added more things than I can remember... 2003-10-15 02:32:28 +00:00
Ben Anderson 939a0cee10 SDL_Types.h isn't around anymore; I'm assuming this file wasn't updated since then since it compiles without the #include. 2003-10-15 01:48:04 +00:00
Ben Anderson 627ecc3685 Case counts on Linux 2003-10-15 01:44:35 +00:00
Ben Anderson c0de92976a Added ScreenCenterImage and ScreenTestInput. Made Makefile.am harder to read :p 2003-10-11 18:33:40 +00:00
Ben Anderson cab3ed795f SaveGamePrefsToDisk / ReadGamePrefsFromDisk have been moved... 2003-10-04 01:30:14 +00:00
Ben Anderson a7e09954ef Include CharacterHead 2003-09-29 21:35:04 +00:00
Ben Anderson 15655ea98b Another chunk of code tested using VC6, I see... 2003-09-22 00:51:10 +00:00
Ben Anderson 2a58216a94 The usual complaint about ISO 'for' scoping from GCC, blah blah 2003-09-22 00:41:38 +00:00
Ben Anderson c1889a8afd Auto-map EMS USB2 on Linux 2003-09-11 02:42:29 +00:00
Ben Anderson bccafc6bec Changed the screenshot key to F11 so that at least it works in Linux. Feel free to think of a better solution. 2003-08-27 01:30:32 +00:00
Ben Anderson 805c9a2288 GCC was bitching again. 2003-08-24 18:35:48 +00:00
Ben Anderson f820850b0e Works on Linux 2003-08-20 14:31:55 +00:00
Ben Anderson dd38711f1a Add BeginnerHelper 2003-08-20 13:30:20 +00:00
Ben Anderson 2ea4f58497 Er... Well, it makes GCC happy. 2003-08-20 11:48:30 +00:00
Ben Anderson 180642b826 Add NoteFieldPlus 2003-08-17 01:05:15 +00:00
Ben Anderson a9d4a508fb Case counts on Linux 2003-07-16 20:11:03 +00:00
Ben Anderson e882f9d3b2 Case counts on Linux 2003-07-11 18:08:57 +00:00
Ben Anderson 74f93ed4cd Case counts on Linux 2003-07-11 16:52:58 +00:00
Ben Anderson 897caf4cee Case counts on Linux 2003-07-07 22:12:12 +00:00
Ben Anderson 9d52c28315 Quite a few target changes so that the build works once again 2003-07-02 16:28:58 +00:00
Ben Anderson 5025eba307 ISO for scoping compliance blah blah 2003-06-21 15:58:19 +00:00
Ben Anderson ec2730119c ISO forbids using variables declared in for loop iterators outside the for loop blah blah... 2003-06-19 19:27:14 +00:00
Ben Anderson b103519bd7 Added DifficultyDisplay to the build 2003-06-18 15:52:34 +00:00
Ben Anderson 7335e3a51d GCC had a complaint re: ISO compliance, this shut it up 2003-06-16 23:23:03 +00:00
Ben Anderson a0eb0316da Whoops, we don't have ScreenPlayerOptions2 anymore 2003-06-16 22:02:03 +00:00