Andrew Kurushin
c2f1691bad
gfx rearangement
...
code cleanups
svn-id: r18523
2005-07-09 16:23:45 +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
Eugene Sandulenko
de14b2337f
Implementation of sfShowMap. This was latest unimplemented script function :)
...
svn-id: r18487
2005-07-03 20:02:56 +00:00
Andrew Kurushin
b16a3634bf
placard workaround
...
svn-id: r18402
2005-06-16 16:46:50 +00:00
Andrew Kurushin
d3587c3a1e
fixed lense creation bug ( fade in/out now has separate flag)
...
svn-id: r18340
2005-06-04 15:02:17 +00:00
Eugene Sandulenko
0eb4e94116
Almost complete implementation of Puzzle. Now it is possible to solve it
...
successfully.
Things to do:
o non-actors speech, it just doesn't get displayed, though generated
o support for CD voices
svn-id: r18301
2005-05-31 01:03:13 +00:00
Andrew Kurushin
99b9fc7070
implemented DOS version 1 pixel clipping
...
game options WIP3
svn-id: r18293
2005-05-29 15:39:35 +00:00
Eugene Sandulenko
0ccb1b726b
Plug in Puzzle. Now it consists mainly of stubs but neverthless lets skip
...
the Puzzle and continue game pretending like you completed the Puzzle.
svn-id: r18225
2005-05-23 02:23:34 +00:00
Andrew Kurushin
3b01bef51b
fixes some todo (hardcoded resource ids -> customized per game)
...
preparation for option dialog (wip)
svn-id: r18217
2005-05-22 11:59:22 +00:00
Andrew Kurushin
284ef431e1
fixed loadsave item resource id
...
partialy fixed protect rat
svn-id: r18174
2005-05-18 18:28:10 +00:00
Max Horn
72f4c03b0b
Moved (In/Out)SaveFile(Manager) and Timer to namespace Common
...
svn-id: r18038
2005-05-10 23:17:38 +00:00
Andrew Kurushin
a81b093e65
fixed sfSceneEq bug
...
fixed load actors entrance
removed some orphans
svn-id: r17964
2005-05-08 14:04:06 +00:00
Andrew Kurushin
d52032c75c
converse support improved (still has some bugs)
...
fixed: now protagonist can't be target object
fixed: statusbar color
added: *mouseButtonPressed in SagaEngine
svn-id: r17672
2005-04-18 20:03:14 +00:00
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