Johannes Schickel
c8aabe77e8
GUI: Fix font cache.
...
The bounding boxes of the glyphs use signed coordinates. We stored only
unsigned coordinates, which resulted in incorrect glyph positioning.
Conrecte example: the bounding box of the glyphs for clR6x12-iso-8859-5.bdf
used:
x y w h
0 -3 6 12
We on the other hand interpreted that as:
x y w h
0 65533 6 12
when loading the font from our font cache.
svn-id: r51586
2010-08-01 19:31:37 +00:00
Johannes Schickel
2095ce31bd
GUI: Fix loading BDF fonts from theme archives.
...
svn-id: r51585
2010-08-01 19:31:18 +00:00
Johannes Schickel
4423ad9333
SCI: Cleanup.
...
svn-id: r51584
2010-08-01 17:59:14 +00:00
Matthew Hoops
79bf94c877
SCI: Move kernelShakeScreen to GfxScreen so it can be used in SCI32 (it's used in GK1)
...
svn-id: r51583
2010-08-01 17:54:48 +00:00
Martin Kiewitz
f3851674f3
SCI: changing noname selector names
...
removing space from previous name
svn-id: r51582
2010-08-01 17:51:21 +00:00
Fabio Battaglia
2e94391d98
CONFIGURE: add support for N64 port to configure
...
svn-id: r51581
2010-08-01 17:16:39 +00:00
Martin Kiewitz
adde79f1cb
SCI: fixing regression of r51520
...
svn-id: r51580
2010-08-01 16:43:49 +00:00
Martin Kiewitz
193d3212da
SCI: adding "audiosfx" to directories
...
svn-id: r51579
2010-08-01 16:23:44 +00:00
Martin Kiewitz
88438ce118
SCI: adding workaround for pq2 kDisplay
...
in room 23
svn-id: r51578
2010-08-01 15:31:23 +00:00
Filippos Karapetis
7207290dc3
SCI: Enabled the "Return to Launcher" feature (needs testing)
...
svn-id: r51577
2010-08-01 13:11:24 +00:00
Martin Kiewitz
83e51b0e92
SCI: removing pirated sq4 version from detection
...
"fixes" bug #3037800
fixing warning in seg_manager
svn-id: r51576
2010-08-01 12:38:07 +00:00
Martin Kiewitz
b0889cfd01
SCI: adding workaround for lb1
...
fixes bug #3037694
svn-id: r51575
2010-08-01 12:00:36 +00:00
Eugene Sandulenko
a0c58778f1
i18n: Update Russian translation
...
svn-id: r51574
2010-08-01 11:23:04 +00:00
Martin Kiewitz
03f48560a9
SCI: adding workaround for hq1/qfg1
...
fixes bug #3037659
svn-id: r51573
2010-08-01 11:10:47 +00:00
Filippos Karapetis
9699f8291d
SCI: Ignoring non-critical script bug in QFG1VGA, when closing any conversation dialog with esc (doesn't affect gameplay in any manner)
...
svn-id: r51572
2010-08-01 11:10:14 +00:00
Eugene Sandulenko
af76912e87
i18n: Added Cyrillic fonts to theme packages
...
This fixes ScummVM startup on systems with Russian set as locale.
svn-id: r51571
2010-08-01 10:17:31 +00:00
Martin Kiewitz
4bb9157d81
SCI: adding audio directory searching for patches
...
fixes bug #3037768
svn-id: r51570
2010-08-01 10:07:24 +00:00
Martin Kiewitz
68f7b9be4c
SCI: reading the actual priority instead of guessing
...
svn-id: r51569
2010-08-01 09:20:21 +00:00
Yotam Barnoy
0db8427f46
iPhone: changed GL_NEAREST to GL_LINEAR in miniaturization filter as per forum post 29/7/10
...
svn-id: r51567
2010-08-01 07:15:43 +00:00
Yotam Barnoy
8f04aff6dc
QUEEN: fix for bug 3036170. File name test supports upper case for transferring from Windows to other systems (e.g. PSP)
...
svn-id: r51566
2010-08-01 07:02:05 +00:00
Matthew Hoops
b02a326b89
SCI: Add another LB2 floppy selector name for an uninit'd workaround (bug #3036291 )
...
svn-id: r51565
2010-08-01 04:40:46 +00:00
Matthew Hoops
2b7e58ae9b
SCI: Add another KQ5 VGA floppy entry (bug #3036996 )
...
svn-id: r51564
2010-08-01 04:22:34 +00:00
Johannes Schickel
8851c2016f
SCI: Fix uninitialized variable warning in g++.
...
Thanks to clone2727 for suggestion to initialize the default new plane
priority to 0xFFFF, which means that the plane should be invisible. I added a
FIXME there though. So please re check this change. In case that is fine just
remove the FIXME, in case some other default value should be chosen, please
change the value and also remove the FIXME.
svn-id: r51561
2010-08-01 01:00:30 +00:00
Max Horn
57ad040846
DS: Remove now redundant ds-fs.o from PORT_OBJS
...
svn-id: r51558
2010-07-31 22:48:49 +00:00
Martin Kiewitz
d5e4efa025
SCI: fix lofs autodetection
...
makes polish lsl1 work (its game superclass name got translated, so no "Game" object available) - bug #3037194 thx to dam-soft for his patient help
svn-id: r51557
2010-07-31 22:45:38 +00:00
Max Horn
4b9df2203f
DS: Add shell script which emulates old DS builds using configure&make
...
svn-id: r51556
2010-07-31 22:43:09 +00:00
Max Horn
450b82355d
DS: Fix custom DS build system
...
svn-id: r51555
2010-07-31 22:42:42 +00:00
Martin Kiewitz
4afbfbf355
SCI: fixing CR/LF, adding info about polish lsl1
...
svn-id: r51550
2010-07-31 19:35:53 +00:00
Matthew Hoops
142fb8a1f1
SCI: Don't include the time running the debugger in the game running time
...
svn-id: r51548
2010-07-31 19:18:35 +00:00
Martin Kiewitz
3e29e9ffae
SCI: adding detection for benchmark views
...
and enable speed throttler when just one regular cel was drawn, fixes eco quest 2 ego getting light-speed fast in village (bug #3036805 )
=this could cause regressions like disabled animations in games=
svn-id: r51544
2010-07-31 16:41:42 +00:00
Matthew Hoops
e932270c0b
SCI: Add uninit'd temp workaround for Grotesteing (fan game)
...
svn-id: r51543
2010-07-31 16:20:16 +00:00
Thierry Crozat
1c6b339bbc
i18n: use user friendly language names in GUI
...
The GUI now uses the content of the Language field from the po file
header if it is present and not empty for the language selection
PopupWidget. If not present it uses the file name as before (e.g.
ru_RU).
Also update all the translation template and all the translation files.
svn-id: r51542
2010-07-31 15:46:43 +00:00
Martin Kiewitz
5ea8402839
SCI: changing laurabow1 workaround to all rooms
...
fixes bug #3037410
svn-id: r51541
2010-07-31 14:44:00 +00:00
Martin Kiewitz
f54b9e3527
SCI: removing warning about uninitialized parameters
...
didn't cause any harm till now and it seems testers get irritated by it. Switching it to VM debug level 2.
svn-id: r51540
2010-07-31 14:38:28 +00:00
Martin Kiewitz
7f3ce51031
SCI: little cleanup
...
svn-id: r51539
2010-07-31 14:29:22 +00:00
Martin Kiewitz
2d76fe0092
SCI: kGameIsRestarting returns 2 when we restored
...
fixes castle of dr. brain save issue in puzzle room, fixes island of dr. brain save issue when saving in first room
svn-id: r51538
2010-07-31 14:09:42 +00:00
Martin Kiewitz
fd7bc29536
SCI: adjusting inside view::getCelRect for sci0early
...
fixes cels being placed wrongly, sci0early didnt have the z adjust.
svn-id: r51537
2010-07-31 13:13:46 +00:00
Martin Kiewitz
fec3ab7bee
SCI: updating comment
...
svn-id: r51536
2010-07-31 12:42:23 +00:00
Martin Kiewitz
3a75d0fbe0
SCI: adding polish lsl1
...
svn-id: r51535
2010-07-31 12:37:49 +00:00
Martin Kiewitz
e40ee138af
SCI: kAnimate - limit update of nsRect when scaled
...
only set nsRect when being drawn later (scaled only), fixes sq5 instant-death in elevator shaft
svn-id: r51534
2010-07-31 08:05:23 +00:00
Martin Kiewitz
9deb52fba6
SCI: fixing stupid typo
...
svn-id: r51533
2010-07-31 07:37:06 +00:00
Johannes Schickel
cc575359df
SCI: Whitespace cleanup.
...
svn-id: r51532
2010-07-31 02:11:05 +00:00
Matthew Hoops
43e82aa895
SCI: Fix walking in GK1 later in the game
...
The Feature class uninit'd workaround needs to be extended to all levels of inheritance.
svn-id: r51527
2010-07-31 00:54:32 +00:00
Martin Kiewitz
5dac7ba6ba
SCI: fix kAddToPic called with view data
...
and adding workaround for pq2 when showing windows with pictures
change to kAddToPic fixes bad coordinates of cels when restoring the game (should also fix lsl2)
svn-id: r51526
2010-07-31 00:48:03 +00:00
Johannes Schickel
f75d84cbdd
JANITORIAL: Some small explanation about stability of sorting algorithms.
...
Special thanks to lskovlun for his suggestion to add this.
svn-id: r51524
2010-07-30 23:42:50 +00:00
Johannes Schickel
fd0f5696a5
SCI: Add comment about stability requirements in makeSortedList.
...
svn-id: r51523
2010-07-30 23:24:45 +00:00
Johannes Schickel
8e8023d7cc
JANITORIAL: Add comment about the stability of Common::sort.
...
svn-id: r51522
2010-07-30 23:24:22 +00:00
Johannes Schickel
e29d6e681a
SCI: Switch to Common::RandomSource.
...
Since I got no response to my mail to -devel, I just assume that there is
no specific reason for using rand() in SCI.
As explained in my mail to -devel about why SCI uses rand, this might allow
SCI to work with our event recording, when that ever gets finished.
I adapted kRandom so that it also supports negative random numbers. And
furthermore that the toNumber argument is smaller than the fromNumber
argument. I am not sure whether that really happens though, but it should
be safer to have this. I marked that place with an TODO/CHECKME.
svn-id: r51521
2010-07-30 22:47:01 +00:00
Martin Kiewitz
062d9eedce
SCI: fixing view scaling code
...
fixes crash in sq5 with elevator on goliath
svn-id: r51520
2010-07-30 22:44:23 +00:00
Martin Kiewitz
685c124a8e
SCI: speed throttler cleanup and iceman comment
...
svn-id: r51518
2010-07-30 21:29:45 +00:00