Commit Graph
100 Commits
Author SHA1 Message Date
Steve Checkoway 2ca163bf00 oops 2005-10-30 13:53:10 +00:00
Steve Checkoway 3cb0889324 Fix ppc linux compile. 2005-10-30 13:11:15 +00:00
Steve Checkoway 91c38af1f7 Add/remove files. 2005-10-30 09:47:11 +00:00
Steve Checkoway 8d56d70e0f Move ExitGame into GameLoop.h. 2005-10-30 09:45:52 +00:00
Steve Checkoway 33c0408ca2 Move ExitGame into GameLoop.h 2005-10-30 09:45:39 +00:00
Steve Checkoway eea687a01a Fix warning. 2005-10-30 09:44:25 +00:00
Steve Checkoway 74bfe9f8a2 License. 2005-10-30 08:53:21 +00:00
Steve Checkoway c576663c15 Add cursor hack since SDL_ShowCursor fails. Also, prevent resizing the window. 2005-10-30 08:51:02 +00:00
Steve Checkoway 5ff545cbf2 Use setNeedsDisplay: since I think display: should only be called from the GUI thread. 2005-10-30 08:38:03 +00:00
Steve Checkoway 962652291d Cleanup. 2005-10-30 08:36:10 +00:00
Steve Checkoway 950e10c761 remove 2005-10-30 07:13:20 +00:00
Steve Checkoway a867e5a301 Replace SDLMain.* This still class SDL_main(), for now. 2005-10-30 07:09:56 +00:00
Steve Checkoway abf7399207 Apparently some DWIs use a tab for a separator. 2005-10-29 14:57:04 +00:00
Steve Checkoway ad6191e6d9 If you tell gcc to consider floating point constants as single precision (since that's most of what's used in SM), it warns here. This just shuts it up. 2005-10-29 13:04:07 +00:00
Steve Checkoway 4ce7d47899 Cleanup. 2005-10-29 12:22:43 +00:00
Steve Checkoway 3c0deebeba Actor::DrawPrimitives() does nothing. 2005-10-29 11:38:23 +00:00
Steve Checkoway e41570a8f8 Cleanup and simplify. 2005-10-28 14:21:23 +00:00
Steve Checkoway c4195979f3 Clean up a bit, remove useless code. Some work needs to be done to fix up the menu bar situation. 2005-10-28 08:07:53 +00:00
Steve Checkoway 42f4598f50 Add license. 2005-10-28 08:05:32 +00:00
Steve Checkoway 1726efed12 GetPreferredLanguage. 2005-10-28 08:04:44 +00:00
Steve Checkoway fd28146428 Fix beeps by just not posting keydown events. 2005-10-28 05:40:37 +00:00
Steve Checkoway c6c04d8c6b Remove out of date comment, cleanup. 2005-10-25 02:53:35 +00:00
Steve Checkoway 04d79278d4 Cleanup. Fix beeping when pressing certain keys while windowed. It still beeps in full screen and command key presses beep all the time.
I need to just replace SDL entirely to fix this. LowLevelWindow is all that remains.
2005-10-24 13:41:01 +00:00
Steve Checkoway 7280c1ccb3 Simplify. 2005-10-24 13:39:10 +00:00
Steve Checkoway fcff93222e Get the product description. 2005-10-24 12:46:25 +00:00
Steve Checkoway 55f9fe93be *shurg* it thinks they're newer. 2005-10-24 12:29:48 +00:00
Steve Checkoway 878247f51d Update. (I hope this adds the shell script phase to fix problems with ranlib.) 2005-10-24 11:46:48 +00:00
Steve Checkoway 8310140755 Set new arbitrary values with the input handler above the sound decoder. 2005-10-24 11:40:43 +00:00
Steve Checkoway ff9f7d25c5 Test having SM not run in the main thread. This is most noticeable during the loading window since events are still processed.
It's possible that this causes problems if something in SDL or SM absolutely must be run in the main thread. One thing to consider is lowering the main thread's precedence.
2005-10-24 11:29:34 +00:00
Steve Checkoway 10688caf8e Use SetThreadPrecedence(). 2005-10-24 11:21:46 +00:00
Steve Checkoway 05201a047c Header cleanup. Use SetThreadPrecedence() and add potential replacement code for GetCurrentTime(). 2005-10-24 11:21:17 +00:00
Steve Checkoway a1e97116b5 Cleanup and add SetThreadPrecedence(). 2005-10-24 11:18:28 +00:00
Steve Checkoway 2e84aba3a4 The new OS X input driver returns F13 for the F13 key. It might decide to return print screen for non-apple keyboards depending on the keyboard. Support both and keep cmd-F12 for laptops. 2005-10-24 11:18:01 +00:00
Steve Checkoway aa0f90feae __MACOSX__ --> MACOSX, keep __MACOSX__ for ogg. 2005-10-24 10:37:56 +00:00
Steve Checkoway 35ad7eb289 Support preferred sample rates and report the latency more correctly. 2005-10-24 08:55:25 +00:00
Steve Checkoway 5156e4cbf5 Cleanup. 2005-10-24 08:19:04 +00:00
Steve Checkoway cb229a8774 Remove redundant defines. 2005-10-24 08:17:12 +00:00
Steve Checkoway 3f93a76b21 Header cleanup. 2005-10-24 07:37:38 +00:00
Steve Checkoway 532b115aa6 Remove unnecessary. (Funny comment though.) 2005-10-24 06:51:20 +00:00
Steve Checkoway a2c1b1443d Cleanup. 2005-10-24 05:28:38 +00:00
Steve Checkoway 5d41ae8076 Update Library project. 2005-10-23 09:54:37 +00:00
Steve Checkoway 7888f7b53d Add theora. 2005-10-23 09:53:14 +00:00
Steve Checkoway e1ba368806 Update project file. 2005-10-23 09:52:29 +00:00
Steve Checkoway 1a78603d2a Add static libs. 2005-10-23 09:51:52 +00:00
Steve Checkoway 836762c977 update 2005-10-19 21:39:27 +00:00
Steve Checkoway 58323e3387 Use InputHandler_Carbon 2005-10-19 21:21:55 +00:00
Steve Checkoway 268b4007f8 Finish InputHandler_Carbon and use it. 2005-10-19 21:12:18 +00:00
Steve Checkoway 298925586e oops. 2005-10-19 20:25:12 +00:00
Steve Checkoway 9d6b0890a5 Work on keyboard handler. Nearly there. 2005-10-19 11:23:21 +00:00
Steve Checkoway 0257336607 Some sort of project update. 2005-10-19 07:25:55 +00:00
Steve Checkoway 85e0e3a1ec Prepare code for adding a KeyboardDevice by putting common code into a Device abstract class. 2005-10-18 09:00:53 +00:00
Steve Checkoway fd65b7e34e Cleanup, the carbon events aren't being dispatched so this will be done in the same way as the joysticks. 2005-10-18 07:48:02 +00:00
Steve Checkoway d070a41916 Cruft. 2005-10-17 11:53:20 +00:00
Steve Checkoway 19631fe280 Add Input thread. Remove DictValue since I managed to break it converting from a macro to a static inline function. That took about an hour to track down. 2005-10-17 11:04:31 +00:00
Steve Checkoway 944b1dd231 Cleanup. 2005-10-17 07:04:26 +00:00
Steve Checkoway 01d315364a Fix gcc (3.3) compile. 2005-10-17 06:55:58 +00:00
Steve Checkoway 849980cf74 Uglify. Ignore 80 column rule without going too far past.
Use inline functions instead of the two macros. No other nonspacing changes.
2005-10-16 23:09:00 +00:00
Steve Checkoway a0c117cd52 Initial input manager. The HID code works (so joysticks work) but the Carbon event handler is not being called. I might need to completely remove SDL first, or I might need to use some other API.
I'd rather not do this with HID, for fairly obvious reasons.
2005-10-15 07:30:16 +00:00
Steve Checkoway c7891c158b Fix memory leak. 2005-10-15 03:39:14 +00:00
Steve Checkoway 1e404783b9 Fix warnings. 2005-10-15 03:25:42 +00:00
Steve Checkoway 1150c33a57 Cleanup. 2005-10-14 07:20:14 +00:00
Steve Checkoway 74788af655 Fix compile (but not link--see list) on PPC linux. 2005-10-08 11:56:36 +00:00
Steve Checkoway 2a188c4ddd Add files. 2005-10-03 20:26:17 +00:00
Steve Checkoway 6ea0da1f43 Merge in changes from the 3.9 branch. 2005-10-03 20:26:00 +00:00
Steve Checkoway 186ed0f0ac It compiles but crashes with: Crash reason: ScreenNameEntry, ScreenMusicScroll, during ScreenNameEntry. 2005-09-26 08:10:04 +00:00
Steve Checkoway 594983dbdf Add/remove files, revert to gcc 3.3 and resume supporting 10.2.8. 2005-08-20 06:20:49 +00:00
Steve Checkoway 7f49cdd5ab Fix compile for 10.2.8. 2005-08-20 06:20:16 +00:00
Steve Checkoway 6289241cdb namespace pollution fix 2005-08-20 06:19:33 +00:00
Steve Checkoway d837282c96 Unneeded on OS X, it's in stdlib.h 2005-08-20 05:28:48 +00:00
Steve Checkoway 3447df45f0 Fix crash. 2005-08-19 21:55:46 +00:00
Steve Checkoway 55b586e0e5 "Rotate left word _immediate_ then AND with Mask" The compiler must actually know the constant value. Declaring it const seems to work. 2005-08-19 18:53:34 +00:00
Steve Checkoway f16c913ff3 Add/remove files. 2005-07-16 09:33:32 +00:00
Steve Checkoway 575ac70ef4 Fix compile. (I think this is correct based on what another screen does.) 2005-07-16 09:33:20 +00:00
Steve Checkoway 2a179a0380 Backing out of the final stage prevents getting extra stage. Backing out of extra stage (or second extra stage) fails the stage. 2005-06-29 07:57:15 +00:00
Steve Checkoway aa71c794ec Fix warnings. 2005-06-29 06:36:51 +00:00
Steve Checkoway cf77a123e7 Fix log always reporting:
Unknown lights driver name: Null
2005-06-23 17:19:33 +00:00
Steve Checkoway d7e2cf3bf3 update to Xcode 2.1 2005-06-23 16:58:07 +00:00
Steve Checkoway 640f5cf646 No. 2005-06-23 15:51:56 +00:00
Steve Checkoway 2f126143ec Remove files and update header include path. 2005-06-23 05:52:26 +00:00
Steve Checkoway 237054db79 I'm not even using these, but someone might be so I might as well make them faster. 2005-06-23 05:52:05 +00:00
Steve Checkoway 0d200bc461 More 64 bit compile fixes. 2005-06-23 04:51:12 +00:00
Steve Checkoway 99387583f9 DARWIN -> __MACOSX__ 2005-06-21 08:56:36 +00:00
Steve Checkoway 1795ac93c1 Cleanup. 2005-06-21 08:24:20 +00:00
Steve Checkoway d8cb958fe4 update 2005-06-21 08:09:16 +00:00
Steve Checkoway 20118bc43a comment 2005-06-21 08:06:59 +00:00
Steve Checkoway 0bb1e19481 Fast matrix and vector multiply on Mac OS X. 2005-06-21 08:04:42 +00:00
Steve Checkoway 5fd18e730a Fix "too few template-parameter-lists" error. 2005-06-20 11:20:30 +00:00
Steve Checkoway fc9c08f8d4 Remove all references to my build directory. Make this work as it did with previous versions of Xcode. 2005-06-19 11:19:08 +00:00
Steve Checkoway adfec6e2c8 Update 2005-06-19 11:18:27 +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 904bb8e246 Fix warning. 2005-06-19 06:39:49 +00:00
Steve Checkoway 4d18c5e4ca Classes with virtual functions need virtual dtors. 2005-06-19 06:37:28 +00:00
Steve Checkoway c5d1558f0f Fix uninitialized variable warning. 2005-06-19 06:36:08 +00:00
Steve Checkoway d90d69f934 newline 2005-06-19 01:38:56 +00:00
Steve Checkoway 35db5ffcc2 Fix warning. 2005-06-19 00:29:42 +00:00
Steve Checkoway 578b2f5c39 Don't break after return. It confuses g++ (slightly). 2005-06-19 00:28:12 +00:00
Steve Checkoway cc8aa318ba For some reason, g++ cannot determine that the break statements will not be reached. Removing them removes the warning. 2005-06-19 00:26:20 +00:00
Steve Checkoway c1f4c33fb9 Fix format string. 2005-06-19 00:21:48 +00:00
Steve Checkoway 12a2e1ae61 Update for Xcode 2.1, plus add/remove files. 2005-06-08 17:27:52 +00:00