Commit Graph
112 Commits
Author SHA1 Message Date
Torbjörn Andersson f5fb20680f Apart from a "const", the volume() and getVolume() function were identical.
Removed the volume() function.

svn-id: r39868
2009-04-05 15:58:27 +00:00
Paul Gilbert 5f1c08505f Implemented many of the remaining library functions
svn-id: r39857
2009-04-05 07:52:21 +00:00
Paul Gilbert 07fb7735b5 Replaced all occurrences of the constant '257' with the existing constant 'NUM_FILE_ENTRIES'
svn-id: r39824
2009-04-04 01:21:25 +00:00
Paul Gilbert 121f174d61 Fixed incorrect palette range usage so room fade-ins happen correctly
svn-id: r39822
2009-04-03 23:27:38 +00:00
Johannes Schickel 44025f03d5 Fix compilation via manually implementing strToUpper, instead of relying on strupr.
svn-id: r39791
2009-04-01 14:02:55 +00:00
Paul Gilbert d42d6122d9 Laid the basics for music handling
svn-id: r39786
2009-04-01 10:43:24 +00:00
Paul Gilbert ab31f46676 Corrected the positions of two library functions in the library function list
svn-id: r39699
2009-03-26 11:16:34 +00:00
Paul Gilbert 34d3d7c74d Code formatting, added further constant references, and corrected method signatures
svn-id: r39445
2009-03-16 09:45:37 +00:00
Paul Gilbert da6315bb4c Formatting fixes, and added extra constants and function name corrections
svn-id: r39063
2009-03-02 08:32:38 +00:00
Paul Gilbert ecb6b7bf54 Added an explicit clearing of all animation fields for new animations - this fixes a problem where the player could disappear if he had to rotate to face a selected object
svn-id: r39019
2009-03-01 08:28:10 +00:00
Paul Gilbert 57c7593325 Implemented proper support for the Pause 'p' key
svn-id: r38995
2009-03-01 02:20:22 +00:00
Paul Gilbert fc6221e781 Moved a set of static arrays into the staticres.cpp file
svn-id: r38539
2009-02-19 09:55:40 +00:00
Paul Gilbert a27f4203e0 Minor cleanup and changed g_cruise to _vm for consistency
svn-id: r36050
2009-01-25 05:44:18 +00:00
Max Horn 4c5efaecf4 Code formatting fixes, automatically performed by astyle
svn-id: r35870
2009-01-16 02:43:41 +00:00
Jordi Vilalta Prat 66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Vincent Hamm c87ad51470 Nearly working pathfinder
svn-id: r30015
2007-12-27 17:37:38 +00:00
Vincent Hamm f953ed4dde Early pathfinding
svn-id: r30012
2007-12-27 12:05:43 +00:00
Vincent Hamm 1b62e2758c Fix input
Fix timming

svn-id: r29990
2007-12-25 21:03:20 +00:00
Vincent Hamm b2ab69f455 Fix palette issues
svn-id: r29989
2007-12-25 20:16:59 +00:00
Vincent Hamm a3f1767009 Fix title screen regression
svn-id: r29988
2007-12-25 19:32:51 +00:00
Vincent Hamm be737e074d Fix background save/restore
svn-id: r29979
2007-12-24 16:57:14 +00:00
Vincent Hamm 2d9d0f1b1f -Fade in/fade out
-Implement background mode 5

svn-id: r29968
2007-12-24 01:05:36 +00:00
Vincent Hamm b9aaa43bfb Fix palette manipulation code
Add one missing opcode

svn-id: r29928
2007-12-20 19:02:16 +00:00
Torbjörn Andersson 0e744e491b Fixed compiler warning, and a potential (but very unlikely) out-of-bounds read.
svn-id: r29926
2007-12-20 18:52:05 +00:00
Vincent Hamm 094f174887 Fix title screen line drawing code
svn-id: r29925
2007-12-20 18:21:27 +00:00
Vincent Hamm 564fc06cf7 Multiple fix/cleanup
One bug remains before the game is completable without hack

svn-id: r29920
2007-12-20 14:30:51 +00:00
Vincent Hamm aa62d6355a Fix loading savegame from original interpreter
svn-id: r29901
2007-12-18 20:12:42 +00:00
Vincent Hamm 5cc1313ffe Fix dangling pointer
Fix low color background
Fix input

svn-id: r29897
2007-12-17 22:40:58 +00:00
Vincent Hamm 43437e6d74 Menu display fix
Linked objects implementation (barman)
The gameplay is now kind of working and it is possible to play at least the first part of the game

svn-id: r29478
2007-11-11 19:33:25 +00:00
Vincent Hamm 1bae92f2e1 Implement dialogues
Detect french 256 colors version

svn-id: r29473
2007-11-11 01:04:40 +00:00
Vincent Hamm 31d04d98dc Fix relocation of objects relations
svn-id: r29472
2007-11-10 23:20:47 +00:00
Vincent Hamm faf78d582a -Cleanup strings
-Fix load saves from original interpreter
-Add all background merge functions

svn-id: r29467
2007-11-10 17:15:48 +00:00
Sven Hesse 64f88225e1 Muting the compiler
svn-id: r29410
2007-11-04 13:03:40 +00:00
Sven Hesse 906a423fa7 Some code formating fixes
svn-id: r29409
2007-11-04 13:01:41 +00:00
Vincent Hamm fa15952f09 Some more script functions
svn-id: r29408
2007-11-04 12:57:57 +00:00
Vincent Hamm 6e4037165d Fix a few script issues
svn-id: r29397
2007-11-04 01:11:39 +00:00
Vincent Hamm caa451f5d2 Implement more object input
svn-id: r29317
2007-10-29 22:03:55 +00:00
Vincent Hamm 234024f19e Add more object menu controls
svn-id: r29312
2007-10-29 20:56:19 +00:00
Vincent Hamm fc961908c5 Find object fix
Walk fix

svn-id: r29291
2007-10-28 14:41:37 +00:00
Vincent Hamm 7860b90051 Implement cursors
svn-id: r29286
2007-10-28 13:21:01 +00:00
Eugene Sandulenko 77eea722af Modified patch #1738058: "Action recorder".
svn-id: r28968
2007-09-19 13:55:05 +00:00
Max Horn 3abc11611e Code formatting fixes
svn-id: r28945
2007-09-18 20:16:33 +00:00
Max Horn 4a302b25ad Lots of source code formatting corrections
svn-id: r28887
2007-09-10 13:17:20 +00:00
Max Horn 218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Vincent Hamm 67ba6b1e40 Figured out the bug that was causing the animations to glitch
svn-id: r26856
2007-05-16 22:44:22 +00:00
Max Horn a7ced58d9a Don't cast pointers to int, this (potentially) breaks 64 bit systems
svn-id: r26806
2007-05-12 13:39:53 +00:00
Torbjörn Andersson 3ca3f07cdd Only update the backend's palette when necessary, since doing this triggers a
full redraw. (We still do that by updating the entire screen every frame, but
that could possibly change in the future.)

As an added bonus, I can now see all the glitches of the English version's
intro in full ScummTechniVMColor. :-)

svn-id: r26672
2007-04-29 01:07:19 +00:00
Vincent Hamm f5c73e1603 Implement missing opcode and fix staff intro
svn-id: r26669
2007-04-28 23:21:13 +00:00
Vincent Hamm fe8d2a8e7f More cleanup
Few bug fix

svn-id: r26666
2007-04-28 22:31:55 +00:00
Eugene Sandulenko 39238a9472 Ahem. Fixing code formatting.
svn-id: r26640
2007-04-28 06:57:32 +00:00