Commit Graph
36 Commits
Author SHA1 Message Date
Eugene Sandulenko de815bac90 Fix break introduced with last commit :).
svn-id: r15893
2004-11-26 00:57:29 +00:00
Max Horn ca7f3814eb oops
svn-id: r15891
2004-11-26 00:24:25 +00:00
Max Horn e1cc9b9e59 Make use of new graphic primitives (untested, I don't have saga -- please don't kill if this breaks, it should be trivial for you to fix it :-)
svn-id: r15888
2004-11-25 23:51:52 +00:00
Eugene Sandulenko 31e434dcf1 Fix a`ll engines. They work, though current fix is just temporary.
There are plans to add some brains to GameDetector class, which will let us
avoid passing detector to init() method.

svn-id: r15873
2004-11-24 00:14:21 +00:00
Eugene Sandulenko e5cc4c629a o Restore cursor after walkthrough
o Add cursor events
o Hide cursor during intro

svn-id: r15844
2004-11-20 00:05:50 +00:00
Max Horn 4126001b86 Turn some methods into functions (potentially gives better code, and we may want to move some of those into the graphics/ module one day)
svn-id: r15703
2004-10-30 22:34:08 +00:00
Max Horn 06c46fe423 Let Saga::SURFACE inherit from SURFACE
svn-id: r15702
2004-10-30 22:13:48 +00:00
Paweł Kołodziejski c7e5ab1f2d removed R_ prefix with few r_ too
svn-id: r15690
2004-10-27 21:32:28 +00:00
Torbjörn Andersson f9f5845e2d Made the usage of the Rect data type more consistent with the rest of
ScummVM.

Note that these are only the cases I was able to find in one morning. There
may be others left to fix. But I'm sure at least most of them will be found
when we start cleaning up the codebase a bit.

svn-id: r15641
2004-10-22 07:21:17 +00:00
Torbjörn Andersson ed089f7f38 Fixed some clipping problems. I think there are more still in there, but I
am sorely tempted to rewrite so that we use the Rect datatype consistently
with how most of the rest of ScummVM does. (E.g. a rectangle covering the
entire ITE screen would have right and bottom as 320 and 200 respectively,
not 319 and 199 like I think we do now.)

svn-id: r15625
2004-10-21 06:47:21 +00:00
Gregory Montoir 43a62296cd pass arguments by reference-to-const rather than by value, it's usually more efficient...
svn-id: r15477
2004-10-08 19:58:49 +00:00
Eugene Sandulenko 94d9a2149b Implement scene change via exits. You still cannot leave first scene
because it goes to now buggy isometric level. Use debugger to switch
to some word, say, in Dog Castle and there you may go between rooms.

svn-id: r15462
2004-10-08 01:22:39 +00:00
Eugene Sandulenko 8b7740d8af R_POINT -> Common::Point, R_RECT -> Common::Rect. Less R_ prefixes.
svn-id: r15414
2004-10-04 23:09:38 +00:00
Jonathan Gray 7846a6ed61 move static vars to private members
svn-id: r14434
2004-08-02 11:27:50 +00:00
Jonathan Gray 0bbeb61f5e merge gfx_mod.h into gfx.h and stick functions into a class
svn-id: r14419
2004-08-01 11:48:53 +00:00
Jonathan Gray 182dd48bd4 merge reinherit.h into saga.h and gfx_mod.h, note the error loading animations wasn't caused by this commit :)
svn-id: r14405
2004-08-01 01:56:22 +00:00
Jonathan Gray 387c8abeda update comment to relfect reality
svn-id: r14386
2004-07-31 12:39:26 +00:00
Jonathan Gray c7d6425a38 remove YS_IGNORE_PARAM macro and some uneeded yslib.h includes
svn-id: r14385
2004-07-31 12:37:36 +00:00
Max Horn ca9448fe40 clearnup
svn-id: r14054
2004-06-25 21:47:37 +00:00
Max Horn bb3ef09efa Removed unused stuff; cleanup
svn-id: r14052
2004-06-25 20:01:31 +00:00
Jonathan Gray fc2044f743 Set graphics cursor before using it, fixes segfault when launching ihnm from the launcher. Fixes bug #966614
svn-id: r13934
2004-06-05 11:12:51 +00:00
Eugene Sandulenko 5a5e6ba868 Now cursor is really always shown.
svn-id: r13778
2004-05-05 02:35:33 +00:00
Eugene Sandulenko 86c055b796 Make sure cursor is always white
svn-id: r13750
2004-05-02 16:32:28 +00:00
Torbjörn Andersson 2617f36cb6 Made the cursor work a bit better in IHNM.
svn-id: r13749
2004-05-02 15:59:06 +00:00
Torbjörn Andersson 67d82f23d8 Got rid of r_softcursor by having the backend always draw the cursor
instead. This fixes graphics glitches in at least ITE.

Got rid of r_fullscreen, which wasn't even used anymore anyway.

svn-id: r13748
2004-05-02 15:44:19 +00:00
Eugene Sandulenko 90a876798a Merged sysgfx.cpp and gfx.cpp to gfx.cpp
svn-id: r13726
2004-05-02 00:00:39 +00:00
Eugene Sandulenko 66876dc1d1 Proper #includes everywhere
Improved game detector

svn-id: r13724
2004-05-01 23:42:22 +00:00
Eugene Sandulenko c0772498b6 All graphics and input now is in OSystem.
Only timers left.

svn-id: r13723
2004-05-01 19:41:47 +00:00
Eugene Sandulenko d82c9bd640 Remove scalers, 16bpp code, unused functions.
svn-id: r13703
2004-05-01 09:40:47 +00:00
Paweł Kołodziejski b3fe9ee32a indent
svn-id: r13693
2004-05-01 07:32:48 +00:00
Eugene Sandulenko 1353e2d2dc Move from custom unsigned types to those provided by main config.h
svn-id: r13687
2004-04-30 23:02:23 +00:00
Eugene Sandulenko d6e78803db Fixed crash. Original clip routine was more sane.
Some code formatting.

svn-id: r13658
2004-04-28 02:11:09 +00:00
Max Horn abc8dca073 more cleanup
svn-id: r13625
2004-04-25 16:06:22 +00:00
Max Horn ae1b03a1f5 More ScummVMification
svn-id: r13624
2004-04-25 15:14:46 +00:00
Max Horn d4f876b37d Fix many warnings; use C++ type system instead of C style typedefs; removed various unused stuff; const correctness; etc.
svn-id: r13622
2004-04-25 14:42:14 +00:00
Eugene Sandulenko f3d340fb0c WIP for SAGA engine.
o text formatting is not consistent with rules, just indent utility is too
   dumb for that
 o it does not use OSystem, i.e. it runs on direct SDL calls
 o it may not even compile on your box
 o if you enable it, expect zillions of warnings
 o no sound

Now it runs ITE intro as reinherit did

svn-id: r13564
2004-04-12 21:40:49 +00:00