Thierry Crozat
3c59e37035
ENGINES: Unify engine names
...
This unifies the engine names in MetaEngine::getName() and the
credits. In particular drop "Engine" or "engine" from the names when
it was present and use expanded names in credits when the
MetaEngine uses it (e.g. "Beneath a Steel Sky" instead of "BASS").
2011-05-16 00:11:32 +01:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Johannes Schickel
71bdb86e02
Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
...
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16
Conflicts:
graphics/png.cpp
2011-05-01 16:54:45 +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
strangerke
09bf964807
HUGO: Add workaround for bug #3292389 : Penelope splits up when dying in chasm
2011-04-26 00:10:08 +02:00
strangerke
c9c6d01d36
HUGO: Fix bug #3292382 : "Whodunit? & Jungle of Doom set music to off by itself"
2011-04-25 20:25:53 +02:00
strangerke
6959ee22e4
HUGO: Fix bug #3292400 : Overlapping help windows when using the menu bar
2011-04-25 14:28:19 +02:00
strangerke
de5ec741ff
HUGO: Add a black background behind the score line. This should fix bug #3291959 .
2011-04-25 00:08:39 +02:00
strangerke
3de8b25003
HUGO: Fix BE issue in getSound(). Thanks wjp for finding that issue.
2011-04-24 23:22:39 +02:00
strangerke
4f708b0212
HUGO: Hopefully fix the valgrind error reported by Digitall in bug #3292391
2011-04-24 22:29:27 +02:00
strangerke
8651f9739f
HUGO: Fix Endianness issue in H2 and H3 Dos
2011-04-23 08:31:04 +02:00
strangerke
c15b858765
HUGO: Silent several warnings reported by littleboy
2011-04-20 22:22:01 +02:00
Johannes Schickel
da734a4af0
ALL/GRAPHICS: Remove Surface::bytesPerPixel.
2011-04-17 21:27:34 +02:00
Johannes Schickel
1c0c15dd95
HUGO: Prefer Surface::format over Surface::bytesPerPixel.
2011-04-17 20:57:52 +02:00
Johannes Schickel
2104b2adb9
HUGO: Prefer Surface::create taking a PixelFormat over the one taking a byte depth.
2011-04-17 16:27:37 +02:00
strangerke
bec42f78b7
HUGO: Remove debug message
2011-04-16 19:40:59 +02:00
Eugene Sandulenko
dfadf40d42
HUGO: Close prompt box dialog on Return key
2011-04-16 16:19:44 +03:00
Eugene Sandulenko
8df814b625
HUGO: cleanup
2011-04-16 15:55:16 +03:00
Eugene Sandulenko
601d66df4f
HUGO: Fix crashes
2011-04-16 15:54:01 +03:00
Eugene Sandulenko
550615f157
HUGO: Implement prompt text box
...
Still it sometimes asserts with repeated dialog launches.
2011-04-16 15:10:12 +03:00
Max Horn
7c16f9ac3c
HUGO: Fix s_bootCypherLen *for real*
2011-03-30 00:21:40 +02:00
Max Horn
3be61257d0
HUGO: Fix cypher fix ;)
2011-03-30 00:10:25 +02:00
strangerke
882c042a73
HUGO: - BSF file is no longer mandatory for H2 and H3 Dos.
...
- Replace error by a notifyBox in BSF related functions
- Fix cypher (broken in previous commit)
- Add checks on distributor in intro
2011-03-29 23:54:47 +02:00
Max Horn
7949d7c6de
AUDIO: Move more common code to Audio::MidiPlayer
...
This also should fix some regressions from the previous
commits, related to MidiParser's either being leaked,
or being deleted and then used again (i.e., crashing).
I tested as many games as I had available, but further
testing of all affected engines is called for anyway.
2011-03-25 14:15:53 +01:00
Max Horn
6bf4745a1b
HUGO: Move MidiDriver creation into MidiPlayer constructor
2011-03-25 14:15:43 +01:00
Max Horn
9a646cde46
HUGO: Turn FileManager::getBootCypher into a const static variable
2011-03-24 16:46:49 +01:00
Max Horn
94e7a231fe
HUGO: Change MidiPlayer to derive from Audio::MidiPlayer
2011-03-24 16:46:47 +01:00
Max Horn
754c250c65
HUGO: When erroring out due to a missing file, tell the user which file is missing
2011-03-24 16:46:45 +01:00
Max Horn
e70fd59b35
ENGINES: Further simplify pseudo MidiDrivers; fix some regressions
...
The regression affected AGOS and maybe some others; specifically,
the real MidiDriver would have been deleted twice -- I previously
missed that the Engine instances takes care of freeing the real
MidiDriver, not the MidiPlayer wrapping it.
This commit should clarify the ownership of the real MidiDriver for
most pseudo MidiDrivers.
2011-03-23 16:49:41 +01:00
Max Horn
29847ea42d
AUDIO: Change several fake MidiDrivers to MidiDriver_BASE subclasses
...
Many engines follow the advice in audio/midiparser.h and create a
"pseudo-MidiDriver" subclass. But MidiParser really only needs a tiny
subset of the MidiDriver capabilities, namely those found in
MidiDriver_BASE. So we try to subclass from that whenever possible; this
allows us to remove many stub methods, and enables further future
simplifications.
2011-03-23 15:25:47 +01:00
Max Horn
7b02dac3c5
ENGINES: Use Common::StackLock in more places
2011-03-23 15:25:46 +01:00
Max Horn
8982fff1b7
AUDIO: Add pure virtual MidiDriver::isOpen() method
...
This in turn enables modifying MidiDriver_MPU401::close() to allow
it to be called on a midi driver that has not yet been opened.
The specific issue that triggered me to make these changes was a
crash-upon-quit in HUGO, caused by it instantiating a midi driver,
then encountering an error (missing hugo.dat) *before* having
opened the new midi driver; the general cleanup code then tries
to close the (not yet opened) midi driver -> kaboom
Also fixed some engines which were leaking MidiDriver instances.
2011-03-22 23:51:47 +01:00
Max Horn
dd88f39bc7
HUGO: Replace Utils::Box by Utils::notifyBox + Common::String::format
2011-03-21 13:16:35 +01:00
Max Horn
458ebbafd2
HUGO: Split Utils::Box -> new funcs Utils::yesNoBox and Utils::promptBox
...
This also fixes a bug in the kBoxPrompt code (it returned a pointer to
the content of a temporary string object).
2011-03-21 12:53:50 +01:00
dhewg
dfa5f743de
HUGO: Init volume levels on startup
2011-03-19 16:04:53 +01:00
strangerke
563ac93c16
Hugo: Use EntryDialog in Box()
2011-03-17 20:07:24 +01:00
Eugene Sandulenko
0389bd0c4b
HUGO: Fix compilation
2011-03-17 17:46:38 +02:00
Eugene Sandulenko
4ea65d0a1e
HUGO: renamed guard #defines
2011-03-17 17:31:09 +02:00
Eugene Sandulenko
901b5e2097
HUGO: Initial work on user input dialog
2011-03-17 17:31:05 +02:00
Eugene Sandulenko
c813391455
HUGO: Renamed menu.* to dialogs.*
2011-03-17 17:31:02 +02:00
strangerke
9fb28410b5
HUGO: Misc savegame modifications
...
- Add initial savegame on slot 0
- Save viewstate as it may now contain several different values when saving
- Fix loading from GMM
- Implement ctrl-N
2011-03-08 00:21:02 +01:00
strangerke
29b5b4afa6
HUGO: Fix registration messages for H1 Dos Freeware version (in intro)
2011-03-07 19:40:20 +01:00
Max Horn
e9dad7859c
HUGO: Silence GCC warning
2011-03-02 14:07:46 +01:00
D G Turner
22ebc2b724
HUGO: Correct 2 Memory Leaks in DAT Object Loading.
2011-03-01 07:37:26 +00:00
D G Turner
95b1bfa0be
HUGO: Correction for Schedule saveActions() mistake.
2011-03-01 07:02:21 +00:00
strangerke
d05428015e
HUGO: Rewrite saveActions() and readActions() in order to be platform and endian safe.
...
This breaks (again) the savegame file formats... Hopefully for the last time
2011-03-01 00:44:28 +01:00
strangerke
41927e0f6d
HUGO: cleanup, fix several bad indirections (thanks LordHoto)
2011-02-28 23:15:06 +01:00
strangerke
560eb302f1
HUGO: Fix assert while saving under linux
2011-02-28 21:58:10 +01:00
strangerke
1b16b482f9
HUGO: Remove forgotten debug message
2011-02-28 00:59:38 +01:00
strangerke
a4d4dc81a9
HUGO: rewrite saveEvents() and restoreEvents() in order to be endian and platform safe
2011-02-28 00:58:25 +01:00