59 Commits

Author SHA1 Message Date
Max Horn
8b1d7b9166 When including files from common/, explicitly use the common/ prefix
svn-id: r18444
2005-06-24 15:23:51 +00:00
Max Horn
b75c969e66 Moved class File and the MD5 stuff to namespace Common
svn-id: r18037
2005-05-10 22:56:25 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Gregory Montoir
a44e824815 added some comments and re-indented some parts of code
svn-id: r16394
2004-12-31 00:25:18 +00:00
Gregory Montoir
f2fb63ffd9 enabled savegame loading on startup
svn-id: r15964
2004-11-30 21:01:25 +00:00
Gregory Montoir
6414ec92a2 cleanup, follow code conventions
svn-id: r15872
2004-11-23 22:21:45 +00:00
Gregory Montoir
a1867735a3 change engine initialization as suggested on -devel
svn-id: r15822
2004-11-15 19:38:57 +00:00
Chris Apers
2abe17e594 Cleanup
svn-id: r15739
2004-11-09 10:26:33 +00:00
Chris Apers
d76a375889 Updated comment
svn-id: r15434
2004-10-06 09:58:18 +00:00
Gregory Montoir
45d8b3b002 Rewrote the way strings are extracting from the datafiles, now it should be 'alignment safe'. Maybe it will fix bugs #923570 and #1013886, too.
svn-id: r14734
2004-08-24 16:31:46 +00:00
Gregory Montoir
8b0e9502ec cleanup and simplify Resource class a bit more
svn-id: r14488
2004-08-06 17:01:58 +00:00
Gregory Montoir
79f235ef26 minor cleanup
svn-id: r14484
2004-08-06 11:28:33 +00:00
Gregory Montoir
aaf6da02db simplified some code
svn-id: r14472
2004-08-05 18:10:34 +00:00
Gregory Montoir
6b463e9907 not needed anymore, as File::open() handles the current directory
svn-id: r14471
2004-08-05 17:25:54 +00:00
Max Horn
b8ad54b3af Reversed param order of File::open() -- this allowed me to get rid of a few more getGameDataPath() calls
svn-id: r14090
2004-06-27 22:14:35 +00:00
Chris Apers
6e1200dc67 Added PalmOS support
svn-id: r13336
2004-03-17 14:10:51 +00:00
Joost Peters
f4b3100b35 add support for the hebrew talkie version and warn the user if s/he's using an old version of the tbl file
svn-id: r12826
2004-02-11 21:07:39 +00:00
Gregory Montoir
7bd31d615c change sscanf() calls to atoi() to please PalmOS :)
svn-id: r12582
2004-01-23 16:58:13 +00:00
Gregory Montoir
95891f95c7 *temporary* fix for LineReader to handle files not terminated by an empty string (*.crd)
svn-id: r12527
2004-01-19 22:31:21 +00:00
Gregory Montoir
95de2117a2 New save/load code, this *breaks* compatiblity with the previous
savefile format. Use the 'qsc' tool to convert your old files
(http://0x.7fc1.org/fotaq/qsc.[cpp|exe]).

svn-id: r12339
2004-01-12 13:40:02 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
David Eriksson
c21e5d797c At last - credits!
svn-id: r12155
2004-01-05 11:58:20 +00:00
Gregory Montoir
1194bc9d5e use compressed data file instead of original one if both are available
svn-id: r12059
2003-12-31 16:15:46 +00:00
Gregory Montoir
42c5524a02 interview mini-game support
svn-id: r12037
2003-12-30 21:06:22 +00:00
Gregory Montoir
14cfaf8852 - hack to read patched .dog files (french & italian versions) from game data path instead of data file
- cleanup Resource a bit (add an accessor for ResourceEntry in order to avoid multiple calls to resourceIndex)

svn-id: r12006
2003-12-29 13:18:24 +00:00
Gregory Montoir
67159d4539 cleanup Resource class a bit :
- re-use some methods to read the resource table (normal / compressed)
- removed _gameVersion member as we can do without it (and is mostly
  useless in case of a compressed data file) ; now, we use the
  'JAS version string' as it is sufficient to detect if the game is
  a floppy version / demo etc.
- const'ness
- tweaked checkJASVersion() for interview mini game

removed (useless) dirty hack in Logic::changeRoom() to setup initial
scene in demos (pclogo.cut doesn't exist at all !)

svn-id: r11998
2003-12-28 15:29:05 +00:00
Gregory Montoir
749b5d4ca5 cleanup
svn-id: r11946
2003-12-26 15:36:28 +00:00
Max Horn
8f5c14aebe get rid of queencomp target (rather simply always check for both queen.1 and queen.1c); this allows some code simplification and gets rid of the last access to detector->_game in queen
svn-id: r11599
2003-12-12 15:29:58 +00:00
Gregory Montoir
38c4321f59 cleanup
svn-id: r11588
2003-12-11 21:04:02 +00:00
Gregory Montoir
3befded402 cleanup header includes
svn-id: r11449
2003-12-01 20:48:41 +00:00
Joost Peters
f979f185af - Enabled missing calls to _sound->playSong, now it should *really* play all SFX
- Moved sound/music related toggle variables to Sound class
- Changed "Couldn't find file.." warning() to debug(7, ..)

svn-id: r11303
2003-11-15 21:33:04 +00:00
Joost Peters
6fec54b411 Forgot to commit this
svn-id: r11246
2003-11-10 10:37:46 +00:00
Torbjörn Andersson
439bc8364d Fix warning
svn-id: r11240
2003-11-10 07:41:21 +00:00
Joost Peters
b64c6fcbfc Added (quick-)Saving/Loading
svn-id: r11230
2003-11-09 21:31:18 +00:00
Paweł Kołodziejski
8f130401a1 cleanup whitespaces
svn-id: r11224
2003-11-08 23:45:45 +00:00
Marcus Comstedt
ef5e193d59 stdafx.h needs to be included first.
svn-id: r11117
2003-11-03 22:28:37 +00:00
Joost Peters
295e9c6ff9 add support for spanish cd version
svn-id: r11013
2003-10-30 23:20:47 +00:00
Joost Peters
ee276b12b8 add OGG playback to queen
svn-id: r10993
2003-10-28 15:26:05 +00:00
Joost Peters
31a8ef2e7f cleanup
svn-id: r10989
2003-10-28 13:27:37 +00:00
Joost Peters
e02fe63f2e added loadFileMalloc() method
svn-id: r10988
2003-10-28 12:42:35 +00:00
Joost Peters
6fc0cd7913 whatever
svn-id: r10959
2003-10-25 01:11:14 +00:00
Joost Peters
8395184a8f forgot to commit this
svn-id: r10934
2003-10-21 12:38:01 +00:00
Joost Peters
d3dd9f6216 allow loading of rebuilt/compressed datafile
svn-id: r10917
2003-10-20 19:18:02 +00:00
Joost Peters
4fe33a1dae also look for TBL file in current directory (useful when running the game from CD)
svn-id: r10861
2003-10-17 14:26:23 +00:00
David Eriksson
7f6c294a1e Play all intro cutaways (some better than others... :-)
svn-id: r10833
2003-10-16 19:40:29 +00:00
Torbjörn Andersson
4e3129c64c Fixed warning
svn-id: r10793
2003-10-14 08:31:56 +00:00
Gregory Montoir
cf47fb1c69 dynalum implementation
svn-id: r10781
2003-10-13 16:49:53 +00:00
Joost Peters
905e47dc1a don't use strstr(), as there is no terminating '\0' at the end of the file
svn-id: r10772
2003-10-12 19:17:26 +00:00
Joost Peters
9b41c157c0 added missing INITIATE() code, added language detection to Resource class, etc.
svn-id: r10767
2003-10-12 18:44:44 +00:00
Max Horn
5301edc383 some cleanup
svn-id: r10720
2003-10-10 13:55:08 +00:00