Commit Graph

31 Commits

Author SHA1 Message Date
Torbjörn Andersson
a1a16d1579 Use consistent naming for the preprocessor constants used to guarantee that
header files are only included once. Many of them didn't have a SCUMM prefix
which could have lead to clashes with common header files.

svn-id: r25727
2007-02-19 17:48:19 +00:00
Gregory Montoir
7fa8e652a0 added missing MKID_BE macros
svn-id: r25560
2007-02-13 20:58:20 +00:00
Torbjörn Andersson
ea40535678 Applied the revised NUT font renderer patch #1635584, which combines cyx's
patch for correct (not to mention more efficient) rendering of CMI's shadowed
letters, while retaining most of the memory savings of my original patch. This
time, SMUSH and INSANE fonts also benefit from it.

svn-id: r25345
2007-02-03 05:50:35 +00:00
Gregory Montoir
ccde018e85 unused buffer variable
svn-id: r25286
2007-01-30 20:31:48 +00:00
Gregory Montoir
c69ecb78e7 added calls to SmushPlayer::getFont() to prevent accessing non-initialised SmushFont objects
svn-id: r25285
2007-01-30 20:29:01 +00:00
Gregory Montoir
2b61c0d6c1 cleanup (made NutRenderer::loadFont protected, added call during initialisation of the renderer object)
svn-id: r25223
2007-01-27 02:26:37 +00:00
Torbjörn Andersson
01a5faa6a0 Applied my own patch #1635584 (after discussing with Fingolfin) to reduce the
memory usage and number of allocations made by the NUT font renderer.

svn-id: r25155
2007-01-21 17:14:53 +00:00
Max Horn
9698d133a6 SCUMM: Changed class Chunk (and subclasses) to inherit from Common::SeekableReadStream
svn-id: r24544
2006-10-28 01:20:19 +00:00
Max Horn
3652229147 SCUMM: Got rid of smush/chunk_type.h
svn-id: r24543
2006-10-28 00:45:58 +00:00
Max Horn
a6fee09adf const and static, static and const, const and static, static and const... now everybody repeat it with me... 8-)
svn-id: r24540
2006-10-27 23:00:28 +00:00
Max Horn
2888110b3c Turning various static tables into static const
svn-id: r24323
2006-10-15 01:24:17 +00:00
Eugene Sandulenko
0385a4d2bb Fix potentioal bug when all subsequent SMUSH scenes were considered INSANE
svn-id: r24292
2006-10-13 09:16:09 +00:00
Paweł Kołodziejski
e85ab4b10f now SmushPlayer is class created once same as SmushMixer while scumm engine creation. this allow finish play smush audio track finished to the end instead immediately stopped as it was happen before
svn-id: r24263
2006-10-10 12:16:21 +00:00
Paweł Kołodziejski
ce100c8e93 small unify handleIACT function
svn-id: r24214
2006-10-08 18:22:51 +00:00
Max Horn
4973c657b8 Moved all INSANE and SMUSH related code into ScummEngine_v7 (resp. ScummEngine_v6 in a few cases)
svn-id: r24169
2006-10-07 13:57:06 +00:00
Max Horn
4c14cf6d1a Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
svn-id: r23974
2006-09-23 00:42:35 +00:00
Max Horn
51017cf1b2 Renamed ScummEngine::res to _res and allocate the ResourceManager on the heap (i.e. _res is a pointer now)
svn-id: r23922
2006-09-17 20:36:48 +00:00
Torbjörn Andersson
6358547a43 More whitespace changes.
svn-id: r23496
2006-07-14 13:33:58 +00:00
Torbjörn Andersson
ecfedb1e81 Cleanup. It seems unnecessary to have a "break" right after an unconditional
return in a switch case.

svn-id: r23198
2006-06-20 18:55:25 +00:00
Max Horn
d00755de8e Removing some unused code from INSANE
svn-id: r22417
2006-05-12 18:00:41 +00:00
Max Horn
9d5098e0f8 Insane is part of SCUMM V7, not V6
svn-id: r22188
2006-04-27 00:02:06 +00:00
Torbjörn Andersson
c26b762f48 Made readFileToMem() print a more useful error message than "File is not open"
if the file could not be opened.

svn-id: r21508
2006-03-31 06:42:56 +00:00
Travis Howell
469b1420da Fix sound glitch in PC demo of FT
svn-id: r21506
2006-03-31 00:39:53 +00:00
Travis Howell
e504e814b1 Improve mine road in PC demo of FT
svn-id: r21505
2006-03-30 23:58:37 +00:00
Travis Howell
3e974d3604 Limit INSANE to existing enemies in PC demo of FT
svn-id: r21504
2006-03-30 13:47:18 +00:00
Travis Howell
1ec46bae37 Allow interactive mine road in PC version of FT demo
svn-id: r21503
2006-03-30 11:52:49 +00:00
Travis Howell
f26dee7599 Closer match difficulty of insane in PC version of FT demo
svn-id: r21380
2006-03-19 10:34:02 +00:00
Max Horn
bac32d1a5c Moved ScummFile etc. to the new file.cpp / file.h
svn-id: r21038
2006-03-03 15:16:02 +00:00
Max Horn
81e8a2860e Moved iMUSE code to the new directory engines/scumm/imuse/
svn-id: r20801
2006-02-20 20:57:26 +00:00
Max Horn
e389bcf497 Replaced _gameId, _version, _heversion, _features, _midi, _platform with a simple ScummGameSettings instance: _game
svn-id: r20795
2006-02-20 16:51:30 +00:00
Max Horn
26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00