Robert Špalek
ccc737a714
Fix a memory leak
...
svn-id: r44447
2009-09-28 11:28:09 +00:00
Paul Gilbert
770cca79d0
Script workaround for partially off-screen text in DW1 GRA
...
svn-id: r44445
2009-09-28 09:56:05 +00:00
Filippos Karapetis
033b587bd2
Added topString to the list of static selectors, for commit #44429
...
svn-id: r44443
2009-09-28 09:09:15 +00:00
Benjamin Haisch
0335a37b05
Fixed clipping-related bug (bug #2826036 )
...
svn-id: r44439
2009-09-28 07:28:20 +00:00
Robert Špalek
359d374dc6
Added const's to getPalette() and several uses of getObject()
...
svn-id: r44434
2009-09-28 04:09:03 +00:00
Robert Špalek
8a78e96838
Make getFile() return a const pointer and clean-up all uses of it.
...
svn-id: r44433
2009-09-28 03:51:23 +00:00
Robert Špalek
7ef17ba73e
get rid of static Common::String's
...
svn-id: r44432
2009-09-28 03:06:43 +00:00
Robert Špalek
42e3c63b11
get rid of static Common::String's
...
svn-id: r44431
2009-09-28 02:54:38 +00:00
Robert Špalek
d0db596311
Fix rounding coordinates at the edge of the screen.
...
svn-id: r44430
2009-09-27 23:57:39 +00:00
Walter van Niftrik
725377f090
SCI: Fix scrolling in SCI1 list controls.
...
svn-id: r44429
2009-09-27 23:06:39 +00:00
Willem Jan Palenstijn
bec07b42a0
SCI: Remove directory prefix added by QfG3's char import
...
svn-id: r44423
2009-09-27 21:52:14 +00:00
Robert Špalek
a04881072a
Reduce code duplication when cleaning animations
...
svn-id: r44422
2009-09-27 21:25:34 +00:00
Willem Jan Palenstijn
7971d77dd6
SCI: Adjust isValidOffset to match changes from r44396,
...
and make maxSize report the valid space starting at offset.
svn-id: r44421
2009-09-27 21:00:45 +00:00
Robert Špalek
caa3b6707e
Improved the interface of Sprite and Animation concerning relative coordinates and scaling.
...
It is no longer needed to modify the underlying animations when drawing them
on the screen or testing pixels in them. Read access is enough, because
the displacement of the object is passed as a parameter.
Added some more const's where they logically belong.
svn-id: r44419
2009-09-27 20:49:59 +00:00
Max Horn
460d7b269b
Simplify kFormat slightly
...
svn-id: r44417
2009-09-27 19:24:18 +00:00
Max Horn
4edecad9db
TINSEL: cleanup
...
svn-id: r44416
2009-09-27 19:23:44 +00:00
Robert Špalek
cf1031fc63
Fix renumbering of animation indexes
...
svn-id: r44414
2009-09-27 18:51:07 +00:00
Robert Špalek
fc2bb50600
Remove memory leak in animation manager. Get rid of 1 non-const reference parameter.
...
svn-id: r44413
2009-09-27 18:11:06 +00:00
Willem Jan Palenstijn
8c8b996f56
SCI: Add workaround for file mask used by QfG3
...
svn-id: r44411
2009-09-27 16:33:59 +00:00
Willem Jan Palenstijn
33e9b0baf9
SCI: turn assert into warning, as it used in QfG2 char import
...
svn-id: r44400
2009-09-27 14:18:21 +00:00
Vladimir Menshakov
1f8a06a0b8
added missing sound
...
svn-id: r44399
2009-09-27 13:48:51 +00:00
Willem Jan Palenstijn
4d31d0d725
SCI: Fix crash when opening menu's
...
svn-id: r44398
2009-09-27 13:08:56 +00:00
Willem Jan Palenstijn
08e4d96a7d
SCI: clear strcpy's dest string if src is invalid.
...
This fixes moving the plank at the start of KQ6 in Text mode.
svn-id: r44397
2009-09-27 13:05:50 +00:00
Willem Jan Palenstijn
77751a0455
SCI: change segment offsets in reg segments to be in half reg_t.
...
This makes offsets in raw and reg segments consistent, which
fixes string addressing in savegame dialogs.
svn-id: r44396
2009-09-27 12:23:14 +00:00
Willem Jan Palenstijn
56e2e32268
SCI: clean up kStrAt
...
svn-id: r44394
2009-09-27 11:14:01 +00:00
Gregory Montoir
0f564aad81
TUCKER: add clipping for text drawing
...
svn-id: r44393
2009-09-27 10:36:45 +00:00
Gregory Montoir
1b1471e8da
TUCKER: add missing compressed file close when version doesn't match
...
svn-id: r44392
2009-09-27 10:36:30 +00:00
Vladimir Menshakov
6ecf67b96f
replace spaces with tabs
...
svn-id: r44390
2009-09-27 05:24:45 +00:00
Vladimir Menshakov
2f40ea11e6
added save()'s where needed
...
svn-id: r44389
2009-09-27 05:17:00 +00:00
Willem Jan Palenstijn
d3c1916384
SCI: Major string handling update.
...
All string access to segments should now work with both raw and non-raw
(reg_t) segments, using the new utility functions in segMan.
There will likely be regressions.
svn-id: r44388
2009-09-27 01:50:26 +00:00
Willem Jan Palenstijn
5d2d8c580a
SCI: Add utility functions for copying data between raw/non-raw segments
...
svn-id: r44387
2009-09-27 01:49:56 +00:00
Willem Jan Palenstijn
933bdcf829
SCI: Add warning when dereferencing non-aligned stack pointer
...
svn-id: r44386
2009-09-27 01:49:35 +00:00
Willem Jan Palenstijn
f7d7140876
SCI: Ignore size argument to FILEIO_WRITE_STRING.
...
This matches LSL5's expectations when saving the password.
svn-id: r44385
2009-09-26 23:43:45 +00:00
Willem Jan Palenstijn
c12a78eaa8
SCI: Fix compile error with DEBUG_AVOIDPATH
...
svn-id: r44384
2009-09-26 22:56:15 +00:00
Willem Jan Palenstijn
be0b1e060b
SCI: Fix regression in r44081 breaking walking in QfG2
...
svn-id: r44383
2009-09-26 22:55:24 +00:00
Willem Jan Palenstijn
a49da8381b
SCI: Fix copy/paste error
...
svn-id: r44382
2009-09-26 22:50:35 +00:00
Florian Kagerer
00504a893b
LOL/PC-98: fix menu colors
...
svn-id: r44381
2009-09-26 21:17:47 +00:00
Florian Kagerer
5d17bae120
LOL/PC-98: more fixes for text displayer and character inventory
...
svn-id: r44380
2009-09-26 18:25:36 +00:00
Martin Kiewitz
eb24b8e455
FLAC support had a typo in detection, fixed
...
svn-id: r44379
2009-09-26 16:03:16 +00:00
Vladimir Menshakov
7242428a04
commented out walkbox debug code.
...
svn-id: r44378
2009-09-26 15:05:47 +00:00
Vladimir Menshakov
605b6fd885
removed packed structs/direct read/writes, so the game should work on big-endian archs.
...
svn-id: r44377
2009-09-26 15:04:09 +00:00
Denis Kasak
27a638fa82
draci: Fixed bug in Surface::centerOn{X,Y}() which made it return a negative coordinate for strings that are too long. Resolves the crash caused by the English data files containing strings which are improperly line-breaked. Ideally, the engine should do the line-breaking itself when the string does not fit.
...
svn-id: r44376
2009-09-26 13:47:32 +00:00
Florian Kagerer
84accad507
LOL/PC-98: start fixing sequences (like broken arms inn and king richard getting poisoned)
...
svn-id: r44375
2009-09-26 13:17:11 +00:00
Paweł Kołodziejski
e46029e8c6
added option to allow control digital imuse tempo callback. it's related to volume fading, lip sync quality and platform resource costs.
...
svn-id: r44374
2009-09-26 09:31:05 +00:00
Paul Gilbert
a5df07f56a
Bugfix for the dirty rects for drawn sprites when the sprite is partially off-screen
...
svn-id: r44372
2009-09-26 04:37:19 +00:00
Paul Gilbert
7f1b50f300
Dirty rects fix for pixels remaining on screen changes
...
svn-id: r44371
2009-09-26 04:13:44 +00:00
Florian Kagerer
73a4b7857f
LOL/PC-98: fixed gui colors (money stash, live and magic bars, scroll)
...
svn-id: r44370
2009-09-25 22:07:34 +00:00
Florian Kagerer
77a27acf83
LOL/PC-98: fixed dialoge box sizes
...
svn-id: r44369
2009-09-25 21:33:00 +00:00
Florian Kagerer
229aee065c
LOL/PC-98: start fixing text displayer
...
svn-id: r44363
2009-09-25 18:56:53 +00:00
Robert Špalek
431780297e
Added some more const's to the interface of Dragon History
...
svn-id: r44362
2009-09-25 17:33:00 +00:00