Commit Graph

34152 Commits

Author SHA1 Message Date
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
Joost Peters
0a36b67a1f reduce display list size - we only use a fraction of it.
svn-id: r44418
2009-09-27 20:46:38 +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
Andre Heider
8b6b3358c8 Properly return values on functions with non-void return types.
svn-id: r44412
2009-09-27 17:18:30 +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
Andre Heider
f4597ee83e Fixed compilation of the NDS port.
svn-id: r44410
2009-09-27 16:06:06 +00:00
Andre Heider
f34f2ee6cc make -> $(MAKE)
svn-id: r44409
2009-09-27 15:44:02 +00:00
Andre Heider
4193367d30 makefile -> Nakefile
svn-id: r44408
2009-09-27 15:42:18 +00:00
Andre Heider
3330ca56c8 make -> $(MAKE)
svn-id: r44407
2009-09-27 15:40:52 +00:00
Andre Heider
d7130081c9 makefile -> Nakefile
svn-id: r44406
2009-09-27 15:39:15 +00:00
Andre Heider
f687ed4221 Use _port_mk for the PSP port; some psp.mk cleanup.
svn-id: r44405
2009-09-27 15:16:54 +00:00
Andre Heider
fe5e0ee9ca Use _port_mk for the WinCE port.
svn-id: r44404
2009-09-27 15:11:36 +00:00
Andre Heider
c501e65046 Use _port_mk for the motoezx and motomagx ports.
svn-id: r44403
2009-09-27 15:09:25 +00:00
Andre Heider
0d2056f8c9 Use _port_mk for the Wii and Gamecube port.
svn-id: r44402
2009-09-27 15:06:35 +00:00
Andre Heider
ac4c2701e9 New configure var "_port_mk", set to "ports.mk" per default. Ports can overwrite this, and this change finally allows make targets in that file to access all the common mk variables (e.g. EXECUTABLE).
svn-id: r44401
2009-09-27 14:59:40 +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
Max Horn
5ffc41a09e Remove redundant -Wno-multichar and -fno-exceptions from configure (they are already specified in Makefile)
svn-id: r44364
2009-09-25 19:15:01 +00:00
Florian Kagerer
229aee065c LOL/PC-98: start fixing text displayer
svn-id: r44363
2009-09-25 18:56:53 +00:00