Commit Graph

30564 Commits

Author SHA1 Message Date
Nicola Mettifogo
9a78f6ef41 * Refactored existing save/load code to ease extension
* Added load/save dialogs using ScummVM's overlay for the moment (no actual saving is performed yet)
* Plugged the main menu so that it displays the load dialog when needed.

svn-id: r40191
2009-04-29 05:30:58 +00:00
Max Horn
ed914d6740 SCI: Improved the Table template a bit by taking advantage of C++ features
svn-id: r40190
2009-04-28 22:56:44 +00:00
Sven Hesse
d62b4c62c4 Reorder :P
svn-id: r40189
2009-04-28 22:04:03 +00:00
Sven Hesse
c69208c0da Added a Spanish Urban Runner
svn-id: r40188
2009-04-28 22:03:00 +00:00
Johannes Schickel
7661d82ace Some code for the intro only LoL demo. It is disabled currently though.
svn-id: r40187
2009-04-28 18:56:54 +00:00
Johannes Schickel
bc3dcd468a Set ADGF_DEMO flag for kyra2 seq player based LoL demo.
svn-id: r40186
2009-04-28 18:13:24 +00:00
Max Horn
6ca348c9d0 SCI: Further restructured the SegManager heap tables
svn-id: r40184
2009-04-28 16:00:59 +00:00
Max Horn
36fcc55c06 SCI: Removed the evil macros in engine/heapmgr.h, by manually instantiating them where used (this enables us to further modify the code later one)
svn-id: r40183
2009-04-28 15:59:40 +00:00
Max Horn
294bd0dc07 SCI: Renamed execution_stack -> _executionStack and turned it into a Common::Array
svn-id: r40182
2009-04-28 15:58:19 +00:00
Nicola Mettifogo
01fceec37c Implemented quit dialog box in BRA.
svn-id: r40181
2009-04-28 15:00:56 +00:00
Max Horn
a4cb413d70 SAGA: turned Actor::_pathNodeList into a Common::Array<PathNode>; likewise for Actor::_newPathNodeList which also turned from a member var into a function local var
svn-id: r40180
2009-04-28 12:33:59 +00:00
Max Horn
7cfa3bb6d9 SAGA: Moved some code from actor.h to actor.cpp; replaced Actor::_pathDirectionList and related members by a Common::Array<PathDirectionData> inside Actor::fillPathArray()
svn-id: r40179
2009-04-28 12:33:38 +00:00
Max Horn
e6a7b8ef34 SCI: Renamed text_fragment_t -> TextFragment and changed TextHandle to store the text fragments and pixmaps in Common::Arrays
svn-id: r40178
2009-04-28 12:32:59 +00:00
Nicola Mettifogo
9108871833 Added in-game menu for BRA. Load/save is not supported yet.
svn-id: r40176
2009-04-28 12:25:41 +00:00
Nicola Mettifogo
19bd929a5d * Disk code cleanup.
* Added ability to load in-game menu graphics.

svn-id: r40175
2009-04-28 12:23:52 +00:00
Sven Hesse
d82f49a9e4 The Playtoons game seem to be more like Last Dynasty than Urban Runner (paletted video mode)
svn-id: r40174
2009-04-28 11:18:43 +00:00
Max Horn
70d181b838 Added a phrase to the 'report bugs' section in the README, asking people to file each issue separately
svn-id: r40173
2009-04-28 10:23:44 +00:00
Max Horn
f52a0df422 COMMON: Made Common::List::clear more efficient
svn-id: r40172
2009-04-28 10:23:26 +00:00
Max Horn
9a971c7d80 fixed a typo
svn-id: r40171
2009-04-28 10:23:08 +00:00
Sven Hesse
f4c294a613 Added a small safeguard to play()
svn-id: r40170
2009-04-28 08:31:34 +00:00
Sven Hesse
80a331423f Added some more non-interactive Playtoons demos (thanks jvprat!)
svn-id: r40169
2009-04-28 08:29:58 +00:00
Florian Kagerer
6e566a9b1e LOL: added some drawing code and fixed some bugs
svn-id: r40167
2009-04-27 19:38:28 +00:00
Sven Hesse
c88b077fcc Some minor clean-up
svn-id: r40166
2009-04-27 18:56:28 +00:00
Max Horn
f177c7142c Fixed some silly warnings
svn-id: r40165
2009-04-27 14:40:14 +00:00
Max Horn
7f20f3bb3e COMMON: Improved efficiency of some Common::List methods; added more unit tests and some doxygen comments for Common::List and Common::Array
svn-id: r40164
2009-04-27 14:25:16 +00:00
Max Horn
e579f91b5c COMMON: Made sure Common::List and Common::array each have all front/back/push_back/push_front, as have their STL counterparts
svn-id: r40163
2009-04-27 14:23:20 +00:00
Max Horn
6322478508 SCI: renamed gfx_text_handle_t -> TextHandle; changed some string code to use Common::String
svn-id: r40162
2009-04-27 14:21:39 +00:00
Max Horn
b5e9d79e15 SCI: Turned classtable into a Common::Array<Class>
svn-id: r40161
2009-04-27 12:31:27 +00:00
Max Horn
462e3bd49d COMMON: Added Functor2Fun; fixed some typos
svn-id: r40160
2009-04-27 12:30:42 +00:00
Max Horn
5881abb213 SCI: Removed unused vars; doxygenified some comments; cleanup
svn-id: r40159
2009-04-27 12:29:51 +00:00
Paul Gilbert
3817fbf7d0 Fixed a method name clash, and changed the Restart dialog to properly use the renamed method, rather than just setting the global variable directly
svn-id: r40158
2009-04-27 12:21:14 +00:00
Sven Hesse
4fa4513d61 Added a German Urban Runner version, as supplied by goodoldgeorg in bug report #2770340
svn-id: r40157
2009-04-27 12:19:21 +00:00
Max Horn
356288ce8d SCI: Rewrote dirty rect code to use Common::List
svn-id: r40156
2009-04-27 11:12:25 +00:00
Max Horn
b73301748a SCI: Renamed gfx_state_t -> GfxState
svn-id: r40155
2009-04-27 11:12:08 +00:00
Max Horn
84f0e1d986 COMMON: Added Common::List::front() and back() method (similar to std::list)
svn-id: r40154
2009-04-27 11:11:42 +00:00
Sven Hesse
ed87cbab90 Ooops, actually delete[] the correct pointer (yeah, syke, I should have valgrind'd it again ;))
svn-id: r40153
2009-04-26 19:40:50 +00:00
Fabio Battaglia
b45f2e21fa tinsel: changed PSX CLUT converter to report effective number of colours used in the palette
svn-id: r40151
2009-04-26 10:25:41 +00:00
Filippos Karapetis
5eb4bdce66 Added all the different cases of kDoAudio as enums
svn-id: r40150
2009-04-26 02:00:36 +00:00
Filippos Karapetis
9af7d48a04 Changed the attacker parameter from 0 to 0xFFFF in inflictDamage() (which was probably the original intended value) and added a FIXME
svn-id: r40149
2009-04-25 23:57:26 +00:00
Filippos Karapetis
97f3277f8f The "attacker" parameter is an unsigned integer, so we can't pass a negative number to it (hopefully this doesn't break anything)
svn-id: r40148
2009-04-25 23:42:47 +00:00
Walter van Niftrik
dfd0245273 SCI: DoSync should work now, but the lip-syncing mechanism also needs DoAudio
(currently stubbed), so it hasn't been tested yet.
so it hasn't been tested yet.

svn-id: r40147
2009-04-25 23:31:03 +00:00
Arnaud Boutonné
bac2239709 Fascination
- Squeeze _goblinFuncLookUp and OpcodeGoblinEntryFascination to the max to spare memory
- Added Amiga-only geUnknown1000-2 functions. At this point, they are not unknown, but hang the Protracker player
- Modify some few comments and variable/function names

svn-id: r40146
2009-04-25 17:58:23 +00:00
Torbjörn Andersson
ca3195b1ad Fixed warning.
svn-id: r40145
2009-04-25 13:58:54 +00:00
Florian Kagerer
ccb64ad81e LOL: - Started implementing the fighting system. The damage inflicted is wrong, however (at least the damage inflicted by the monsters). I'm sowewhat clueless about that bug atm.
- added support for monsters with distance attacks (like those orcs in front of roland's house)
- lots of small bug fixes
- Some startup support for the pc-98 16 color version. The intro will run, but the font drawing/coloring is still wrong.

svn-id: r40144
2009-04-25 13:15:05 +00:00
Filippos Karapetis
f1893d8f25 WIP (still non-working) code for speech sync in CD talkie games (like e.g. KQ5 CD and SQ4 CD), taken from Greg's SCI implementation.
svn-id: r40142
2009-04-25 08:50:42 +00:00
Paul Gilbert
86debbd679 Added code to enable Discworld 2 to play directly from the CD (only the first CD - Cd swap still doesn't work) or from files copied to the hard disk without the .smp/txt/idx files being properly renamed (again only for the first Cd).
svn-id: r40141
2009-04-25 06:42:01 +00:00
Paul Gilbert
d594211ab3 Bugfix to the coroutine handling in CdDoChange
svn-id: r40140
2009-04-25 06:36:20 +00:00
Arnaud Boutonné
fa191f251a Gob Compilation - last fix ... (mixed up 7.1 and 7.0)
svn-id: r40139
2009-04-25 00:38:59 +00:00
Arnaud Boutonné
8601e5af13 svn-id: r40138 2009-04-25 00:28:40 +00:00
Arnaud Boutonné
e575683c65 MSVC project files for Gob : Add demoplayer and batplayer needed to compile
svn-id: r40137
2009-04-25 00:07:30 +00:00