Commit Graph

39 Commits

Author SHA1 Message Date
Eugene Sandulenko
7bb53f3bf1 Patch #1013937 "OSystem layer with bigger resolution". Now you will always
get at least 640x400 window. And finally we have means of implementing
nice looking GUI.

Also updated all backends. If your backend has ability to run with 640x400 or
640x480 resolution then read patch tracker item to find out details. Other
port maintainers shouldn't worry, as this patch doesn't affect them, they
still get their 320x200.

svn-id: r17055
2005-03-09 23:07:32 +00:00
Max Horn
0423866e0a Ensure these headers match the rest of ScummVM
svn-id: r16505
2005-01-09 16:07:53 +00:00
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
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
Jonathan Gray
31970a7877 compilation fix from Nicolas Joly, bug #976657
svn-id: r14000
2004-06-22 10:43:00 +00:00
Max Horn
88fdb5a627 Removed default value for keycolor in the OSystem implementations
svn-id: r13796
2004-05-06 09:20:21 +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
14378cb56e Renamed more OSystem methods
svn-id: r13410
2004-03-28 16:30:50 +00:00
Max Horn
5c7ff63715 Updated X11 backend to compile again (I do not know if it works, though)
svn-id: r13355
2004-03-21 18:52:12 +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
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
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
Jonathan Gray
88deb72ba6 patch #896094, Some X11 backend fixes from Gregor Jasny
svn-id: r12835
2004-02-13 00:44:30 +00:00
Max Horn
d8fb44ffc5 Patch #862283 (Help X11 backend to compile on FreeBSD)
svn-id: r11749
2003-12-18 20:20:01 +00:00
Jonathan Gray
8ce682d330 spelling fixes
svn-id: r11181
2003-11-07 02:51:08 +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
be9d4066e1 moved engine.* to base; this fixes some linking issues when building a barebone ScummVM (or maybe I just want to increase our CVS stats? <g>)
svn-id: r10287
2003-09-18 02:07:18 +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
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
73e7afaf18 adjusted to play_cdrom parameter name change in common/system.h
svn-id: r9132
2003-07-22 20:36:43 +00:00
Max Horn
8c9b152f31 const fix; expannded TODO comment a bit
svn-id: r8813
2003-07-06 19:31:44 +00:00
Jonathan Gray
fb6b42bb93 make x11 backend compile again, still doesn't actually work though...
svn-id: r8789
2003-07-06 05:51:41 +00:00
Max Horn
4611b12c0a updated backends to use type MutexRef
svn-id: r8776
2003-07-05 15:17:46 +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
Jonathan Gray
31a7881630 make x11 backend actually compile again, seems to cry about xshmputimage when I try to run it however
svn-id: r7466
2003-05-12 05:22:46 +00:00
Lionel Ulmer
26b284a93e Some other inits added to prepare for the 'new / delete' overloading
removal.

svn-id: r5537
2002-11-13 15:44:33 +00:00
Lionel Ulmer
d4fc414937 Added some needed initializations.
svn-id: r5534
2002-11-13 15:14:08 +00:00
Lionel Ulmer
6c4cb7346c Fix key repeat in the GUI.
svn-id: r5385
2002-11-02 17:44:06 +00:00
Lionel Ulmer
ffebcc826b Make X11 driver work with overlays and all the stuff. Rework by the
same occasion the mouse code.

RFH: if anyone has a DOTT save game just before the car cleaning in
     the past, I would like to have it to test the (untested) code to
     move the screen.

svn-id: r5383
2002-11-02 15:13:08 +00:00
Max Horn
e0f11edf45 quit should not exit(1) but rather exit(0) (mabye we should add a paramter 'bool success' to it that flags whether this is a normal exit or one with an error?)
svn-id: r4979
2002-09-20 00:12:58 +00:00
Michael Pearce
0fbefc72aa Applied roever's screen effects patch (#602595) and fixed LethalWP's Makefile ;)
svn-id: r4909
2002-09-09 05:56:11 +00:00
Max Horn
31853df454 compilation fix
svn-id: r4865
2002-08-29 19:40:51 +00:00
Max Horn
ee3ea28e6c first go at modularizing the build system
svn-id: r4796
2002-08-21 17:35:46 +00:00
Max Horn
7aac293726 fixed the 'intelligent' GCC build rules; added .cvsignore files
svn-id: r4790
2002-08-21 16:28:19 +00:00
Max Horn
ce46866403 Initial revision
svn-id: r4785
2002-08-21 16:07:07 +00:00