Andrew Kurushin
50c2d8954d
finally Resource manager rewritten:
...
-adds patch file support
-global _vm removed
cleanups
svn-id: r18560
2005-07-19 19:05:52 +00:00
Andrew Kurushin
150fe60d88
code cleanups
...
transitionDissolve -> gfx
del sdebug
svn-id: r18524
2005-07-09 17:11:41 +00:00
Andrew Kurushin
c2f1691bad
gfx rearangement
...
code cleanups
svn-id: r18523
2005-07-09 16:23:45 +00:00
Andrew Kurushin
d944bd7793
implemented per scene actors clipping
...
so last sequence should look much better (not perfect)
svn-id: r18516
2005-07-08 16:56:03 +00:00
Eugene Sandulenko
57858a8757
Hid most of debug output to deeper levels. We're pretty close to official
...
launch so it should be invisible to users.
svn-id: r18497
2005-07-05 16:58:36 +00:00
Torbjörn Andersson
9895b64cfe
SAGA no longer has its own line-drawing code, so this comment no longer
...
applies.
svn-id: r18495
2005-07-05 15:33:09 +00:00
Eugene Sandulenko
cdead6d57b
- Stripped down unused SURFACE parameter in palette-related functions
...
- Fixed scenes glitch when loading saved game. This is done by closing
load window right after game is loaded which differs from original but
seems more logical to me
- Fixed wrong palette when Dragon maze was loaded from a savegame. We just
didn't process Palette resource for it.
svn-id: r18494
2005-07-05 15:15:35 +00:00
Torbjörn Andersson
2e868658da
Cleanup.
...
svn-id: r18491
2005-07-04 07:47:04 +00:00
Eugene Sandulenko
6e68d8927e
Fix bug #1216439 "SAGA: run-length slice typo in online source". Actually
...
I just zapped custom line drawing routine and use that one from OSystem.
svn-id: r18368
2005-06-09 00:42:16 +00:00
Eugene Sandulenko
65ade039ec
o Fix save/load. Now it restores game properly but still at exit #0 .
...
o Proper background for inset rooms. Crowd is gone now.
o Draw black border around inset rooms.
svn-id: r17744
2005-04-22 01:38:27 +00:00
Eugene Sandulenko
0523480a70
Applied patch #1106775 "SAGA colours". This simplifies code considerably, and
...
moreover getBlack() didn't always work correctly for some reason. If IHNM
uses different colors we will switch to variables, but that could be addressed
later or at least when someone will start to work on it more time than now.
svn-id: r16647
2005-01-27 20:07:04 +00:00
Eugene Sandulenko
e488ddc7c2
Fix cursor shape.
...
svn-id: r16606
2005-01-21 23:18:32 +00:00
Torbjörn Andersson
0228f1645f
Use the kITEColor constants for the ITE mouse cursor. Ironically, this is
...
one case where the original didn't use its own colour constants, so I had
to add a new one, kITEColorLightGrey, for colour 4.
svn-id: r16603
2005-01-20 13:59:12 +00:00
Torbjörn Andersson
139f57a29d
Use the same hard-coded cursor image and colours as the original ITE
...
interpreter. Supposedly these colours will stay fairly constant throughout
the game, in which case we no longer need to repaint it with the "best
white" colour every time the palette changes.
svn-id: r16561
2005-01-15 13:41:57 +00:00
Torbjörn Andersson
cfe84492ad
Placard functions are now event-driven, so the blocking palette faders are
...
no longer needed.
svn-id: r16450
2005-01-06 16:07:46 +00:00
Max Horn
2664ca7eb1
oops, correct copyright string
...
svn-id: r16399
2005-01-01 16:20:17 +00:00
Max Horn
47280d9433
Updated copyright
...
svn-id: r16398
2005-01-01 16:09:25 +00:00
Eugene Sandulenko
904af077e3
Let user exit at the transition, i.e. process user input
...
svn-id: r16372
2004-12-29 19:17:20 +00:00
Torbjörn Andersson
a5656fa83e
Implemented the "placard" functions, because they're such a nice visual
...
feedback that something right is happening.
svn-id: r16371
2004-12-29 16:10:53 +00:00
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