Commit Graph

35641 Commits

Author SHA1 Message Date
Vladimir Menshakov
8a3bb27f63 added Rect ctor from Common::Rect
svn-id: r46337
2009-12-12 11:53:44 +00:00
Vladimir Menshakov
72cb0036a3 reverted the latest patch
svn-id: r46336
2009-12-12 10:57:38 +00:00
Vladimir Menshakov
17435a0b6c render 'ons' after all stuff (needs to be discovered), fixed crumbs invisibility on screen with barman
svn-id: r46335
2009-12-12 10:50:41 +00:00
Vladimir Menshakov
cc22b76c3b added debug level to the dump() methods.
svn-id: r46334
2009-12-12 10:43:17 +00:00
Vladimir Menshakov
581fd0c42d tuned vertical speed for mark
svn-id: r46333
2009-12-12 10:31:48 +00:00
Vladimir Menshakov
468c27979f moved noisy debug messages to level 1
svn-id: r46332
2009-12-12 10:29:24 +00:00
Torbjörn Andersson
22ca0c1e92 Renamed line() to drawLine() to silence warning about function parameters in
dialogs.cpp shadowing it. Actually, the function doesn't seem to be used
anywhere at the moment, but perhaps someone has future plans for it?

svn-id: r46331
2009-12-11 17:14:55 +00:00
Paul Gilbert
724d698a05 Beginnings of a dialog display class
svn-id: r46330
2009-12-11 09:41:27 +00:00
Johannes Schickel
6b44a09a52 Hopefully fixing linking on MSVC:
svn-id: r46329
2009-12-10 21:40:38 +00:00
Johannes Schickel
9e04ca3633 Silence gcc warning.
svn-id: r46326
2009-12-09 23:05:36 +00:00
Johannes Schickel
dce1d4aa4b Properly clean up memory when destroying CursorManager.
svn-id: r46325
2009-12-09 23:05:15 +00:00
Johannes Schickel
7605a35fd7 Cleanup: Move constructor/destructor definition of CursorManager::Cursor and CursorManager::Palette to cursorman.cpp.
svn-id: r46324
2009-12-09 23:04:54 +00:00
Johannes Schickel
2f372d79d5 Fix compilation for systems without USE_RGB_COLOR defined.
svn-id: r46323
2009-12-09 22:50:12 +00:00
Max Horn
f3420c6372 DRACI: Reduce header interdependencies; some cleanup
svn-id: r46320
2009-12-09 21:03:22 +00:00
Johannes Schickel
5cd176052c Typo...
svn-id: r46319
2009-12-09 20:11:02 +00:00
Johannes Schickel
27e03012d5 This is hopefully fixing compilation of the fluidsynth code.
svn-id: r46318
2009-12-09 20:08:57 +00:00
Max Horn
0a1d16ef6b Change GOB engine so that not all its files depend on gui/dialog.h (and thus tons of other headers in gui/ and graphics/)
svn-id: r46317
2009-12-09 18:15:04 +00:00
Max Horn
c8873d8492 Changed MidiDriver::createMidi to take a MidiDriverType instead of an int
svn-id: r46316
2009-12-09 18:12:51 +00:00
Max Horn
84f3c98fad Remove the Audio::Mixer parameter from the midi/music plugins
svn-id: r46315
2009-12-09 18:05:20 +00:00
Johannes Schickel
414e6ffef3 Some more slight cleanup.
svn-id: r46314
2009-12-09 17:09:18 +00:00
Johannes Schickel
0d43cc61d2 Cleanup: remove "s_initialized" from CursorManager and FontManager implementation, these classes are Singletons, so they will ever only be initialized once at most anyway.
svn-id: r46313
2009-12-09 17:05:23 +00:00
Johannes Schickel
8f34e4b11c Commit of the 2nd revision of my patch for FR# 2840967 "GUI: Display filenames in "Add games"'s file dialog", since it seems on "Making it easier for users to add games" on -devel the majority of developers, who commented, are for this.
svn-id: r46312
2009-12-09 16:48:33 +00:00
Max Horn
d60b5ca516 Include font.h instead of fontman.h in places that don't need fontman :)
svn-id: r46311
2009-12-09 16:46:14 +00:00
Max Horn
626f85ae5e Move findCompatibleFormat from graphics/pixelformat.h to engines/engine.cpp
This function is used in only one place. Declaring it requires common/list.h;
by putting it into pixelformat.h, which is included by common/system.h, tons
of things suddenly included list.h for no good reason.

If we ever need to call this function in other places, we can figure out aborts
more appropriate place for it.

svn-id: r46310
2009-12-09 16:45:35 +00:00
Max Horn
fb5e747565 GRAPHICS: Change font code to be identical on all platforms
svn-id: r46309
2009-12-09 16:44:48 +00:00
Johannes Schickel
421363a132 Slightly modified commit of patch #2911414 "MSVC: conversions warnings in common code".
svn-id: r46308
2009-12-09 16:41:08 +00:00
Max Horn
5df86e4ccc SCI: Paranoia tweak for EngineState::autoDetectFeature
svn-id: r46306
2009-12-09 12:32:47 +00:00
Martin Kiewitz
7bce8acd2e SCI: implemented _picNotValidSci11 for new kPicNotValid behaviour in sci1.1 (fixes island of dr. brain first pic after copy protection not showing up)
svn-id: r46305
2009-12-09 09:31:07 +00:00
Martin Kiewitz
7e1bf3fb4b SCI: Save/LoadGame Common::Rect saving now portable
svn-id: r46304
2009-12-09 07:28:04 +00:00
Torbjörn Andersson
8ec098d016 Fixed some simple cppcheck warnings.
svn-id: r46303
2009-12-09 06:33:00 +00:00
Vladimir Menshakov
4218d3f037 added message duration override, increased 'the end' timeout
svn-id: r46301
2009-12-08 22:13:06 +00:00
Johannes Schickel
5b136d2f1a Attempt to fix MSVC warning C4121.
svn-id: r46300
2009-12-08 22:08:33 +00:00
Johannes Schickel
e3d1d914ac Attempt to fix MSVC warning C4121.
svn-id: r46299
2009-12-08 22:07:17 +00:00
Vladimir Menshakov
5de8c46963 added final credits
svn-id: r46297
2009-12-08 22:04:00 +00:00
Vladimir Menshakov
c2f9c512a1 fixed default font height
svn-id: r46296
2009-12-08 22:03:33 +00:00
Vladimir Menshakov
88c99bc733 allow font to be rendered out of screen
svn-id: r46295
2009-12-08 22:02:24 +00:00
Martin Kiewitz
84b910f755 SCI: new USE_OLDGFX for switching to oldgui, fixes loading of savedgames under oldgui, oldgui doesn't like calling of setPortPic during loading
svn-id: r46294
2009-12-08 21:22:22 +00:00
Martin Kiewitz
601fd79733 SCI: SciGui::getPortPic now uses byref
svn-id: r46293
2009-12-08 21:04:40 +00:00
Martin Kiewitz
a2d7505e81 SCI: Saving picPort now (fixes loading saved games in castle of dr. brain)
svn-id: r46292
2009-12-08 20:54:18 +00:00
Max Horn
5f178e8650 Fix some MSVC warnings (part of patch #2909981)
svn-id: r46291
2009-12-08 20:44:57 +00:00
Max Horn
923cbff625 SCI: Cleanup DirSeeker a little bit
svn-id: r46290
2009-12-08 20:44:01 +00:00
Vladimir Menshakov
f46e76c9b4 cleaned up final scene, fixed guard glitches
svn-id: r46289
2009-12-08 20:40:26 +00:00
Vladimir Menshakov
7b82ad1a8d added missing orientation for kLoadScene event
svn-id: r46288
2009-12-08 20:39:27 +00:00
Vladimir Menshakov
fce6502bd8 finally fixed pathfinding
svn-id: r46287
2009-12-07 22:11:45 +00:00
Vladimir Menshakov
2e4a257e45 skip walkboxes that contain source or destination point.
svn-id: r46286
2009-12-07 21:59:50 +00:00
Torbjörn Andersson
e30db47a77 Mention F5 in TeenAgent and Draci.
svn-id: r46285
2009-12-07 20:46:19 +00:00
Torbjörn Andersson
184a741757 For consistency, make F5 bring up the main menu in the Draci engine too, just
like megath just did in the TeenAgent engine.

svn-id: r46284
2009-12-07 20:32:54 +00:00
Vladimir Menshakov
74fb3e6a1e show main menu by f5 button
svn-id: r46283
2009-12-07 19:16:18 +00:00
Max Horn
0ff979e56d COMMON: Document class MemoryPool; make MemoryPool::_chunkSize const
svn-id: r46282
2009-12-07 18:24:10 +00:00
Max Horn
d34cdae9ce M4: Move 'determine transparent color' hack into a new M4Sprite method
svn-id: r46281
2009-12-07 18:23:28 +00:00