AndywinXp
9e7e6a08b2
SCUMM: INSANE/SMUSH: Implement video file dependent frame rate
...
In FT and DIG demo, video files have the correct frame rate encoded in the FLU header.
This fixes bug #14029 .
2023-01-15 14:39:33 +01:00
Donovan Watteau
cbfa856ebc
SCUMM: Fix -Wformat-overflow warning in Insane::smush_setFrameSteps()
...
It's given a null pointer at some point, which is UB for printf-like
functions.
2022-11-05 21:38:02 +01:00
Andrea Boscarino
07eafca398
SCUMM: INSANE: Set correct video framerate
2022-05-21 22:44:01 +03:00
Andrea Boscarino
024aa1f22b
SCUMM: SMUSH: Implement audio sub-engine
2022-04-16 23:25:31 +02:00
athrxx
acb665c109
SCUMM: (SCUMM7/8) - cleanup (text) verb drawing and Hebrew right-to-left drawing
...
(SCUMM7/8 only)
2022-04-08 19:53:44 +02:00
athrxx
de4513cdff
SCUMM: (SCUMM7/8) - implement original text formatting flags for more flexibility
2022-04-08 19:53:44 +02:00
athrxx
1f56132725
SCUMM: (SCUMM7/8) - reorganize font rendering - first part
...
(inspired by PR 3276 - this here has the desired effect, but actually allows the removal of hacks, workarounds and redundancy code instead of adding more of that sort)
The purpose is to have the same accurate font rendering that we already have in the Smush code also for the ingame texts. The original interpreters draw the text like that, so this is not a weirdo invention of mine.
This is still broken. The main purpose was to get as much code done as necessary to have it at least compile again and correctly run the Smush texts.
The rest still needs quite some work...
2022-04-08 19:53:44 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Andrea Boscarino
f731cfd648
SCUMM: DiMUSE: New Digital iMUSE Engine ( #3368 )
...
SCUMM: DiMUSE: Add new implementation of the engine
2021-11-16 00:05:18 +01:00
BLooperZ
b88403b18b
SCUMM: INSANE: always enable line wrap on hebrew
2021-03-19 01:20:10 +01:00
athrxx
30f4fd049e
SCUMM: (SMUSH) - fix text coordinates and wrapping
...
Some fixes from disasm to have the text look pixel-exact like the original.
Some lines in COMI are still off a bit by 2 pixels to the left or to the right. Whilst I doubt that anyone would notice it I'll try to fix that, too.
2020-10-24 17:58:29 +02:00
Eugene Sandulenko
ee324a07cf
SCUMM: Fix crash on exit in FT demo
2016-10-09 15:26:48 +02:00
Ori Avtalion
d8045c6727
JANITORIAL: Fix clang printf warnings
2016-01-07 14:55:32 +02:00
Johannes Schickel
3847465163
SCUMM: Make GPL headers consistent in themselves.
2014-02-18 02:39:38 +01:00
Matthew Hoops
0031c41db8
COMMON: Change kPlatformPC to kPlatformDOS
...
"PC" was very ambiguous and now it matches what we show in the GUI.
This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Eugene Sandulenko
095dfcad15
INSANE: Fix potential buffer overflow. CID 1003866
2013-04-21 14:27:30 +03:00
Max Horn
b37463fe59
SCUMM: Move class ResourceManager to its own header
2011-05-13 11:47:08 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Max Horn
0ce2ca4e00
COMMON: Replace MKID_BE by MKTAG
...
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
2011-04-12 16:53:15 +02:00
Max Horn
3b21db1618
SCUMM: Fix parts of bug #3087898 (SCUMM: Code analysis warnings)
...
svn-id: r53567
2010-10-18 16:00:07 +00:00
Max Horn
51933629d1
Changed foo(void) to foo() in almost all non-backend source files
...
svn-id: r45616
2009-11-02 21:54:57 +00:00
Max Horn
6f4b567124
SCUMM: Split intern.h into multiple headers
...
svn-id: r39567
2009-03-20 16:33:58 +00:00
Max Horn
f8ccd2dede
SCUMM: Got rid of class Chunk
...
svn-id: r34518
2008-09-13 22:41:30 +00:00
Paul Gilbert
6eb64102a4
Fix to remove a tab character from the GPL header
...
svn-id: r30238
2008-01-05 12:45:14 +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
Eugene Sandulenko
35d6862117
Remove/clarify several FIXMEs
...
svn-id: r28892
2007-09-11 15:49:19 +00:00
Max Horn
4cc9d17c34
Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME comments; and some other related cleanup
...
svn-id: r28890
2007-09-11 09:20:39 +00:00
Max Horn
302da0b855
SCUMM: Added three FIXME comments to the _keyDownMap code, and made it use KEYCODE_ constants for clarity
...
svn-id: r27659
2007-06-23 11:53:24 +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
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
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
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
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
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
e504e814b1
Improve mine road in PC demo of FT
...
svn-id: r21505
2006-03-30 23:58:37 +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