Commit Graph
48 Commits
Author SHA1 Message Date
Andrew Kurushin 3025db0d07 - changescene on fair for tents
- some memory deallocation fixup

todo: fix follower stuckiness in tents

svn-id: r17180
2005-03-18 17:11:37 +00:00
Andrew Kurushin 58ec0f0aad problems solved:
- Allow more than one script work at once
- Proper implementation of address methods

some opcodes may be broken - cause work in progress
todo: rewrite opcodes with new address functionality

svn-id: r16604
2005-01-21 21:55:54 +00:00
Andrew Kurushin 2f20dd57c2 some work in progress on verb stuff:
- many structers and fields renamed to proper names
- added missing functions

svn-id: r16562
2005-01-15 20:12:49 +00:00
Eugene Sandulenko c316ab62cf Eliminate _scene->getMode() and use scene flags instead
svn-id: r16482
2005-01-07 22:18:53 +00:00
Eugene Sandulenko 1fe593995d o Fix for popped up actors at initial scene fade out
o Stub for new Wyrmkeep demos with substituted scenes
o Converted some script func parameters to apropriate types
o More panel fixes

svn-id: r16472
2005-01-07 00:57:43 +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
Torbjörn Andersson b944ad808b Pausing an animation is done by changing its state now, not by setting a
flag. Added yet another event, and changed the ITE intro to reflect that.
(Which means the waterfalls are no longer drawn over the game title.)

svn-id: r16410
2005-01-02 15:45:38 +00:00
Torbjörn Andersson 5f6108052e Changed "sizeof x" to "sizeof(x)" for consistency with the rest of ScummVM,
and used ARRAYSIZE() instead in two cases.

svn-id: r16408
2005-01-02 14:52:11 +00:00
Torbjörn Andersson 1bc636aaa6 Fixed a few things in the IHNM intro. Most noticeably I've added an event
for starting animations, which I use to prevent the first animation frame
from being drawn too early.

svn-id: r16407
2005-01-02 14:36:00 +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
Andrew Kurushin d6a4ffc2b0 - many actor walk related functions added
- implemented script functions for scriptDoors (except iso mode)
- introduced getDisplayWidth() getDisplayHeight() getStatusYOffset getPathYOffset()

svn-id: r16363
2004-12-28 21:27:18 +00:00
Eugene Sandulenko 864b1f88c0 Implement rest of animation-related opcodes.
svn-id: r16353
2004-12-28 04:09:10 +00:00
Andrew Kurushin 241155c882 - aninamation cycle now approach to original
svn-id: r16290
2004-12-24 12:47:16 +00:00
Eugene Sandulenko 2fb8a8e453 o Moved GAME_* to SagaEngine object
o Renamed GAME_ITE_* to GID_ITE_*
o Renamed GID_ITE and GID_IHNM to GType_ITE and GType_IHNM

svn-id: r16258
2004-12-22 13:09:47 +00:00
Eugene Sandulenko 502b279d24 Patch #1081904 ITE: MAC demo support
o Endianness-aware resource loading
o Removed ys_dl_list in favor of our object implementation
o Cleanup in actor code
o Partial support for ITE Mac rereleased demo

svn-id: r16051
2004-12-15 00:24:12 +00:00
Torbjörn Andersson c64c7eb4d4 First pass at migrating from the old Reinherit console to the ScummVM
console.

Some things are likely to have broken. For instance, I believe the old
console was could be visible during gameplay, while ScummVM's is modal. So
any place where we output something to the console during gameplay should
probably be removed.

Some things I've stubbed out. Basically any code that registers a variable.

Most of the debugging commands are untested.

Syntax may have changed because of different command-line parsing. (I never
actually used the old console, so I don't know for sure. :-)

Actually, I'm not that interested in reproducing the old console commands
faithfully. What we should do now is to make the immediately useful console
stuff work. Anything that remains unimplemented should probably be removed.

svn-id: r15976
2004-12-03 19:15:44 +00:00
Torbjörn Andersson 66b8bcd7eb Added looping background noise to the IHNM intro. I don't know if it's the
correct sound or the correct volume, but the small extension to allow the
engine to start looping sounds is worthwhile enough in itself, I think.

svn-id: r15895
2004-11-26 13:28:00 +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
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 cebce0f536 Introduced script events to fix the "actors appear before fade-out" bug.
There are some minor music-related changes here as well, but that's just
cleanup.

svn-id: r15567
2004-10-16 07:46:52 +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
Eugene Sandulenko 94b377ce73 Handle fades in scene load routine.
Introduce immediate events.

svn-id: r14558
2004-08-11 22:27:39 +00:00
Eugene Sandulenko 23d5d1fb82 Move SYSINPUT_* and TRANSITION_* to SagaEngine class
svn-id: r14555
2004-08-11 14:04:12 +00:00
Eugene Sandulenko b13fc9f366 Improved intro. Now it correctly shows game title.
svn-id: r14544
2004-08-10 23:04:52 +00:00
Eugene Sandulenko 720ea20bed Moved PALANIM_* to a class.
svn-id: r14540
2004-08-10 19:20:33 +00:00
Eugene Sandulenko fe7ac87bc7 Move EVENT_* to a class.
svn-id: r14539
2004-08-10 19:00:30 +00:00
Eugene Sandulenko 632042dae4 Move CON_* to a class.
svn-id: r14538
2004-08-10 18:31:33 +00:00
Eugene Sandulenko 602cd289f3 Move INTERFACE_ to class.
svn-id: r14478
2004-08-06 01:39:17 +00:00
Eugene Sandulenko 51b5acfc9c Move SCENE_* to class.
svn-id: r14463
2004-08-04 20:28:57 +00:00
Eugene Sandulenko 415400f24e Move TEXT_* to SagaEngine class.
svn-id: r14450
2004-08-03 00:40:16 +00:00
Eugene Sandulenko 166b05aed4 Fix #include paths.
svn-id: r14443
2004-08-02 16:20:35 +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
Eugene Sandulenko c5836541fe Objectize render.cpp
svn-id: r14395
2004-07-31 23:00:48 +00:00
Jonathan Gray 59c88e428b merge animation.h and animation_mod.h into a class
svn-id: r14388
2004-07-31 13:34:43 +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
Torbjörn Andersson 148872d1fd Replaced R_printf() with debug() and warning(). There are still a couple of
standard printf()s left, though.

svn-id: r13791
2004-05-05 13:05:45 +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
Paweł Kołodziejski 7792c3fd5e indent
svn-id: r13691
2004-05-01 06:50:20 +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 bb8ee598c9 Music.cpp objectizing.
Initial MIDI checkin, doesn't work

svn-id: r13670
2004-04-29 03:52:59 +00:00
Eugene Sandulenko 4f25dbb45b Rename Snd object to SndRes
svn-id: r13665
2004-04-28 23:19:45 +00:00
Eugene Sandulenko 1ad6498bd5 Objectize sndres.cpp
svn-id: r13664
2004-04-28 23:10:59 +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
Torbjörn Andersson 7f0adec96e Fixed warning. (There are plenty of warnings in the SAGA engine, but this
one was obvious how to fix. :-)

svn-id: r13573
2004-04-13 09:14:19 +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