Matthew Hoops
0031c41db8
COMMON: Change kPlatformPC to kPlatformDOS
...
"PC" was very ambiguous and now it matches what we show in the GUI.
This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Torbjörn Andersson
95601de6d7
KYRA: Fix loading from the Kyrandia 2 title menu
2013-05-01 16:54:25 +02:00
athrxx
5ed0770401
KYRA: (HOF) - fix possible null ptr dereference in sequences_hof.cpp
2013-04-18 16:10:43 +02:00
athrxx
06962db454
KYRA: (HOF) - fix possible out of bounds array access
2013-04-18 16:10:42 +02:00
athrxx
35ac7d8683
KYRA: fix bug #3610247
...
(KYRA2: Intro doesn't skip righ/Game won't start on first run)
2013-04-14 13:12:09 +02:00
Johannes Schickel
8d5b4b75d4
KYRA: Make all hex constants use uppercase letters.
...
Done with:
git ls-files "*.cpp" *".h" | xargs sed -i -e 's/0x\([0-9a-f]*\)/0x\U\1/g'
2013-01-09 06:01:28 +01:00
Johannes Schickel
bbb83f132b
KYRA: Make "const type *const" use consistent.
...
I used this command for changing "const type * const" to "const type *const":
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/const \([a-zA-Z0-9_]*\) \* const/const \1 \*const/g'
2012-11-19 13:06:09 +01:00
Johannes Schickel
dd551c4775
KYRA: Make more static data tables const.
2012-11-19 13:00:33 +01:00
athrxx
086dd66a65
KYRA: fix several GCC compile issues in previous commits
2012-11-11 19:14:33 +01:00
athrxx
93e69aa4da
KYRA: clean up audio resource handling
...
(this was really ugly, now it's somewhat less ugly)
2012-11-11 19:14:31 +01:00
athrxx
1bb8f22567
KYRA: finish implementation of new HOF sequence player code
2012-11-11 19:14:30 +01:00
athrxx
9840744acc
KYRA: move HOF sequence player into its own class
...
(also cleaning up and fixing things while doing that)
2012-11-11 19:14:29 +01:00
Christoph Mallon
75efdd2d84
JANITORIAL: Replace (x ? false : true) by !(x).
2012-03-13 15:43:36 +01:00
athrxx
cc3fc3f3da
KYRA: fix regression in non-playable HOF demo
...
(missing animated items)
2012-01-08 23:59:10 +01:00
Johannes Schickel
d66bfb131c
KYRA: Cleanup v2 item animation a little bit.
2012-01-08 23:00:41 +01:00
Johannes Schickel
77959acd51
KYRA: Cast char to uint8 before passing it to getCharWidth.
...
This assures getCharWidth really gets the character number and now sign
extended version of it in case char is signed.
2011-12-13 16:18:12 +01:00
Christoph Mallon
23a0f5318c
JANITORIAL: Remove trailing empty lines.
2011-08-07 13:53:33 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Johannes Schickel
9fb92f4b7e
KYRA: Fix compilation when LoL is disabled.
2011-04-28 18:16:01 +02:00
Johannes Schickel
7d03da14cb
KYRA: Clean up of header includes.
2011-04-28 15:39:57 +02:00
dhewg
d83a83ef50
JANITORIAL: Remove/comment unused vars
...
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-29 21:57:56 +02:00
Johannes Schickel
d925e38acf
KYRA: Hopefully fix valgrind warnings in the HoF intro when text is disabled.
...
svn-id: r55623
2011-01-29 19:03:50 +00:00
Max Horn
3534cff8ef
ALL: Fix indention (whitespaces -> tabs)
...
svn-id: r53738
2010-10-23 15:46:50 +00:00
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