Johannes Schickel
0fe2ba6a0d
Some more enforcement of our formatting conventions in KYRA too.
...
svn-id: r49069
2010-05-17 23:29:44 +00:00
Florian Kagerer
45debce66e
KYRA: fixed some cppcheck warnings
...
svn-id: r48879
2010-05-01 12:55:32 +00:00
Johannes Schickel
595a2e16f1
Fix use of undefined behavior. (Thanks to syke for reporting)
...
svn-id: r47685
2010-01-29 22:43:23 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Johannes Schickel
46cf13307d
Cleanup.
...
svn-id: r46194
2009-11-29 13:52:02 +00:00
Johannes Schickel
a2b056c288
More cleanup.
...
svn-id: r46055
2009-11-21 23:44:52 +00:00
Johannes Schickel
ed1c0fcde8
Cleanup.
...
svn-id: r46054
2009-11-21 23:23:07 +00:00
Florian Kagerer
45fda46cf3
KYRA/LOL: - get rid of ascii/sjis detection which could cause problems when typing savegame names
...
- fixed some minor bugs
svn-id: r44709
2009-10-06 17:22:40 +00:00
Max Horn
f242266f6d
Change a couple places from 'end of namespace' to 'End of namespace', for consistency
...
svn-id: r44634
2009-10-04 21:26:33 +00:00
Johannes Schickel
4dc454581c
Change all uses of FM-Towns/fm-towns to FM-TOWNS.
...
svn-id: r42235
2009-07-07 19:18:53 +00:00
Johannes Schickel
179a822b93
Adapted various code parts to use Palette::fill.
...
svn-id: r41953
2009-06-29 16:49:53 +00:00
Johannes Schickel
f9b075c50a
Change Screen_v2::findLeastDifferentColor to take a Palette object as source.
...
svn-id: r41886
2009-06-25 20:00:52 +00:00
Johannes Schickel
d7d385e756
Change Screen_HoF::generateGrayOverlay to accept a Palette object as source.
...
svn-id: r41885
2009-06-25 19:59:56 +00:00
Johannes Schickel
d7432e18ea
Changed Screen::loadPalette to take a reference to a Palette object instead of an array.
...
svn-id: r41745
2009-06-22 02:37:41 +00:00
Johannes Schickel
d2e5166dae
Changed Screen::loadBitmap and Movie::open to take an optional Palette pointer instead of an optional array pointer.
...
svn-id: r41744
2009-06-22 02:37:20 +00:00
Johannes Schickel
73ea378dee
- Changed the following Screen functions to take a reference to a Palette object:
...
-> setScreenPalette
-> fadePalette
-> getFadeParams
-> fadePalStep
- Fixed initialization of 256 color palettes
svn-id: r41743
2009-06-22 02:36:54 +00:00
Johannes Schickel
4bb392b593
Add wrapper functionality for copying full palettes.
...
svn-id: r41742
2009-06-22 02:36:16 +00:00
Johannes Schickel
882662977f
Changed Screen::getPalette to return a reference to a Palette object.
...
svn-id: r41741
2009-06-22 02:35:45 +00:00
Johannes Schickel
9da52cb282
Got rid of Screen::_currentPalette.
...
svn-id: r41740
2009-06-22 02:35:04 +00:00
Johannes Schickel
ac46c98fb8
- Moved Screen_v2::copyWsaRect to Screen::copyWsaRect
...
- Made WSAMovie_v1::displayFrame code match the original
- Changed WSAMovieAmiga::displayFrame to use Screen::copyWsaRect too
- Got rid of '...' parameter usage in all WSA player classes
svn-id: r41398
2009-06-09 11:26:15 +00:00
Johannes Schickel
c7ee0a7ec8
More formatting.
...
svn-id: r40994
2009-05-29 13:09:26 +00:00
Johannes Schickel
64e6c596c7
Formatting.
...
svn-id: r40991
2009-05-29 12:52:03 +00:00
Johannes Schickel
c0302661ed
Cleanup.
...
svn-id: r40850
2009-05-24 01:37:51 +00:00
Johannes Schickel
344caa88fc
Make various Sound functionality SoundHandle instead of filename based.
...
- This fixes multiple sounds being played at once in Lands of Lore
svn-id: r40848
2009-05-24 01:29:09 +00:00
Johannes Schickel
e51481d69b
Remove trailing tabs/whitespaces.
...
svn-id: r40760
2009-05-21 13:13:09 +00:00
Johannes Schickel
783fb058b0
Formatting.
...
svn-id: r40717
2009-05-19 01:39:18 +00:00
Johannes Schickel
7561bd9dfb
Remov lots of superfluous debug output.
...
svn-id: r40715
2009-05-19 01:13:29 +00:00
Florian Kagerer
dd84aaf648
LOL: - added some spell casting (spark, heal, swarm)
...
- fixed several bugs (not the one in the fighting system though)
- added several opcodes. there shouldn't be any real show stoppers in the draracle cave now.
- simplified wsa code (which required 4 lines of code for displaying a frame)
- added support for wsa animations that don't have a last frame (apparently kyra 2 and 3 don't have this type of wsa file)
svn-id: r40420
2009-05-10 13:40:28 +00:00
Johannes Schickel
9d2e1617a8
More formatting.
...
svn-id: r40203
2009-04-29 15:48:41 +00:00
Johannes Schickel
3a35b5b5f2
- Make Lands of Lore compileable optionally as suggested by _sev. (via ENABLE_LOL define)
...
- Change default build system to support LoL as a subengine of KYRA. LoL is currently disabled by default.
(- Minor enum name fixes for Lands of Lore code.)
svn-id: r39099
2009-03-04 00:45:34 +00:00
Max Horn
ac59693be2
A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
...
svn-id: r36127
2009-01-29 05:26:12 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Johannes Schickel
91de740d44
Implemented (some) main menu code for LoL.
...
svn-id: r35553
2008-12-26 11:04:45 +00:00
Max Horn
9b160804ab
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
...
svn-id: r34700
2008-09-30 12:27:38 +00:00
Max Horn
91df44f8f6
Merging more of the GSoC 2008 RTL branch: KYRA
...
svn-id: r34246
2008-09-01 17:52:50 +00:00
Florian Kagerer
807bfe5079
- KYRA: FM-Towns/PC-98 Audio: fixed several bugs and got rid of some floating point arithmetic (or at least replaced some doubles with floats)
...
- Improved support for PC-98 music: HOF tracks seem to be fine, KYRA should be okay, too (I can't compare with an emulator since I am missing the floppy boot disk with the executable)
- There are still tempo issues. Some tracks play way too slow, others way too fast
- PC-98 sound effects in Kyra 1 don't work (I would need the floppy disk with the executable for that)
svn-id: r33938
2008-08-16 12:38:37 +00:00
Christopher Page
4198ee9623
Merged revisions 33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33624
2008-08-04 22:34:07 +00:00
Florian Kagerer
5ae93cb108
add support for HOF Italian fan translation to kyra.dat
...
svn-id: r33578
2008-08-03 12:09:48 +00:00
Kari Salminen
b76f766888
Shut up MSVC warning about mgY being an unreferenced local variable.
...
svn-id: r33561
2008-08-03 08:01:11 +00:00
Florian Kagerer
4c74db4463
add non-interactive lol demo
...
svn-id: r33556
2008-08-02 23:11:31 +00:00
Christopher Page
b8fe71e7a1
Updated KYRA to work with the new GMM implementation
...
svn-id: r32959
2008-07-08 06:00:39 +00:00
Christopher Page
b97f39019c
KYRA works with the new GMM implementation
...
svn-id: r32957
2008-07-08 05:02:45 +00:00
Christopher Page
6e3474896c
Kyra and Lure are now using the new _quit flag
...
svn-id: r32772
2008-06-25 00:55:18 +00:00
Florian Kagerer
ec93c8957b
- fix regression in non-interactive HOF demo
...
svn-id: r32464
2008-06-01 14:00:43 +00:00
Johannes Schickel
4ef680abaf
- Fixed possible invalid memory access in Resource::loadFileToBuf
...
- Reworked compressed installer files handling
- Updated HoF installer file code (thanks to _athrxx for that)
svn-id: r32439
2008-05-31 20:48:41 +00:00
Florian Kagerer
48d3b34a75
- some pauseEngineIntern() code for the HOF sequence player (not tested)
...
svn-id: r32270
2008-05-25 13:30:18 +00:00
Florian Kagerer
0efebd9876
- add support for HOF floppy versions
...
- playing directly from installer files (WESTWOOD.00X) is supported (not recommended for low-end machines and certain ports)
svn-id: r32249
2008-05-24 16:30:18 +00:00
Florian Kagerer
bf35e95049
- fixes bug #1962601 at least for intro and outro
...
- add a mutex lock in sound_towns
svn-id: r32155
2008-05-17 17:44:23 +00:00
Florian Kagerer
b8585f5af0
commit eriktorbjorn's patch #1964853 (HoF: Hand of Fate credits cleanup (WIP)) with minor changes (including fix for the glitch mentioned in the tracker item)
...
svn-id: r32143
2008-05-16 19:20:28 +00:00
Florian Kagerer
c630fbde6a
fix valgrind warning and some cleanup
...
svn-id: r32075
2008-05-12 21:52:44 +00:00