Commit Graph

76 Commits

Author SHA1 Message Date
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
f09293b22c Clean up OSystem::Event
svn-id: r15990
2004-12-05 17:42:20 +00:00
Max Horn
ba74a8e7f6 Added some more mixer doxygen docs; cleaned up Mixer API a bit, removing some very specialised methods
svn-id: r15914
2004-11-27 15:58:18 +00:00
Max Horn
8ac347fd95 Added OSystem::beginGFXTransaction / endGFXTransaction (not yet implemented, though :-)
svn-id: r15864
2004-11-22 23:25:08 +00:00
James Brown
2ae3166f2d Add new clearScreen OSystem call. Currently only implemented in SDL backend. This call is currently only used for clearing the launcher screen to remove garbage from the main screen before reentering.
svn-id: r15799
2004-11-13 04:33:33 +00:00
Max Horn
ccb8d04f35 Clarify OSystem::setPalette documentation (thanks for pointing this out, LordHoto)
svn-id: r15562
2004-10-15 19:54:14 +00:00
Max Horn
ce8c99bf62 Rename remaining OSystem methods to match our coding guidelines
svn-id: r15332
2004-09-28 20:19:37 +00:00
Max Horn
4bd05071e5 Got rid of OSystem::move_screen
svn-id: r14882
2004-09-04 01:31:04 +00:00
Max Horn
e5f90509a6 Cleaned up SaveFileManager stuff a little bit
svn-id: r14056
2004-06-25 22:11:48 +00:00
Eugene Sandulenko
b7e62e4b61 Extend setMouseCursor with additional keycolor parameter. Lets saga use 255
as white color. Made this function more safe by copying cursor data to
newly created buffer.

svn-id: r13777
2004-05-05 02:32:46 +00:00
Max Horn
39765b0d19 Remove explicit OSystem parameter from StackLock constructor; added OSystem::displayMessageOnOSD (not yet used; default implementation provided)
svn-id: r13413
2004-03-28 20:31:18 +00:00
Max Horn
14378cb56e Renamed more OSystem methods
svn-id: r13410
2004-03-28 16:30:50 +00:00
Max Horn
b72d7dff1b reorder content
svn-id: r13395
2004-03-28 12:15:49 +00:00
Max Horn
ab64ef93ec clarify OSystem specification (setTimerCallback() must be 'atomic')
svn-id: r13391
2004-03-27 18:30:30 +00:00
Torbjörn Andersson
4a6b57f295 Fixed typo.
svn-id: r13316
2004-03-16 08:24:58 +00:00
Max Horn
782dabbcd3 ...and mor. Next big thing should be to document the overlay stuff, but that'll have to wait till after I slept :-)
svn-id: r13295
2004-03-15 02:21:04 +00:00
Max Horn
b389dfa2a3 more tweaks to doxygen
svn-id: r13294
2004-03-15 02:09:28 +00:00
Max Horn
af80eef70e fix circular header dependency, by moving StackLock class to common/system.h (it ties closely into OSystem anyway)
svn-id: r13292
2004-03-15 01:52:07 +00:00
Max Horn
e8f7214acb Renamed OSystem::set_timer() to setTimerCallback(); more OSystem Doxygen changes
svn-id: r13289
2004-03-15 01:18:47 +00:00
Max Horn
f8610cd1c5 fix doxygen-comment mistakes
svn-id: r13286
2004-03-15 00:55:44 +00:00
Max Horn
e46ba2f29f Added OSystem::getDefaultGraphicsMode(); renamed OSystem::get_height() and get_width() to getHeight and getWidth(); augmented some doxygen comments in common/system.h
svn-id: r13284
2004-03-15 00:45:45 +00:00
Max Horn
f712d21c1d Document the backend feature flags a bit, I hope this clarifies their purposes; if not feel free to augment the descriptions or tell me what I should add (same goes for the rest of the OSystem documentation, BTW)
svn-id: r13252
2004-03-13 15:12:23 +00:00
Max Horn
c6752cccf5 renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
svn-id: r13087
2004-02-28 12:58:13 +00:00
Max Horn
d158280425 the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again
svn-id: r13036
2004-02-24 22:39:42 +00:00
Nicolas Bacca
9fd8466546 Cleaner virtual keyboard support for the new CE backend, coming soon
svn-id: r12457
2004-01-17 14:32:22 +00:00
James Brown
eeab2bb3bf Hack for Launcher Scaler dropdown. Backends using the Launcher will need to implement the OSystem HAS_SCALER property. The global options dialog still needs doing.
svn-id: r12436
2004-01-16 16:28:56 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Travis Howell
6f6675ed8b Add capture mouse option, patch #860831
Uses Ctrl m to toggle, since that is closest to original games.
Disabled by default.

svn-id: r11680
2003-12-16 09:58:21 +00:00
Paweł Kołodziejski
b5a7ef0822 cleanup whitespaces
svn-id: r11219
2003-11-08 22:43:46 +00:00
Max Horn
74b496a062 added PROP_GET_GFX_MODE; removed PROP_SHOW_DEFAULT_CURSOR
svn-id: r11132
2003-11-04 20:46:20 +00:00
Max Horn
b27a871f87 turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
svn-id: r11045
2003-11-02 02:18:16 +00:00
Max Horn
17bf7b95aa removed duplicate g_timer object (one was global, one was static to timer.cpp); set g_system earlier (might prevent a few race conditions)
svn-id: r10471
2003-09-28 21:08:48 +00:00
Max Horn
49d2a22b42 OSystem changes: removed create_thread() method (not needed anymore; 'pure' threads aren't very portable anyway, better we only use timers); introduced OSystem::TimerProc type
svn-id: r10430
2003-09-27 16:54:11 +00:00
Max Horn
b75626d1ce added explicit virtual destructor; added API which makes it potentially possible to have an overlay with a different size than than the 'normal' screen (e.g. if the game runs at 320x200 and a 2x scaler runs, the overlay could be made 640x400 big, if the backend supports that)
svn-id: r10326
2003-09-20 00:47:18 +00:00
Max Horn
6ac86b9760 added EVENT_SCREEN_CHANGED; small tweak to the way quit is handled in NewGui
svn-id: r10047
2003-09-06 20:21:54 +00:00
Max Horn
103112dd3d removed OSystem::set_mouse_pos (I hope I didn't break any backends, but if I did it should be trivial to get them working again)
svn-id: r9391
2003-08-02 00:36:38 +00:00
Max Horn
0df319e952 #include cleanup (explicityl specify the location for headers from common/, so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level)
svn-id: r9359
2003-08-01 12:21:04 +00:00
Max Horn
1b52e9f19c added new header file backends/intern.h; removed some stuff from common/system.h which is either only of interest to backends or code instantiating a backend (->backends/intern.h); also removed fmopl specific enums (->sound/fmopl.h)
svn-id: r9327
2003-07-31 12:33:33 +00:00
Max Horn
f7ee6d2ce1 use #define instead of enum here because that makes ccache more effective when changing sample rates
svn-id: r9326
2003-07-31 12:10:13 +00:00
Max Horn
88cf307273 start -> start_frame, to match backends (purely cosmetic :-)
svn-id: r9140
2003-07-22 23:27:41 +00:00
Max Horn
d15039d2e4 fixed play_cdrom docs
svn-id: r9131
2003-07-22 20:29:06 +00:00
Travis Howell
a4b5891dd1 Use automatic dirty rect code for simon games for now to reduce CPU usage
svn-id: r9093
2003-07-20 15:31:47 +00:00
Max Horn
8a7d540687 enforce use of type MutexRef
svn-id: r8778
2003-07-05 15:20:16 +00:00
Max Horn
11ff7fe9a3 Patch #757827: Aspect-ratio correction
svn-id: r8605
2003-06-22 11:55:40 +00:00
Max Horn
82af035f91 added clear_sound_proc method to backend API (this requires all backends to be modified, but can't help it)
svn-id: r8409
2003-06-09 01:19:25 +00:00
Max Horn
be9e6e85db added quit event
svn-id: r8398
2003-06-08 12:11:14 +00:00
Max Horn
e08d4f072e more OSystem docs & cleanup
svn-id: r8118
2003-05-29 22:34:35 +00:00
Max Horn
f0a9f4fb2c added some doxygen comments to common/system.h; cleaned up the OSystem interface a bit
svn-id: r8116
2003-05-29 21:45:26 +00:00
Chris Apers
1fbc3cf6d4 Add PalmOS port stuff
svn-id: r7261
2003-05-02 10:39:17 +00:00
Chris Apers
e76b56aa6f Change int16 to NewGuiColor in overlay/RGB functions
svn-id: r7259
2003-05-02 09:23:56 +00:00