Commit Graph

50 Commits

Author SHA1 Message Date
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
Max Horn
ed5948272d constness
svn-id: r10714
2003-10-10 10:42:37 +00:00
Joost Peters
16ee37f817 added resource-table loading from external file
svn-id: r10647
2003-10-06 23:04:00 +00:00
Joost Peters
36ed0b1d3c renamed classes (we have our own namespace now) + fixed segfault in logic
svn-id: r10618
2003-10-05 16:07:07 +00:00
Max Horn
8fb8ea48ec namespace Queen
svn-id: r10575
2003-10-03 19:47:41 +00:00
David Eriksson
ab990be666 Handle _sfxName table properly
svn-id: r10539
2003-10-02 14:55:28 +00:00
Joost Peters
0c93377f5d added BANK code from Gregory + minor change to loadFile()
svn-id: r10491
2003-09-29 22:27:08 +00:00
Joost Peters
84ed3e272d use new operator instead of malloc() and added generic file loading function
svn-id: r10470
2003-09-28 19:57:01 +00:00
Joost Peters
8782ad0f91 removed old code
svn-id: r10464
2003-09-28 16:07:15 +00:00
Joost Peters
82fd316187 queen initial import
svn-id: r10462
2003-09-28 15:50:47 +00:00