Commit Graph

53 Commits

Author SHA1 Message Date
Andrew Kurushin
8ea88c95d6 - fixed tile doors drawing
- right mouse action fixed

svn-id: r17347
2005-04-03 15:32:04 +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
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
0b4fd4adbf - merged ActionMap and ObjectMap
- remove ActionMap.h & ActionMap.cpp
- ObjectMap names move to Scene::_sceneStrings as in original engine
- fix wrong StringsTable::stringsCount calculation

svn-id: r16592
2005-01-18 11:55:31 +00:00
Max Horn
cffd917165 system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
svn-id: r16527
2005-01-10 22:06:49 +00:00
Andrew Kurushin
31ceb0bb71 - GameModule is gone
- structures renamed
- SagaEngine class gives all current game descriptions
regression : "verb" is broken cause work in  progress

svn-id: r16511
2005-01-09 23:41:22 +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
Andrew Kurushin
00c98c519e - implement faceTowards (script function & etc)
- implement debug actor walk path (press f6)

svn-id: r16456
2005-01-06 19:15:01 +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
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
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
Andrew Kurushin
62224e135b - updating actors state so they can be clipped on drawing (intro now runs without artefact)
- order list now uses only in draw section
- drawList rename to drawActors

svn-id: r16122
2004-12-18 20:33:02 +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
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
64a91605a1 Initial attempt at fixing the SData problem. I'm still not sure exactly how
to fix the script "static" area, though.

In addition, initialise a few variables, and test for NULL-ness of a few
pointers. This fixes a few crashes I saw with yesterday's CVS snapshot.

There's still an unexpected scene change in the intro (I think it triggers
on Rhene walking too close to the exit), but at least it no longer crashes.

svn-id: r15484
2004-10-09 07:39:46 +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
4dc49e713b Turn ObjectMap into real object.
svn-id: r15457
2004-10-07 23:02:19 +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
23d5d1fb82 Move SYSINPUT_* and TRANSITION_* to SagaEngine class
svn-id: r14555
2004-08-11 14:04:12 +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
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
Eugene Sandulenko
98816ad3ae Objectize actor.cpp
svn-id: r14441
2004-08-02 15:47:42 +00:00
Jonathan Gray
dcf5805440 create objectMap class
svn-id: r14440
2004-08-02 15:44:18 +00:00
Jonathan Gray
e4c813670f remove timer wrapper functions
svn-id: r14437
2004-08-02 12:41:40 +00:00
Jonathan Gray
c8d9018909 init _gfx in a less hacky manner
svn-id: r14420
2004-08-01 12:06:12 +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
bc900fde60 init some member vars
svn-id: r14414
2004-08-01 07:56:08 +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
d530fc7696 Objectize actionmap.cpp
svn-id: r14399
2004-08-01 00:03:45 +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
Eugene Sandulenko
c5836541fe Objectize render.cpp
svn-id: r14395
2004-07-31 23:00:48 +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
bb3ef09efa Removed unused stuff; cleanup
svn-id: r14052
2004-06-25 20:01:31 +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
Jonathan Gray
88ac74992c get rid of the last bits of SDL timer usage, SAGA should now be 100% OSystem
svn-id: r13729
2004-05-02 02:11:55 +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
0765b272ae Renamed files for consistency
svn-id: r13725
2004-05-01 23:46:23 +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
4b5e78b774 indent
svn-id: r13695
2004-05-01 07:50:08 +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