Commit Graph

227 Commits

Author SHA1 Message Date
Max Horn
4c5efaecf4 Code formatting fixes, automatically performed by astyle
svn-id: r35870
2009-01-16 02:43:41 +00:00
Max Horn
42c46aa5a1 Mark cruise save/load code as not endian safe
svn-id: r35869
2009-01-16 01:48:55 +00:00
Travis Howell
b8fe877fa8 Add German, Italian and Spanish VGA versions of Cruise for a Corpse.
svn-id: r35669
2009-01-02 09:53:11 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn
df20d264fd Pushing down some header deps (on common/system.h, mostly)
svn-id: r35542
2008-12-25 20:40:00 +00:00
Johannes Schickel
5a0556f09c Committed my patch #2123680 "SDL: Backend transaction / rollback support".
svn-id: r35062
2008-11-14 22:08:10 +00:00
Max Horn
40136f2590 Switched various Engine APIs to use Common::Error
svn-id: r34916
2008-11-06 17:05:54 +00:00
Eugene Sandulenko
297d4228d3 Patch #2054467: CRUISE: 64bits fixes
svn-id: r34622
2008-09-21 10:23:22 +00:00
Filippos Karapetis
655bb0b165 Don't use fileName both as a structure and as a function parameter
svn-id: r34449
2008-09-08 14:00:26 +00:00
Filippos Karapetis
4019bb3e37 Silence MSVC warning about uninitialized variables
svn-id: r34298
2008-09-03 10:00:43 +00:00
Max Horn
0be985ce83 Changed class File (and derived classes) to only support read-only access; added a new class DumpFile for writing
svn-id: r33412
2008-07-29 16:09:10 +00:00
Kostas Nakos
f0df79bb88 adding a fixme
svn-id: r32844
2008-06-29 16:58:27 +00:00
Filippos Karapetis
2d9a194a55 Removed the now empty files stringSupport.cpp/.h
svn-id: r32510
2008-06-03 07:34:47 +00:00
Jordi Vilalta Prat
38a8aa516e Allow static and dynamic plugins to be used at the same time
svn-id: r31888
2008-05-06 03:00:26 +00:00
Max Horn
29f1e6de38 Advanced detector: replaced kADFlagAugmentPreferredTarget by its inverse, kADFlagDontAugmentPreferredTarget (since all AdvDetector engines except Kyra used kADFlagAugmentPreferredTarget, it seems reasonable to assume that as default)
svn-id: r31413
2008-04-05 22:29:08 +00:00
Max Horn
6547ef6e12 Started to get rid of Common::EncapsulatedADGameDesc (using plain Common::ADGameDescription instead)
svn-id: r31121
2008-03-14 17:31:04 +00:00
Max Horn
8a9a14002e Advanced Detector: Changed fallback detector from a callback function pointer to an overrideable method of AdvancedMetaEngine
svn-id: r31119
2008-03-14 13:59:31 +00:00
Max Horn
88bb567e18 Merged lots of _mixer->isReady() warnings into a single one in Engine constructor
svn-id: r30871
2008-02-15 17:01:35 +00:00
Jordi Vilalta Prat
c103290e2b Initial support for plugin types
svn-id: r30825
2008-02-08 00:02:23 +00:00
Max Horn
8a73356a2d Revised Engine plugin API to only provide a single func which returns a MetaEngine instance. Used this to simplify the rest of the plugin system
svn-id: r30780
2008-02-03 18:56:47 +00:00
Torbjörn Andersson
e51bf80218 Changed "COMPATIBLITY" to "COMPATIBILITY".
svn-id: r30754
2008-02-03 10:15:36 +00:00
Max Horn
34b35348be Moved AdvancedMetaEngine to namespace Common
svn-id: r30736
2008-02-02 11:52:04 +00:00
Jordi Vilalta Prat
5165ff448d Converted the remaining engines to use MetaEngine
svn-id: r30728
2008-02-02 02:35:13 +00:00
Jordi Vilalta Prat
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Sven Hesse
884e1e9ae9 Muting the compiler (Sorry again, yaz0r :P)
svn-id: r30016
2007-12-27 17:47:31 +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
Max Horn
27bd7ef2f4 Added FIXME regarding fopen usage
svn-id: r29993
2007-12-25 23:20:46 +00:00
Sven Hesse
1796c147fc Muting the compiler :P
svn-id: r29991
2007-12-25 21:17:35 +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
7159cc26df Fix blinking character
svn-id: r29987
2007-12-25 18:36:08 +00:00
Vincent Hamm
a2d2f01835 Bunch of gfx fix
svn-id: r29986
2007-12-25 18:11:35 +00:00
Vincent Hamm
37d8bed89b Fix cell sorting
Fix palette loading

svn-id: r29985
2007-12-25 16:37:12 +00:00
Vincent Hamm
be737e074d Fix background save/restore
svn-id: r29979
2007-12-24 16:57:14 +00:00
Vincent Hamm
b6ec364eae Fix save/loading
svn-id: r29977
2007-12-24 15:47:52 +00:00
Vincent Hamm
35b1521e68 Fix sprite mode 5
Fix backgroundIncrust system

svn-id: r29970
2007-12-24 02:59:23 +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
Max Horn
1b285398b3 Fix compiler warnings
svn-id: r29922
2007-12-20 15:00:09 +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
bfbf992907 Fix glitchy cell sorting
svn-id: r29895
2007-12-17 19:21:59 +00:00
Gregory Montoir
6d157c24b7 simplify gfxModuleData_field_60, sync with cine code
svn-id: r29837
2007-12-12 20:55:32 +00:00
Filippos Karapetis
f5a537d6f8 Changed some swaps to use the template SWAP
svn-id: r29829
2007-12-11 23:06:12 +00:00
Max Horn
d2ee52abba Silencing some warnings
svn-id: r29479
2007-11-11 20:17:13 +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
Sven Hesse
5908728d4c Muting the compiler :P
svn-id: r29470
2007-11-10 19:51:06 +00:00
Vincent Hamm
34a696662a Fix boggus object state
svn-id: r29469
2007-11-10 19:47:07 +00:00
Sven Hesse
d624add742 Muting the compiler :P
svn-id: r29468
2007-11-10 18:24:23 +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
Vincent Hamm
783a0bf67d Cleanup load savegame from original interpreter
svn-id: r29453
2007-11-08 22:59:29 +00:00
Sven Hesse
780cb2f274 Muting the compiler :P
svn-id: r29425
2007-11-05 21:06:10 +00:00
Vincent Hamm
773d0dc3c6 Fix some 256color version issues
svn-id: r29423
2007-11-05 20:51:23 +00:00
Vincent Hamm
e2260d8afd Implement polygon and sprite masking
svn-id: r29422
2007-11-05 20:24:20 +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
dcc71a36eb Click on polygon detection
Object menu fix for doors

svn-id: r29395
2007-11-04 00:31:52 +00:00
Vincent Hamm
3fa3afb1fb More polygon fix (nearly pixel perfect...)
svn-id: r29393
2007-11-03 23:59:54 +00:00
Vincent Hamm
3620b19b21 Fix build
svn-id: r29391
2007-11-03 22:47:19 +00:00
Vincent Hamm
121fc7d569 More polygon fix
svn-id: r29390
2007-11-03 22:44:27 +00:00
Eugene Sandulenko
c640d1c604 Patch #1825276: "DETECTION: advanced detector engine simplification"
svn-id: r29386
2007-11-03 21:06:58 +00:00
Sven Hesse
c069051492 Unleashing the polygon virus! (I.e. fixing a compiler warning and a, what I think is a, logical error. Also changing swaps to use the template SWAP.)
svn-id: r29385
2007-11-03 13:46:45 +00:00
Vincent Hamm
3e3cfca83e Early polygon rewrite
svn-id: r29383
2007-11-03 12:30:02 +00:00
Vincent Hamm
4521634286 Small cleanups
svn-id: r29352
2007-11-01 11:22:11 +00:00
Vincent Hamm
caa451f5d2 Implement more object input
svn-id: r29317
2007-10-29 22:03:55 +00:00
Sven Hesse
6e4cf615a3 Commenting out the unused variables x and y to mute GCC :P
svn-id: r29314
2007-10-29 21:06:58 +00:00
Vincent Hamm
2e1ffb91f5 Add missing vars
svn-id: r29313
2007-10-29 21:04:41 +00:00
Vincent Hamm
234024f19e Add more object menu controls
svn-id: r29312
2007-10-29 20:56:19 +00:00
Vincent Hamm
0d2d2339fb Early implementation of object menu
svn-id: r29296
2007-10-28 17:40:04 +00:00
Vincent Hamm
fc961908c5 Find object fix
Walk fix

svn-id: r29291
2007-10-28 14:41:37 +00:00
Max Horn
30b11df046 Fix warning & code formatting
svn-id: r29290
2007-10-28 13:57:43 +00:00
Vincent Hamm
4556690cc0 Implement cursor by object
Fix walk cursor

svn-id: r29288
2007-10-28 13:37:06 +00:00
Vincent Hamm
7860b90051 Implement cursors
svn-id: r29286
2007-10-28 13:21:01 +00:00
Sven Hesse
e76bf9c293 Muting GCC warnings
svn-id: r29268
2007-10-27 18:23:13 +00:00
Vincent Hamm
cc9b0844b9 Hooked inputs
Cleanup & fix in input management code

svn-id: r29267
2007-10-27 18:15:38 +00:00
Vincent Hamm
102764da6e Add fast forward mode
svn-id: r29265
2007-10-27 16:10:50 +00:00
Eugene Sandulenko
77eea722af Modified patch #1738058: "Action recorder".
svn-id: r28968
2007-09-19 13:55:05 +00:00
Nicola Mettifogo
258901bab9 Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
svn-id: r28966
2007-09-19 08:40:12 +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
e2ad271bd8 Removing non-ASCII chars from source code
svn-id: r27818
2007-07-01 12:47:07 +00:00
Eugene Sandulenko
6e5b70f5e9 Patch #1733764: "Fallback detection patch". GSoC student.
svn-id: r27375
2007-06-12 12:22:25 +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
Max Horn
0de170c980 Removing useless common/fs.h includes
svn-id: r27018
2007-05-30 17:44:52 +00:00
Max Horn
5aeb9d8b3e Several const correctness fixes
svn-id: r27011
2007-05-30 14:38:17 +00:00
Gregory Montoir
659e7ed76e sync resource unpacking code of cruise with cine
svn-id: r26933
2007-05-24 21:19:52 +00:00
Torbjörn Andersson
edaadd692f Replaced the old, broken fillpoly() function with a new, and hopefully slightly
less broken, one. It probably isn't pixel-perfect compared to the original one,
so I expect it will probably be replaced once again in the future.

svn-id: r26860
2007-05-17 17:59:27 +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
Torbjörn Andersson
a152065609 I believe these #includes are unnecessary.
svn-id: r26811
2007-05-12 18:22:20 +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
Max Horn
441fddf01c Removed lot of unnecessary typedefs; added a NUM_PERSONS constant; renamed _X/_Y vars to avoid conflicts with system headers on various systems (see bug #1716109)
svn-id: r26798
2007-05-10 07:48:13 +00:00
Chris Apers
c72f840c77 Fixed PalmOS ARM global object allocation
svn-id: r26697
2007-05-01 09:53:27 +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
Max Horn
246e83753a Some minor cleanup (but we need to get rid of fopen/fread use here)
svn-id: r26647
2007-04-28 09:03:11 +00:00
Paweł Kołodziejski
806aadbd75 fixed warning
svn-id: r26643
2007-04-28 07:21:28 +00:00
Eugene Sandulenko
39238a9472 Ahem. Fixing code formatting.
svn-id: r26640
2007-04-28 06:57:32 +00:00
Torbjörn Andersson
6ba72121ad Changed abs() to ABS()
svn-id: r26639
2007-04-28 04:29:05 +00:00
Torbjörn Andersson
32dbf6ae52 Fixed warning.
svn-id: r26638
2007-04-28 04:22:23 +00:00
Vincent Hamm
b563363911 Fix extended characters in font
Implement palette manipulation

svn-id: r26637
2007-04-28 00:26:57 +00:00
Eugene Sandulenko
ffce26ebfe Fix code formatting (partially) and guard defines in includes.
svn-id: r26631
2007-04-27 22:33:45 +00:00
Max Horn
101fbdd64f Fixing more warnings
svn-id: r26630
2007-04-27 22:12:46 +00:00
Sven Hesse
da93916adc Fix compilation
svn-id: r26628
2007-04-27 21:07:37 +00:00
Torbjörn Andersson
1a3aa86783 Fixed compilation (and a warning).
svn-id: r26627
2007-04-27 20:35:29 +00:00
Vincent Hamm
0d07a51acf Cleanup
svn-id: r26624
2007-04-27 20:31:43 +00:00
Max Horn
bead956c8d Fixing more warnings
svn-id: r26618
2007-04-27 19:59:40 +00:00
Max Horn
b4e196e4fd Fixing lots of warnings
svn-id: r26617
2007-04-27 19:54:14 +00:00
Filippos Karapetis
bfe346afd2 Fixed loads of warnings with MSVC and gcc
svn-id: r26615
2007-04-27 18:54:33 +00:00
Filippos Karapetis
b5bc32cf56 Wrong paste
svn-id: r26614
2007-04-27 16:28:22 +00:00
Filippos Karapetis
63fcc7feea Removed some more warnings, fixed a regression made
svn-id: r26613
2007-04-27 16:23:12 +00:00
Filippos Karapetis
def6179a64 Fixing some more warnings
svn-id: r26612
2007-04-27 16:03:45 +00:00
Filippos Karapetis
a1217a9b6a Fixed some warnings and unused variables
svn-id: r26611
2007-04-27 15:53:25 +00:00
Sven Hesse
1ef6a1a7a1 Fixing compilation for me
svn-id: r26610
2007-04-27 15:35:28 +00:00
Filippos Karapetis
8c829072a9 Adding cruise/module.mk
svn-id: r26609
2007-04-27 15:21:01 +00:00
Filippos Karapetis
bebf5e5852 Added the English version of Cruise for a Corpse to the detector, fixed typo
svn-id: r26606
2007-04-27 14:43:09 +00:00
Vincent Hamm
c01aa37caa Add cruise source code for scummvm
svn-id: r26605
2007-04-27 12:58:35 +00:00