Filippos Karapetis
1cc30572e6
SCI: Remove unneeded casts (thanks to wjp for pointing that out)
2011-10-28 22:54:02 +03:00
Filippos Karapetis
4ac2940bc5
SCI: Added skeleton code for kEditText (still not working)
2011-10-28 22:20:33 +03:00
Filippos Karapetis
ac559b0212
SCI: Renamed GfxControls to GfxControls16
2011-10-26 01:54:27 +03:00
Filippos Karapetis
84a185ede2
SCI: Added a detection for the second kSetShowStyle variant
2011-10-19 23:52:53 +03:00
Filippos Karapetis
513d0be106
SCI: Merged all the code to get/set the NS rect
2011-10-19 20:29:05 +03:00
Filippos Karapetis
2b9dc69ac0
SCI: Updated comments in kShowStyle() and kCelInfo()
2011-10-19 20:29:03 +03:00
Filippos Karapetis
85af217a5b
SCI: Implemented kObjectIntersect()
2011-10-19 20:29:02 +03:00
Filippos Karapetis
8609e22e40
SCI: Silenced warnings
2011-10-14 20:30:22 +03:00
Filippos Karapetis
b04a069782
SCI: More work on kBitmap (still WIP)
2011-10-14 14:07:01 +03:00
Filippos Karapetis
8d4e562555
SCI: Implemented kBitmap(3) and kBitmap(5). Some cleanup
2011-10-13 14:03:57 +03:00
Heather Douglass
084b2deccc
SCI: Implementation of kCelInfo subop 4
...
kCelInfo subop 4 returns the pixel color at the
passed in x,y coordinates for the passed in view,
loop, cel. Shivers uses this function for the
red door puzzle, room 23601 to determine what
blocks on the puzzle board are already occupied
by pieces.
2011-10-12 02:50:28 +03:00
Filippos Karapetis
4af034a7a9
SCI: Added proper handling of duplicate items in kAddScreenItem
...
- Items that are being readded to the scene should be updated instead
- Added a findScreenItem() call to simplify the code slightly
2011-10-12 02:44:16 +03:00
Filippos Karapetis
a9c6d2a4c4
SCI: Some work on the SCI32 bitmap / font code
...
- Initial implementation of kBitmap(0)
- Bugfixes for fonts in upscaled games
2011-10-11 02:33:45 +03:00
Filippos Karapetis
4cb9a2c809
SCI: kBitmap(1) is kDisposeTextBitmap
2011-10-11 02:03:40 +03:00
Filippos Karapetis
96ce226967
SCI: Proper implementation of text drawing for SCI2+
2011-10-11 01:25:08 +03:00
Filippos Karapetis
32b4ef8199
SCI: SCI32 kernel functions kRepaintPlane and kInputText are unused
2011-10-10 12:18:12 +03:00
Filippos Karapetis
90a11586e2
SCI: CreateTextBitmap should return a pointer. Also, silenced a warning
2011-10-09 19:56:51 +03:00
Filippos Karapetis
1dcad17988
SCI32: Documented the extra 2 params in kCreateTextBitmap(0)
2011-10-09 19:16:05 +03:00
Filippos Karapetis
69d08a7192
SCI21: Moved kRobot() together with the other video functions
2011-10-09 19:16:02 +03:00
Filippos Karapetis
227e69ef08
SCI2+: Fixed the implementation of kTextSize(), removing some hacks
...
Thanks to lskovlun for the fix
2011-10-08 19:11:14 +03:00
Filippos Karapetis
4ad2ebd995
SCI2+: Some groundwork for kTextSize()
...
The old behavior is currently hacked in inside kernelTextSize(), as the
top of the subtitles frame is wrong if kTextWidth() is properly working...
2011-10-08 17:19:00 +03:00
Lars Skovlund
1651024cdc
SCI: Fix comment in kCelInfo
2011-10-07 21:24:30 +02:00
Filippos Karapetis
19cac9bb11
SCI21: Some initial work on kBitmap
2011-10-07 02:52:30 +03:00
Filippos Karapetis
75fb3b4ef8
SCI21: Added some skeleton code for offsetting pictures vertically (not working yet). Some cleanup
2011-09-23 18:55:30 +03:00
Filippos Karapetis
41cc1932d2
SCI32: Added an initial skeleton structure for the SCI2 text drawing code
...
This includes kCreateTextBitmap, and moves all of the text drawing code
into the new GfxText32 class
2011-09-03 14:51:51 +03:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
md5
1ea96002b8
SCI: Added a more generalized fix for bug #3306417
2011-05-29 21:12:37 +03:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
md5
d7c8ed0f5d
SCI: Cleanup
2011-03-13 23:34:06 +02:00
md5
dbd3f440d2
SCI: Added some support code for Longbow Amiga
2011-03-05 18:47:13 +02:00
md5
d95b5331fb
SCI: Some palette related changes
...
- Moved palette color count inside the GfxPalette class
- Enabled all of the kPalette subops for 16 color SCI1 games, apart from
the ones for intensity palette animation, and palette resource loading
- Removed isVGA() and isAmiga32color() methods from the resource manager -
they ended up in having inconsistent code
2011-03-04 22:04:13 +02:00
md5
ed7c481e93
SCI: Cleanup
2011-03-02 08:24:31 +02:00
md5
8571083700
SCI2+: Mention that the actual problem with text wrapping happens because of the unimplemented kTextSize kernel call in SCI32
2011-02-26 06:13:08 +02:00
md5
e0ce5a61b5
SCI: Added an initial implementation of RemapByPercent, which fixes the palette in the PQ:SWAT demo
2011-02-24 21:27:31 +02:00
md5
a9620d938d
SCI: Some work on kRemapColors, and added a note that it operates on an RGBA
...
palette
2011-02-22 19:11:35 +02:00
Filippos Karapetis
6f9ac84f77
SCI: Converted the robot decoder into a regular video decoder, and decoupled it from the
...
SciEngine class
- Robot videos are now shown in frameOut(), like they should, and kRobot(sync) is only
used for syncing with the game scripts
- Hooked video playing into the "play_video" console command
svn-id: r55801
2011-02-07 12:24:09 +00:00
Filippos Karapetis
512bcf8b90
SCI: Rewrote the robot playing code in a way similar to other video decoders
...
- The code now streams videos instead of loading them in memory, without utilizing seeking
- Removed the sound-related robot code from the graphics classes
- Started implementing the code for the sound in robot videos (still not finished)
svn-id: r55772
2011-02-04 17:51:59 +00:00
Matthew Hoops
be1f62af23
SCI: Add a stub for kFont which calls kSetFontRes as a subop
...
svn-id: r55755
2011-02-03 18:07:47 +00:00
Matthew Hoops
4d088332a2
SCI: Add support for GK1 Mac high-res fonts
...
svn-id: r55754
2011-02-03 15:51:51 +00:00
Filippos Karapetis
74caf6cd71
SCI21: Some robot related changes
...
- Don't reallocate the frame buffer on each update if its dimensions haven't changed
- Don't attempt to display the currently unsupported v4 robot files (used in PQ:SWAT)
- Signed/unsigned fixes
- Disabled the unused getFrameRect() function
- Some cleanup and reordering
svn-id: r55752
2011-02-03 14:37:50 +00:00
Filippos Karapetis
89087b18c7
SCI21: Allow the game scripts to sync robot videos, like in SSCI. Also, references of the SciEngine class to itself via g_sci have been removed
...
svn-id: r55422
2011-01-22 13:01:10 +00:00
Lars Skovlund
0e33dd9164
SCI: Partial robot support, currently disabled since it does not run
...
asynchronously as it should.
svn-id: r55382
2011-01-21 18:53:35 +00:00
Filippos Karapetis
d8682a74a5
SCI: Simplified the kMoveCursor code
...
svn-id: r55216
2011-01-12 23:30:59 +00:00
Filippos Karapetis
6b6e7fcfb3
SCI2: Some documentation/stubs
...
- Fully documented the parameters of kSetShowStyle
- Added another subop stub for kCreateTextBitmap
svn-id: r55183
2011-01-09 13:27:00 +00:00
Filippos Karapetis
12b44f2fc0
SCI2.1: Some stubs used by SQ6
...
- Added a stub and some info about the (large) kScrollWindow kernel call
- Added info about kMovePlaneItems
svn-id: r55163
2011-01-08 12:28:47 +00:00
Filippos Karapetis
87a3fcaf03
SCI: Fixed a typo
...
svn-id: r55159
2011-01-08 10:25:12 +00:00
Filippos Karapetis
fc83afc5f2
SCI2.1: Added/documented some functionality used by Shivers 1
...
- Added kFileIO subop 17 (create save slot)
- Added information about a (probably debug) kernel function used in a puzzle, kCelInfo
- Added some information on two kSave subops
- Added 2 workarounds for uninitialized variables
svn-id: r55158
2011-01-08 10:23:27 +00:00
Filippos Karapetis
32d7e687ee
SCI: debugC calls no longer require a debug level of 2 to show output
...
svn-id: r55086
2011-01-01 12:48:12 +00:00
Filippos Karapetis
d886c037dd
SCI: Fix ScummVM freezing during the credits scene in EcoQuest 1 (bug #3101846 )
...
svn-id: r54395
2010-11-20 19:52:31 +00:00
Filippos Karapetis
103ac9c566
Fixed signed/unsigned warning
...
svn-id: r54217
2010-11-12 13:05:54 +00:00