Commit Graph
38 Commits
Author SHA1 Message Date
Andrew Kurushin 79ce4de942 - all actors creates on start
- many parts renamed to proper names

regression: unexpected actor apeared while intro is played

svn-id: r16104
2004-12-17 20:38:17 +00:00
Andrew Kurushin 28e5422fd8 actors rearrangement bugfix
svn-id: r16094
2004-12-17 11:18:56 +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
Eugene Sandulenko 4295a17c23 o Make GAME_GetFileContext() more object-like
o Font::loadFont() now normally survives zero-length fonts as used in demos
o Removed unused SndRes::ITEVOC_Resample()
o Fixed playing of voice #4 on old DOS targets
o Implemented playing voices in VOX (Oki ADPCM) format
o Support of Win32 and Linux demos. There was old-style Win32 demo, which
  is not supported yet, same is with DOS demo.

svn-id: r15814
2004-11-15 03:03:48 +00:00
Torbjörn Andersson 18831f1df8 Cleanup
svn-id: r15720
2004-11-06 09:29:22 +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 dc796c9399 Better test for if it's the protagonist who leaves the scene.
svn-id: r15687
2004-10-26 07:02:32 +00:00
Torbjörn Andersson 1e062a6d89 A bunch of mostly panel-related fixes for the ITE intro. Apart from the
numerous animation glitches, it's looking almost like the real thing now.

It's no longer possible to walk away during the intro. This should provide
a great incentive to implement the "Escape" feature. ;-)

svn-id: r15626
2004-10-21 06:49:11 +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 bf905b2eeb More de-C'fying. Pass Point object instead of direct reference.
svn-id: r15458
2004-10-07 23:26:41 +00:00
Eugene Sandulenko 29a5f6bbd3 Remove duplicated code in actor walk code.
Turn ActionMap into real object.
Rename ActionMap variables to conform our code guidelines.

svn-id: r15456
2004-10-07 22:31: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
Eugene Sandulenko 3fe739efb2 Merge SDEBUG_*, SF_* and STHREAD_* into Script class.
svn-id: r14568
2004-08-12 23:57:45 +00:00
Eugene Sandulenko 632042dae4 Move CON_* to a class.
svn-id: r14538
2004-08-10 18:31:33 +00:00
Eugene Sandulenko b197c3dac8 Move SPRITE_ to a class
svn-id: r14451
2004-08-03 01:07:34 +00:00
Eugene Sandulenko 415400f24e Move TEXT_* to SagaEngine class.
svn-id: r14450
2004-08-03 00:40:16 +00:00
Eugene Sandulenko fe1ab79bee Move FONT_* to class.
svn-id: r14449
2004-08-03 00:06:18 +00:00
Eugene Sandulenko 166b05aed4 Fix #include paths.
svn-id: r14443
2004-08-02 16:20:35 +00:00
Jonathan Gray 79e2af8787 no longer needed
svn-id: r14442
2004-08-02 15:53:33 +00:00
Eugene Sandulenko 98816ad3ae Objectize actor.cpp
svn-id: r14441
2004-08-02 15:47:42 +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
Max Horn 4ef4583523 Oh the beauty of stack based objects: they free themselves automatically, so you don't leak them all the time (fixed 10e6 object leaks :-)
svn-id: r14417
2004-08-01 10:02:41 +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 46a1c45d70 Extended CVAR_RegisterFunc with callback object parameter.
Got rid of static structure in animation.cpp

svn-id: r14397
2004-07-31 23:33:14 +00:00
Max Horn fb188716d5 cleanup
svn-id: r14053
2004-06-25 20:11:46 +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 8de181f4f0 Move from ys_binread.cpp and ys_binwrite.cpp to MemoryReadStream.
In fact there were no binary writes at all.

svn-id: r13773
2004-05-04 03:33:03 +00:00
Eugene Sandulenko 51801dc503 Started work on moving from ys_read/write to MemoryReadStream
svn-id: r13769
2004-05-03 23:06:57 +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 1ac5aef647 indent
svn-id: r13688
2004-05-01 06:16:57 +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 4c889000f2 Objectizing sound.cpp
svn-id: r13667
2004-04-28 23:54:40 +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
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