Eugene Sandulenko
ea42bad781
Update copyright notice
...
svn-id: r20088
2006-01-18 17:39:49 +00:00
Torbjörn Andersson
641caf7e73
Hopefully fixed IHNM sprite clipping. (IHNM sprites are upside down
...
compared to ITE sprites, so to simplify things they are now flipped after
they are decoded.)
svn-id: r20002
2006-01-13 19:07:49 +00:00
Eugene Sandulenko
b36677af71
Update FSF address. Eek. Actually that took place on May 1, 2005
...
svn-id: r19142
2005-10-18 01:30:26 +00:00
Torbjörn Andersson
2a562aa8ad
I was going to fix the IHNM sprite loader, but when I got here this morning
...
sev had already done that. All that was left for me was this final bit of
cleanup. :-)
svn-id: r19014
2005-10-11 06:08:42 +00:00
Eugene Sandulenko
f715044e4e
Some IHNM changes:
...
o Fix status text color. (Though text is all ITE-specific)
o Enable inventory drawing
o Load inventory sprites
o Hid now unneeded actor loading debug output
svn-id: r19011
2005-10-11 02:22:53 +00:00
Eugene Sandulenko
02bcf56072
Fixed sprite loading. Now that ugly hack is gone, no wrong reads and every
...
chapter is selectable without crash. As a side effect all buttons now have
correct backgrounds ;).
svn-id: r19010
2005-10-11 01:42:21 +00:00
Torbjörn Andersson
6ce32fd4a5
IHNM verb panel fixes:
...
* Verb buttons and texts are drawn at the correct coordinates. I've
compared it to the screenshot on Mobygames.
* Verb text is drawn without shadow.
* The "Walk to", "Look at", "Take" and "Use" buttons all have the correct
background. For some reason, I can't find the sprites for the remaining
four buttons.
svn-id: r19004
2005-10-10 17:23:28 +00:00
Eugene Sandulenko
fe88687ce7
Show save reminder in IHNM correctly.
...
svn-id: r18996
2005-10-10 02:42:50 +00:00
Eugene Sandulenko
fc11b60674
Draw main panel. Buttons lack backgorunds and save reminder is buggy atm.
...
svn-id: r18994
2005-10-10 02:02:58 +00:00
Eugene Sandulenko
f5f57c9a23
Put actors on the ground. No more upside down. Though probably drawClip()
...
has to be fixed too, but now we have no test case for this.
svn-id: r18966
2005-10-08 20:09:00 +00:00
Eugene Sandulenko
528d2b2ca1
Now most artefacts are gone and we're in proper panel mode when running
...
character selection.
svn-id: r18961
2005-10-08 16:25:18 +00:00
Eugene Sandulenko
176f32bfa1
_vm->getSceneHeight() --> _vm->_scene->getHeight() and make it return different
...
scene height for individual panel modes.
svn-id: r18959
2005-10-08 15:20:11 +00:00
Eugene Sandulenko
313fe937f7
Cleanup sprite header reader.
...
svn-id: r18956
2005-10-07 10:44:48 +00:00
Eugene Sandulenko
fe48a00517
Draw acrtors (eriktorbjorn, rejoice).
...
It:
o breaks intro, as now everything seems to be shifted.
o Shows problem at our firt scene where there is no inventory drawn
o Shows problem with our animation code, actor frames are wrong
o Draws actors upside down and probably at wrong location
o Due to incomplete implementation of whichObject() it crashes when
you hover over characters.
svn-id: r18952
2005-10-07 05:31:13 +00:00
Eugene Sandulenko
7aa7430c41
Fix bug #1258479 "ITE: Graphical glitches in wildcat tribe"
...
svn-id: r18688
2005-08-15 01:01:52 +00:00
Eugene Sandulenko
c4758fd587
Fix bug #1257309 "ITE: Invalid read during startup"
...
svn-id: r18669
2005-08-12 10:55:17 +00:00
Eugene Sandulenko
215a94ae30
WIP on metaResources. Most resources are load. Now we start correct
...
scene. But there are following problems:
o Inclomplete support for actors speech, so opSpeak is skipped
o For some weird reason actors do not appear at all. Actually code seems to
be trying to read only protagonist frames
o It crashes on reading sprites due to wrong input
svn-id: r18624
2005-08-07 00:00:43 +00:00
Eugene Sandulenko
ec4f7d3d7c
Whitespaces
...
svn-id: r18595
2005-07-29 17:58:00 +00:00
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
528eedb2de
font & text related changes:
...
-rewritten font loading
-actors box text output implemented
-many fixes
-implemented nonactors textoutput
svn-id: r18542
2005-07-14 17:46:21 +00:00
Eugene Sandulenko
02d28a96ce
Fix bug #1235211 : "SAGA: Fails to compile with gcc4.0"
...
svn-id: r18526
2005-07-09 21:29:54 +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
Torbjörn Andersson
7e0033983f
Extended the sprite draw() functions so that a clip rect can be specified,
...
and used that to clip the puzzle piece being moved around to avoid
graphics glitches.
svn-id: r18515
2005-07-08 16:43:36 +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
792ca1aec4
Clip actors and objects to the scene (which may be an inset), and only
...
allow interaction with actors and objects inside this same area. Other hit
zones may - indeed must - still exist outside the inset, and they are not
affected by this patch.
This fixes some glitches at the glass makers's house in ITE.
svn-id: r18493
2005-07-05 06:12:40 +00:00
Eugene Sandulenko
bf928a5520
oops
...
svn-id: r18314
2005-06-02 22:34:55 +00:00
Eugene Sandulenko
8a835899fb
Implement game load with '-x' comman-line parameter.
...
Fix couple valgrind and compiler warnings.
svn-id: r18313
2005-06-02 22:14:57 +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
Max Horn
cca744f69a
Comply to our coding conventions
...
svn-id: r17975
2005-05-08 21:49:52 +00:00
Max Horn
969ef3dac9
* Added new virtual base class 'Stream', ReadStream and
...
WriteStream are now subclasses of it.
* Added new methods eos(), ioFailed(), clearIOFailed() to
all streams. This allows better error checking.
* SaveFile classes take advantage of these new standard
stream APIS
* Removed File::gets()
* Added SeekableReadStream::readLine() (replaces File::gets)
* Added WriteStream::writeString, for convenience
svn-id: r17752
2005-04-22 17:40:09 +00:00
Andrew Kurushin
cdede6caa4
implemented inventory
...
todo: timeout catchup & capital 'U' & 'D' handling
svn-id: r17748
2005-04-22 14:11:04 +00:00
Eugene Sandulenko
769b2fed46
o Unstubbed sfPreDialog -- we have enough code for that
...
o Started to restore inventory functionality
svn-id: r17666
2005-04-18 10:26:43 +00:00
Andrew Kurushin
bffeb58d06
fixed: sprite hittest, speech draws in screen bounds
...
svn-id: r17635
2005-04-16 16:55:35 +00:00
Andrew Kurushin
bbbd3b5fbf
iso mode drawing work in progress
...
svn-id: r16802
2005-02-18 00:00:00 +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
9353d54f95
implemented Sprite::hitTest
...
Actors & Objects can be hited
svn-id: r16596
2005-01-18 23:15:41 +00:00
Andrew Kurushin
244b227b19
- remove game.h & image.h
...
- all display information of current game goes to SagaEngine
- remove GameFontIds
- hide SagaEngine _gameId,_gameType & etc with methods getGameId(), getGameType()
svn-id: r16545
2005-01-11 21:10:36 +00:00
Max Horn
dd9335b232
fix warning
...
svn-id: r16498
2005-01-09 15:36:54 +00:00
Andrew Kurushin
f3b8221dd6
rewritten sprite class
...
- sprites decoded on first load
- some speed optimization
- actors uses kExtended flag to append spriteList
svn-id: r16497
2005-01-09 15:07:49 +00:00
Andrew Kurushin
bdb1b1eb1c
begining of verb implementation
...
introduced getObjectName
svn-id: r16491
2005-01-08 20:30:07 +00:00
Eugene Sandulenko
dee9b3bd87
o Fix regression with Win32 CD ITE at wyrmkeep logo
...
o Support for sprites in Mac versions
o Improvements on scene flags
o More code on proper interface modes handling. Just a tiny bit was committed
as other stuff breaks intro due to incompleteness.
svn-id: r16425
2005-01-04 17:15:53 +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
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
8e42cbde2a
Remove leftover debug message
...
svn-id: r16361
2004-12-28 21:04:58 +00:00
Eugene Sandulenko
3cfbc4082b
Partial fix for Mac intro. Sprites are still incorrect because of lack of
...
m68k asm knowledge :)
svn-id: r16356
2004-12-28 13:34:33 +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
c6c2ed9c48
Implement sprites scaling. Though it seems too zealous for me, i.e. sprites
...
scale down too fast. Will compare it with original soon.
svn-id: r16244
2004-12-21 16:12:03 +00:00