Commit graph

232 commits

Author SHA1 Message Date
Colin Snover
6e157429b7 BACKENDS: Fix window sizing of games that switch between multiple resolutions 2017-10-07 12:30:29 -05:00
Colin Snover
432fd522d2 ENGINES: Remove default1x scaler flag
This flag is removed for a few reasons:

* Engines universally set this flag to true for widths > 320,
  which made it redundant everywhere;
* This flag functioned primarily as a "force 1x scaler" flag,
  since its behaviour was almost completely undocumented and users
  would need to figure out that they'd need an explicit non-default
  scaler set to get a scaler to operate at widths > 320;
* (Most importantly) engines should not be in the business of
  deciding how the backend may choose to render its virtual screen.
  The choice of rendering behaviour belongs to the user, and the
  backend, in that order.

A nearby future commit restores the default1x scaler behaviour in
the SDL backend code for the moment, but in the future it is my
hope that there will be a better configuration UI to allow users
to specify how they want scaling to work for high resolutions.
2017-10-07 12:30:29 -05:00
Eugene Sandulenko
cf89cc04cc GOB: Move debug channel registration to the top of the engine constructor 2016-07-28 11:37:06 +03:00
Sven Hesse
aca13f7ba9 GOB: Work around broken resource sizes in Gobliiins EGA
The EGA version of Gobliiins, similar to Little Red Riding Hood,
claims a few resources are larger than they actually are. The original
happily reads past the resource structure, but we'll instead fix
the size of the resource after loading.

This fixes bug #7162.
2016-07-20 21:59:22 +02:00
Ori Avtalion
064df1ff27 GOB: Reduce audio header dependencies 2016-04-14 17:18:33 +03:00
Matthew Hoops
aa6ff44440 BACKENDS: Only expose one set of functions for AudioCDManager
Engines should only have to call one set of functions and not decide between the two. In fact, the 'emulation' API was documented to just call the 'real CD' API.
2016-03-13 13:57:19 +01:00
Matthew Hoops
fb6fe1332a BACKENDS: Move to an openCD() without parameters as the public API 2016-03-13 13:52:24 +01:00
Walter van Niftrik
e31da911c9 GOB: Implement custom AdLib volume control 2015-07-07 20:19:45 -04:00
Johannes Schickel
ea21bc939a GOB: Make GPL headers consistent in themselves. 2014-02-18 02:39:34 +01:00
Sven Hesse
ca861961a9 GOB: Add a game type and detection table for Croustibat 2014-01-31 12:04:08 +01:00
Sven Hesse
4fc3a88c5f GOB: Add support for different methods of handling Endianness
The Once Upon A Time games handle endianness different in ANI, DEC
and RXY files than Geisha does. We need to support both approaches.
2012-07-30 01:44:42 +02:00
Sven Hesse
4819468d9a GOB: Add PreGob stubs for the Once Upon A Time games 2012-07-30 01:44:42 +02:00
Sven Hesse
099a76ea20 GOB: Don't crash when there's no _inter object 2012-07-30 01:24:18 +02:00
Sven Hesse
dd35e72a7e GOB: Return proper errors in GobEngine::run() 2012-07-30 01:24:17 +02:00
Sven Hesse
026ef70b87 GOB: Add a SaveLoad class for AJ's World
Only contains a temp sprite handler ("menu.inf") for now.
This fixes the graphical glitch after clicking on the cloud.
2012-06-16 15:23:31 +02:00
Sven Hesse
6d01b51755 GOB: Add a proper GameType for AJ's World 2012-06-16 15:08:10 +02:00
Sven Hesse
5961609a56 GOB: Add a resource size workaround for Little Red
This fixes the missing resources in the screen where Little Red
has to find the animals' homes for them.
2012-06-15 15:09:01 +02:00
Sven Hesse
f16cc050e9 GOB: Add class Inter_LittleRed
This fixes the crash when selecting an animal in the "Languages"
screen.

Interestingly, the German names of the animals are partially
wrong... And for "Das Schmetterling" (sic!), even the recorded
speech sample is wrong.
2012-06-15 01:14:49 +02:00
Sven Hesse
59b2a84552 GOB: Add a proper GameType for Little Red 2012-06-15 00:51:03 +02:00
Sven Hesse
2f7ae1109b GOB: Add a cheat debug command
- Cheat the Diving minigame to a win
- Get the mastermind solution
2012-01-29 00:10:11 +01:00
Sven Hesse
dfe9fc05aa GOB: Implement saving/loading for Geisha 2011-08-29 01:37:57 +02:00
Sven Hesse
e20b90543d GOB: Fix the Geisha cursor 2011-08-26 06:09:56 +02:00
Sven Hesse
24929c9990 GOB: Add inter_geisha.cpp and implement oGeisha_loadSound
Geisha's intro shows now (with glitches, palette animation fail?) and
the game is playable.
2011-08-26 04:10:46 +02:00
Max Horn
4cbe4ede66 COMMON: Registers RandomSources in constructor with the event recorder
This also removes the dependency of engines on the event recorder header
and API, and will make it easier to RandomSources that are not properly
registered.
2011-05-17 12:17:26 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
dhewg
3eda4c16ac GOB: Init volume levels on startup 2011-03-19 16:04:52 +01:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Sven Hesse
e3ceff83f4 GOB: Add the "envir" directory to the search path for Adibou
svn-id: r55770
2011-02-04 15:55:54 +00:00
Sven Hesse
ce3d4b5d1b GOB: Add GobEngine::isCurrentTot()
svn-id: r55630
2011-01-29 22:45:51 +00:00
Sven Hesse
d1b53b1b81 GOB Add save stubs for Addy Junior
svn-id: r55529
2011-01-25 12:14:31 +00:00
Sven Hesse
64da68cb0d GOB: Adi 4 should get a Inter_v7 too
svn-id: r55518
2011-01-25 02:52:19 +00:00
Sven Hesse
176e49975c GOB: Adding stubs for Addy
svn-id: r55508
2011-01-25 00:50:26 +00:00
Sven Hesse
ccd5129588 GOB: Pass engine pause to the VideoPlayer and decoders
Entering the GMM or the debug console during a video will not
mess up audio/video sync anymore.

svn-id: r55466
2011-01-23 15:33:30 +00:00
Sven Hesse
b38b5d2484 GOB: Give Inca2 its own SaveLoad class
Add an quick hack to fudge reading of the "voice.inf" file,
so that the voice match the selected text language.

svn-id: r55298
2011-01-18 11:53:21 +00:00
Sven Hesse
d4357c5c3f GOB: Give Inca2 its own Inter class
svn-id: r55296
2011-01-18 11:52:24 +00:00
Sven Hesse
e063ced21a GOB: Add setTrueColor()
To change ScummVM's color mode on-the-fly

svn-id: r55261
2011-01-16 16:28:47 +00:00
Max Horn
668adaa461 GUI: Rename gui/GuiManager.* to gui/gui-manager.*
svn-id: r54265
2010-11-16 10:19:01 +00:00
Max Horn
059944e59c COMMON: Push #include audiocd.h in system.h out to .cpp files
svn-id: r54148
2010-11-08 23:07:42 +00:00
Max Horn
82e473bc3b BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes only
This commit contains the AudioCDManager changes from the gsoc2010-opengl
branch. The other changes in that branch are restricted to the backends
directory only (plus configure).

The Nintendo DS and Dreamcast ports still need to be ported over to
the new Audio CD system, but that should be fairly easy to do.

svn-id: r54147
2010-11-08 22:53:36 +00:00
Sven Hesse
16a3cc8a84 GOB: Clean up class DataIO
Removing the need for class DataStream and that handle mess.

svn-id: r53984
2010-10-31 20:07:14 +00:00
Johannes Schickel
75e8452b6e OPENGL: Merged from trunk, from rev 52105 to 53396.
This includes an rather hacky attempt to merge all the recent gp2x backend
changes into the branch. I suppose the gp2x backend and probably all new
backends, i.e. gph, dingux etc., might not compile anymore.

Since I have no way of testing those it would be nice if porters could look
into getting those up to speed in this branch.

svn-id: r53399
2010-10-13 03:57:44 +00:00
David Turner
6527c01cb5 GOB: Add Debug Console.
This allows interactive control of debug flags and variables and provides a base to allow
for commands to aid in tracking down script bugs which are tricky to replicate.

svn-id: r53398
2010-10-13 03:49:54 +00:00
Sven Hesse
3ab8bf16a2 GOB: Create 16bit surfaces for true color games
Enabling basic Urban drawing again

svn-id: r52949
2010-09-30 13:03:22 +00:00
Sven Hesse
51fd528fe5 GOB: Change all drawing to use class Surface
svn-id: r52947
2010-09-30 13:02:16 +00:00
Sven Hesse
e68b6e9f15 GOB: Remove dither stuff, commenting out most v6 drawing
svn-id: r52945
2010-09-30 13:00:30 +00:00
Sven Hesse
b6766f0d7f GOB: Stub setting up of 16bpp graphics
svn-id: r52944
2010-09-30 12:59:48 +00:00
Sven Hesse
13d41dca41 GOB: Add kFeaturesTrueColor
svn-id: r52943
2010-09-30 12:59:18 +00:00
Sven Hesse
3cb3b1e692 GOB: Rename kFeatures640 to kFeatures640x480
svn-id: r52942
2010-09-30 12:58:52 +00:00
Arnaud Boutonné
8ed0a70b06 Fascination - Fix the texts not cleaned up (eg Hotel Hall). Thanks SylvainTV for identifying the problem
svn-id: r52135
2010-08-17 07:41:15 +00:00