Commit Graph

16801 Commits

Author SHA1 Message Date
Max Horn
4420e7b98a - Modified the 'credits' target so that it first generates the files in the
scummvm module before trying to go outside (which may fail depending on the
  developers setup)
- Changed the paths to the web/docs modules based on the assumption that we are
  working in a checkout of the complete Subversion repository.

svn-id: r21434
2006-03-24 17:39:55 +00:00
Eugene Sandulenko
aa743f8920 Fix chechbox label alignment.
svn-id: r21433
2006-03-24 17:39:13 +00:00
Max Horn
1c061dea4b Changed the DEBUG_HASH_COLLISIONS feature: Now measures the ratio between lookup collisions and total number of lookups
svn-id: r21432
2006-03-24 17:13:24 +00:00
Max Horn
9dc07c11cd - replaced the hash table size heuristic with a table of hard coded table sizes
(taken from the GNU ISO C++ Library), which are all prime
- replaced the string hash function by one that works slightly better & faster
- changed various types to unsigned
- added code to help debug the number of hash collisions (off by default)

svn-id: r21431
2006-03-24 16:53:32 +00:00
Max Horn
7307c4cb3d - moved type aa_ref_t into AssocArray, improving code readability a bit
- added new "operator[] const" method, useful when accessing const instances
- removed the default value (if you access an entry without first checking that
  it is actually there, it's your own fault)
- replaced 'index' with 'key' which seems more logical and avoids troubles with
  certain systems that #define index in their system headers

svn-id: r21430
2006-03-24 15:39:07 +00:00
Max Horn
1f9566129c Some more cleanup in AssocArray
svn-id: r21429
2006-03-24 15:22:17 +00:00
Max Horn
ae0cf6e88d Cleanup for the AssocArray template: int->book, put common code into a new lookup() method, and some other tweaks
svn-id: r21428
2006-03-24 14:30:33 +00:00
Max Horn
1805f42eea Oops, accidentally commited the wrong patch (had these lines commented out for testing)
svn-id: r21427
2006-03-24 14:17:47 +00:00
Max Horn
08ad918af6 Reduce (indirect) dependencies on gui/eval.h (and thus common/assocarray.h) to a minimum
svn-id: r21426
2006-03-24 14:15:45 +00:00
Max Horn
832d795959 Some ideas on streams added to the TODO
svn-id: r21425
2006-03-24 14:15:32 +00:00
Max Horn
58b14bab3c Using NULL as a default value is not working in general (e.g. for Common::String) -- force explicit definition of a default value
svn-id: r21424
2006-03-24 14:14:29 +00:00
Eugene Sandulenko
3e1afa4a2f o Rearranged options dialog
o Made button corners less round to match mock-ups

svn-id: r21423
2006-03-24 03:33:47 +00:00
Eugene Sandulenko
dabcc4cc9b Check values loaded from theme INI and give meaningful errors instead of
bad crashes on blitting stage.

svn-id: r21422
2006-03-24 01:45:03 +00:00
Eugene Sandulenko
a9b174abb3 Bump theme version number
svn-id: r21421
2006-03-24 01:26:25 +00:00
Eugene Sandulenko
819033b649 o Move built-in evaluator constants to AssocArray to speed it up
o Introduced .align text widget property
o Moved all text widgets to use it and populated theme config file

svn-id: r21420
2006-03-24 01:24:26 +00:00
Eugene Sandulenko
5d1b4d8f78 Implementation of AssociativeArray. Transferred GUI to it. Now it is much
faster.

svn-id: r21419
2006-03-23 22:59:38 +00:00
Paul Gilbert
f596612344 Partially disassembly of the pathfinding code and miscellaneous support methods
svn-id: r21418
2006-03-23 21:26:13 +00:00
Travis Howell
140c0d9a3c Minor changes for FF and cleanup
svn-id: r21417
2006-03-23 04:49:03 +00:00
Travis Howell
ddc1a7a52f Add opcode 161 difference in FF, fixes some glitches in 2nd room
svn-id: r21416
2006-03-23 04:41:06 +00:00
Eugene Sandulenko
bc8f634834 Match game speed with original
svn-id: r21415
2006-03-23 03:55:00 +00:00
Eugene Sandulenko
0b35672f78 uint8 -> byte
svn-id: r21414
2006-03-23 03:45:52 +00:00
Eugene Sandulenko
6faa76d287 Made mouse more responsive
svn-id: r21413
2006-03-23 03:40:23 +00:00
Eugene Sandulenko
fced8df162 Got rid of ASSERT and ASSERT_PTR defines
svn-id: r21412
2006-03-23 03:17:47 +00:00
Eugene Sandulenko
36302c0921 Make copy protection in OS and FW turnable. Still buggy
svn-id: r21411
2006-03-23 03:15:39 +00:00
Won Star
d0c73b346e Cleanup Makefile.
svn-id: r21410
2006-03-23 03:08:05 +00:00
Won Star
85661bca03 Update port.
* NO SOUND support.
* New asm functions.
* Prepare for MP3 / OGG

svn-id: r21409
2006-03-23 03:02:04 +00:00
Won Star
aad9a340be Fix compile without ZLIB support (GP32).
svn-id: r21408
2006-03-23 02:48:53 +00:00
Travis Howell
a8c0079924 Code for inverted rect when scaling images of FF no longer required. Minor cleanup
svn-id: r21407
2006-03-22 23:38:16 +00:00
Travis Howell
3110c11ea1 Rename draw buffers correctly
svn-id: r21406
2006-03-22 13:54:26 +00:00
Travis Howell
6227f38cba Small correction to scaling code in FF
svn-id: r21405
2006-03-22 11:57:46 +00:00
Torbjörn Andersson
e4664606f7 Preliminary (weasel-word for "probably buggy") implementation of the remaining
parts of scaleClip(). I do see a scaled image of Feeble, but it's very glitchy.
On the other hand, I get the same kindof glitches when drawing him unscaled, so
maybe there is garbage left in the scale buffer from previous frames.

svn-id: r21404
2006-03-22 10:32:32 +00:00
Travis Howell
60732d70f5 Whitespace changes
svn-id: r21403
2006-03-22 10:04:01 +00:00
Travis Howell
857cf7189a Fix regression in 2nd room of FF
svn-id: r21402
2006-03-22 09:14:28 +00:00
Travis Howell
00d44af2c1 Skip columns isn't used for overlayed or scaled images in FF
svn-id: r21401
2006-03-22 08:56:10 +00:00
Travis Howell
c0198b4464 Fix sound regression in FF, caused by last commit
svn-id: r21400
2006-03-22 08:27:41 +00:00
Travis Howell
5a8a32e350 Add initial support for Amiga and Macintosh versions of The Feeble Files
svn-id: r21399
2006-03-22 06:21:17 +00:00
Eugene Sandulenko
e0cf2743c9 Support for Russian FOTAQ
svn-id: r21398
2006-03-22 00:24:10 +00:00
Torbjörn Andersson
0c0c41d495 Implemented "sound triggers" so that the music does not stop shortly after
entering the castle. I hope this is a fair approximation of how the original
worked. Of course, this led to a couple of more renamings:

_unk5              -> _soundTrigger
updateCallback54() -> update_setSoundTrigger()
snd_setUnk5()      -> snd_getSoundTrigger()      (yes, "get")

At the moment, the only known sound triggers are the ones in the castle. If an
unknown trigger is set, the debugging messages will be really, really noisy. I
don't know if I should consider this a bug or an extremely annoying feature.

svn-id: r21396
2006-03-21 17:17:24 +00:00
Eugene Sandulenko
3586905f93 Fix bug #1455213: "GUI: ExtraPath won't display" and turn theme version
into #define.

svn-id: r21395
2006-03-21 13:48:51 +00:00
Johannes Schickel
9031b27349 Implements cmd_shakeScreen.
svn-id: r21394
2006-03-20 19:01:39 +00:00
Johannes Schickel
47a643ce40 Updates the config version for the new theme to 4 in the warning which is printed if the version is too low.
svn-id: r21393
2006-03-20 18:28:35 +00:00
Torbjörn Andersson
c506e452f1 Initialise _haveScrollButtons, since Valgrind complained about it.
svn-id: r21392
2006-03-20 17:33:08 +00:00
Eugene Sandulenko
fce18c2e13 Bump theme config version number to avod confusion. A key was added there,
but I didn't bump it last time.

svn-id: r21391
2006-03-20 12:32:55 +00:00
Travis Howell
6b56af989f The Hercules specific screen size check is no longer required
svn-id: r21390
2006-03-20 02:04:14 +00:00
Eugene Sandulenko
3aa7e9fa80 Bring MSVC71 project files up to date. Courtsey of Quietust.
svn-id: r21389
2006-03-19 21:58:53 +00:00
Max Horn
5f800bb9da Fixed my fix regarding the encoding of some filenames: Provide both Windows and UTF-8 encoded versions of the German puttzoo
svn-id: r21388
2006-03-19 18:18:07 +00:00
Max Horn
bc5ac5eaf4 Fix encoding issue (see scummvm-devel)
svn-id: r21387
2006-03-19 17:26:11 +00:00
Max Horn
03734aa876 Moved filename substitution code from scumm.cpp to plugin.cpp
svn-id: r21386
2006-03-19 17:25:13 +00:00
Max Horn
99635b6a90 Removed implicit screen updates (see also the discussion on scummvm-devel)
svn-id: r21385
2006-03-19 17:14:43 +00:00
Max Horn
f7d16b0000 Updated/added some comments on VOC/WAVE functions
svn-id: r21384
2006-03-19 14:11:32 +00:00