Commit Graph

60922 Commits

Author SHA1 Message Date
Paul Gilbert
552f2a52bd TSAGE: Fix R2R shading map not being setup if you restarted game whilst in-game 2013-11-24 10:58:32 -05:00
Paul Gilbert
831b68d986 TSAGE: Fix R2R palette corruption when showing dialogs on the title screen 2013-11-24 10:55:37 -05:00
Paul Gilbert
22e2187859 TSAGE: Slow down title sequence animations to better match original 2013-11-24 09:53:04 -05:00
Paul Gilbert
1aa0d0bd9b TSAGE: Added new palette rotation code, to fix R2R rimwall vechile scene 2013-11-23 23:23:43 -05:00
Eugene Sandulenko
6a2ee82699 FULLPIPE: Implement sceneHandler04_sub1() 2013-11-23 21:01:15 -05:00
Strangerke
14cb73789e DRACI: Rework formatting of gplCommands 2013-11-24 02:40:38 +01:00
Strangerke
793f2c4e05 TSAGE: Remove a couple of useless/obsolete warnings 2013-11-24 02:13:48 +01:00
Strangerke
250d15c5a0 TSAGE: R2R - Remove an unused variable in maze UI 2013-11-24 02:08:55 +01:00
Strangerke
17fa43eabc TSAGE: BF - Remove an unused parameter in Scene570::Icon::setDetails() 2013-11-24 02:04:47 +01:00
Strangerke
aa2371c3d8 DRACI: Janitorial - Fix spacing errors 2013-11-24 02:00:21 +01:00
Johannes Schickel
80136c1e51 DEVTOOLS: Make create_project sort SCUMM as first engine.
This makes create_project output consistent with configure output again.
2013-11-24 00:48:02 +00:00
D G Turner
ffce805fb2 BUILD: Add code to maintain ordering of engines in generated files.
This is mainly "cosmetic" to keep the SCUMM engine and subengines at
the top of the various files, but probably a good idea to prevent any
subtle regressions associated with changing the order.
2013-11-24 00:48:02 +00:00
Johannes Schickel
8b3fc996a1 DEVTOOLS: Adapt create_project to create engines/ dir if necessary 2013-11-24 00:48:02 +00:00
Johannes Schickel
c00ab00f25 DEVTOOLS: Factor out function to create directories in create_project. 2013-11-24 00:48:01 +00:00
D G Turner
19a20ad71f BUILD: Create engines/ dir if necessary, to fix out-of-tree builds 2013-11-24 00:48:01 +00:00
D G Turner
9c02552358 BUILD: Partial solution for parallel make issue.
This is due to the multiple outputs produced by the configure rule,
which cause multiple invocations of configure when make is run in
parallel. Various solutions are detailed in the Multiple-Outputs
section of the GNU automake manual which apply generally to makefiles.

This solution is a simpler one, but should solve the problem, though it
can fail on "mutilated" trees ie. where some of the configure outputs
are present, but not all... but this situation is not common, tends to
be due to an error in configure and should be recoverable by a
"make clean && ./configure" call.
2013-11-24 00:48:01 +00:00
Johannes Schickel
100e45e748 BUILD: Add engines/plugins_table.h to git in the ideprojects target. 2013-11-24 00:48:01 +00:00
Johannes Schickel
6e29e1abee DEVTOOLS: Adapt create_project for new configure.engine files.
I could not try any generated project files since I do not have access to
the IDEs.
2013-11-24 00:48:01 +00:00
D G Turner
ef85456859 BUILD: Remove need for engine.mk in each engine directory.
Each engine now only has to provide a single configure.engine file
adding the engine into the configure script, which then produces the
required other files automatically.
2013-11-24 00:48:01 +00:00
D G Turner
1ac01d2333 BUILD: Remove need for engine-plugin.h in engines.
This is now generated automatically by the configure script from the
engine directory names.
2013-11-24 00:48:01 +00:00
D G Turner
00c27a28f9 BUILD: Split engines/plugins_table header down to a file per engine.
This is the third and final commit enabling fully pluggable engines.

Now providing an engine folder contains a configure.engine, engine.mk
and engine-plugin.h file, it will be picked up automatically by the
configure script.
2013-11-24 00:48:01 +00:00
D G Turner
d77cf95a18 BUILD: Split engines.mk down to a single file per engine.
This is the second part of allowing engines to be added dynamically.
Each folder in engines/ which must contain a file named "engine.mk"
containing the make definitions for that engine.
2013-11-24 00:48:01 +00:00
D G Turner
aa947c9474 BUILD: Split configure.engines down to a single file per engine.
This is the first part of allowing engines to be added dynamically.
They are placed into a folder in engines/ which must contain a file
named "configure.engine" to add the engine, which is pulled into the
top level configure script automatically.
2013-11-24 00:45:38 +00:00
Strangerke
d949a60dd8 TSAGE: RINGWORLD - Remove unused object, remove erroneous comments 2013-11-24 01:45:32 +01:00
Strangerke
b603ea0223 PARALLACTION: Janitorial - Fix spacing errors 2013-11-24 01:40:35 +01:00
Strangerke
c63b2b2b2c AVALANCHE: Fix savegame version checks 2013-11-24 01:30:18 +01:00
Johannes Schickel
fe7f28bf6c GUI: Do not draw text outside edit rect in EditableWidget. 2013-11-24 01:15:27 +01:00
Johannes Schickel
b487c1fc38 GUI: Fix undrawing caret glitch when the edit text is inversed.
This is prominently visible in the list based save/load chooser since the
edit string is drawn on a special green background there. When the caret is
at the end of the edit string this would result in the green color missing
at the place of the (undrawn) caret. To avoid this we simply draw a fake
space now.
2013-11-24 00:38:47 +01:00
Johannes Schickel
95f07fd405 GUI: Document EditableWidget::getEditRect. 2013-11-24 00:20:29 +01:00
Johannes Schickel
3be846cfd7 GUI: Draw caret over the whole height of the edit rect.
This improves the look of the editable widgets.
2013-11-24 00:15:48 +01:00
Johannes Schickel
bb4a730a88 GUI: Fix out-of-bounds check in EditableWidget::drawCaret.
The line "y + editRect.height() + 2" is not included in drawing anymore. Thus
it is allowed to equal EditableWidget::_h.
2013-11-24 00:15:48 +01:00
Johannes Schickel
aaad08c9fe GUI: Fix character redrawing behind caret in EditTextWidgets.
This fixes an ugly y position change when the caret is moved to a character in
an edit text widget.
2013-11-24 00:15:48 +01:00
Johannes Schickel
e036aa76da GUI: Fix EditTextWidget::getEditRect's returned height. 2013-11-24 00:15:48 +01:00
Johannes Schickel
129e891a87 GUI: Fix ListWidget::getEditRect's returned height. 2013-11-24 00:15:47 +01:00
Paul Gilbert
50d122ed79 TSAGE: Fix for flub tube maze header comments 2013-11-23 17:18:34 -05:00
Paul Gilbert
d0c2493be5 TSAGE: Further fixes for object centroid handling 2013-11-23 17:09:35 -05:00
Johannes Schickel
abe6d30f36 COMMON: Document Common::String::unsigned_type. 2013-11-23 21:34:55 +01:00
Johannes Schickel
4c15e51ab5 COMMON: Document U32String a bit better. 2013-11-23 21:34:54 +01:00
Johannes Schickel
a6fff7a805 WINTERMUTE: Switch WideString to U32String. 2013-11-23 21:34:54 +01:00
Johannes Schickel
9da09f5846 GRAPHICS: Allow Font to accept U32String as strings. 2013-11-23 21:34:54 +01:00
Johannes Schickel
09c634dd55 GRAPHICS: Allow TTFFont to cache glyphs when required.
This should allow TTFFont to display UTF-32 characters from fonts.
2013-11-23 21:34:54 +01:00
Johannes Schickel
13d470dc61 GRAPHICS: Get rid of _glyphSlots in TTFFont. 2013-11-23 21:34:54 +01:00
Johannes Schickel
afa3f50b8a GRAPHICS: Let Font take uint32 as character codes.
This is required to support UTF-32 strings but does not make them work
automatically!
2013-11-23 21:34:54 +01:00
Johannes Schickel
b90400da44 COMMON: Add simple UTF-32 string class U32String. 2013-11-23 21:34:54 +01:00
Johannes Schickel
1a6f9378aa COMMON: Add underlying type names to Common::String.
The value_type is analogous to std::basic_string::value_type.
The unsigned_type on the other hand is an unsigned type of the value_type which
allows to obtain an character without nasty sign extension.
2013-11-23 21:34:54 +01:00
Johannes Schickel
67ce244567 WINTERMUTE: Use const_iterator in BaseFileManager::registerPackages. 2013-11-23 21:01:39 +01:00
Johannes Schickel
7409f3eb54 WINTERMUTE: Slight interator usage cleanup. 2013-11-23 21:00:39 +01:00
Johannes Schickel
5166fce2eb WINTERMUTE: Remove another unused variable. 2013-11-23 21:00:39 +01:00
Johannes Schickel
9a78ac265d WINTERMUTE: Make BaseFileManager::registerPackages case agnostic.
The old version did only work as expected when all the filenames were all
lowercase. This seems to be the case for most (or even all?) WME games.
However, we are better safe than sorry and make the code case agnostic.
2013-11-23 21:00:33 +01:00
Johannes Schickel
29fae3914e WINTERMUTE: Remove unused variables. 2013-11-23 20:45:13 +01:00