Commit Graph
1310 Commits
Author SHA1 Message Date
Eugene Sandulenko c5bed9ebb7 Specify proper copyright line for AGI engine.
svn-id: r24737
2006-11-18 19:58:17 +00:00
Max Horn 8d37c135c0 Since we now generate warnings/messages for engine instantiation failures in a central place, get rid of such messages printed by engines
svn-id: r24686
2006-11-12 03:26:44 +00:00
Max Horn 98e7abcbfc fix (un)signedness warnings
svn-id: r24651
2006-11-07 21:09:18 +00:00
Eugene Sandulenko da3e724a99 Predictive input for AGI engine. To Do:
- Multitap
- scummvm.ini-based dictionary path
- speedup dictionary loading

svn-id: r24635
2006-11-06 13:19:12 +00:00
Max Horn b5cbbd705a Added some more const keywords
svn-id: r24330
2006-10-15 02:15:38 +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 919092e5fc Overhaul of the debugger code
* Moved Common::Debuggger to GUI::Debugger (mainly to satisfy linker
  restrictions)
* Change the base Debugger class to *not* be a template class anymore;
  instead, a thin (template based) wrapper class is used to hook up
  debugger commands
* Removed duplicate Cmd_Exit and Cmd_Help methods in favor of a single
  version of each in GUI::Debugger
* New Cmd_Help doesn't word wrap after 39/78 chars, but rather queries
  the console to determine when to wrap
* Debugger::preEnter and postEnter aren't pure virtual anymore

svn-id: r23890
2006-09-16 16:58:27 +00:00
Max Horn a2dc897fe5 Reduce code duplication
svn-id: r23888
2006-09-16 15:01:14 +00:00
Chris Apers 8116f167ad This printf isnot supportedon PalmOS 68k, taken from an old port of Sarien
svn-id: r23841
2006-09-09 10:47:08 +00:00
Torbjörn Andersson fb27c58977 Don't create a second Menu object unless the first one has been deleted. This
seems to fix bug #1553513 ("AGI: Crash after restart").

svn-id: r23833
2006-09-07 16:13:41 +00:00
Torbjörn Andersson c49cf0c6ed This could possibly fix bug #1551524 ("MAXOSX: Cannot Backspace in AGI Games").
We have a similar backspace handling in several other engines.

svn-id: r23827
2006-09-04 18:57:12 +00:00
Travis Howell be794a6b84 Fix bug #1544810 - AGI: Launching undefined target 'agi' shows a blank screen
svn-id: r23754
2006-08-26 11:56:49 +00:00
Max Horn 4a80db4c7b * Added copyright string to all engine plugins
* Modified about dialog to list all available plugins with their resp. copyright
* Modified about dialog credits to show the GPL last (like movie end credits do with their legal text, too)

svn-id: r23645
2006-07-31 13:41:21 +00:00
Johannes Schickel cfd9977425 Using FilesystemNode::name instead of FilesystemNode::displayName in all game detectors.
svn-id: r23558
2006-07-22 14:50:50 +00:00
Eugene Sandulenko d2e54d5e3c Patch #1512689: "Fixing AGI Game Detection"
svn-id: r23315
2006-06-26 13:29:40 +00:00
Max Horn 3b1b06b09c Added some FIXME comments to AGI engine
svn-id: r23285
2006-06-24 10:45:47 +00:00
Max Horn aa8ed526f0 cleanup
svn-id: r23280
2006-06-24 10:05:09 +00:00
Max Horn 75628fe9d7 Renamed class Timer to TimerManager (the old name was somewhat incorrect/confusing)
svn-id: r23278
2006-06-24 09:34:49 +00:00
Max Horn 9a955180a4 * Renamed config.mak to config.mk
* Renamed common.rules to rules.mk
* Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it)

svn-id: r23275
2006-06-24 08:48:11 +00:00
Max Horn d210b19aec Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h)

svn-id: r23274
2006-06-24 08:07:48 +00:00
James Brown f5fdbcddfb Pop AGIs text.cpp into a class, for later cleanup.
svn-id: r23011
2006-06-10 13:20:29 +00:00
Torbjörn Andersson a0e3e208ee For the masochists out there,i it is now possible to select the PC Speaker
music driver. There are some other emulation modes, but I'm not sure how they
should be mapped to from our music drivers.

svn-id: r22952
2006-06-06 15:38:34 +00:00
Lars Persson a1d55df73e Split ID string into several small strings for systems not coping with large string constants.
svn-id: r22856
2006-06-03 08:06:07 +00:00
Eugene Sandulenko 5a2fde0baa Fix keyboard input. Now it is possible to use key modifiers freely.
svn-id: r22818
2006-06-01 13:57:19 +00:00
Willem Jan Palenstijn 9644171a7b Don't let blocking rectangle extend below baseline (see Sarien bugs 810331 and 925074)
svn-id: r22808
2006-05-31 19:55:54 +00:00
Max Horn 51f45f0840 Fixed many const related warnings
svn-id: r22794
2006-05-31 10:53:04 +00:00
Willem Jan Palenstijn a9dc501ee0 cleanup
svn-id: r22783
2006-05-30 19:48:47 +00:00
Chris Apers cbfc7bfc1a objectify AGI sprite.h/cpp
svn-id: r22781
2006-05-30 18:53:01 +00:00
Willem Jan Palenstijn 163ed1afd3 objectify AGI menu.h/cpp
svn-id: r22757
2006-05-29 21:30:48 +00:00
Torbjörn Andersson e26285b3f8 Apparently some games use the F10 key, which makes it a poor choice for opening
the debug console. Ctrl-D may be just as bad. Does anyone know for sure?

svn-id: r22711
2006-05-28 11:52:24 +00:00
Torbjörn Andersson db558e3d92 Allow key pad navigation.
svn-id: r22706
2006-05-28 11:08:46 +00:00
Willem Jan Palenstijn 7e287a08ce replace agi/list.h by Common::List; cleanup
svn-id: r22666
2006-05-26 17:38:12 +00:00
Torbjörn Andersson 15411f5ffa If a game ends by natural causes, unload_object() will be called twice. Make
sure it doesn't try to free the same memory twice.

svn-id: r22659
2006-05-26 14:00:52 +00:00
Willem Jan Palenstijn a11eddeb0b replace agi/list.h by Common::List
svn-id: r22658
2006-05-26 11:28:03 +00:00
Willem Jan Palenstijn 0176556821 remove superfluous struct keywords
svn-id: r22640
2006-05-25 22:53:45 +00:00
Torbjörn Andersson 8062eb6ec3 Set and show/hide mouse cursors through a "cursor manager" (analogous to the
recently added (cursor) palette manager) so that the cursor can be properly
restored after returning from the GUI.

If there's any C++ magic that can keep the backend functions from being called
by anything else than these managing classes, that would probably be a good
idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps
there are at least some backends that will no longer need to?

svn-id: r22639
2006-05-25 22:51:42 +00:00
Willem Jan Palenstijn d56c65bf4a add and use is_ego_view() function
svn-id: r22638
2006-05-25 22:39:44 +00:00
Eugene Sandulenko d05138fd9c - Fix typo in debug level Scripts.
- Show scripts execution if requested

svn-id: r22637
2006-05-25 21:16:49 +00:00
Eugene Sandulenko 17fd8e5ed0 Minor cleanup and formatting
svn-id: r22634
2006-05-25 19:56:05 +00:00
Eugene Sandulenko 4859de9ae7 Made CGA rendering, EGA/VGA palette selectable via render_mode
svn-id: r22632
2006-05-25 19:46:28 +00:00
Willem Jan Palenstijn a3c50b5f67 fix out-of-bounds array access
svn-id: r22627
2006-05-25 15:06:55 +00:00
Paweł Kołodziejski b07798783c fixed regression after conversion console
svn-id: r22626
2006-05-25 12:17:50 +00:00
Torbjörn Andersson db8968b28f Fixed warning.
svn-id: r22620
2006-05-24 22:05:12 +00:00
Eugene Sandulenko d636d4c23a Fix crash. Console should be created after graphics init
svn-id: r22619
2006-05-24 21:56:14 +00:00
Paweł Kołodziejski 383b598c5c converted to scummvm console style
svn-id: r22618
2006-05-24 21:40:24 +00:00
Eugene Sandulenko 0f5a4b304b Update only dirty rects instead of fullscreen update
svn-id: r22617
2006-05-24 21:14:41 +00:00
Max Horn 30b368643e Fix a const warning
svn-id: r22615
2006-05-24 20:21:45 +00:00
Torbjörn Andersson 4a583216fb Fixed most - not all - GCC warnings.
svn-id: r22614
2006-05-24 19:51:37 +00:00
Torbjörn Andersson 1bec2024a6 From what I understand, the __ prefix is generally reserved for system headers,
so I've removed most of them. There's still some in list.h, but that should
probably be replaced by our own list handler some day.

svn-id: r22611
2006-05-24 14:25:42 +00:00
Paweł Kołodziejski 20cf952b68 removed defines USE_PCM_SOUND, AGDS_SUPPORT, USE_HIRES
svn-id: r22609
2006-05-24 14:00:08 +00:00