176 Commits

Author SHA1 Message Date
Johannes Schickel
a401f0a19e ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" logic.
All uses of the old target scale API actually wanted to disallow scaling of
the mouse cursor. This commit adapts our API to this and thus simplifies
backend implementations.

Some backends, most notable the Wii and Android, did some implementation of
the cursor target scale, which I didn't adapt yet. I added a TODO for the
porters there.
2012-06-03 02:02:57 +02:00
Christoph Mallon
75efdd2d84 JANITORIAL: Replace (x ? false : true) by !(x). 2012-03-13 15:43:36 +01:00
Tarek Soliman
a4798602d7 JANITORIAL: Fix missing whitespace in pointer cast
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'

This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Andrea Corna
a6ec4f70da COMMON: Make more members of Archive constant. 2011-12-13 17:55:57 +01:00
Christoph Mallon
e578cb8976 ALL: Remove unnecessary forward declarations. 2011-11-21 15:59:19 +01:00
Littleboy
735fedeee9 LASTEXPRESS: Fix typos in shared game code (as reported by _sev) 2011-11-07 20:33:23 -05:00
Littleboy
a21f72c87b LASTEXPRESS: Fix typos in entity code (as reported by _sev) 2011-11-07 20:25:14 -05:00
Filippos Karapetis
ed257a351f LASTEXPRESS: Fixed typo in code logic 2011-11-03 22:33:34 +02:00
Johannes Schickel
31e5b96fae LASTEXPRESS: Fix read size parameter. 2011-11-03 02:27:26 +01:00
Eugene Sandulenko
3bd615ae9b LASTEXPRESS: Fix incorrect read() call 2011-11-02 23:54:48 +00:00
Strangerke
a651a416cd LASTEXPRESS: Add GUIO_NOASPECT to Last Express 2011-10-24 06:22:09 +02:00
Eugene Sandulenko
32972a5ffb AD: Switched rest of the engines to new GUIO 2011-10-23 17:53:13 +01:00
anotherguest
31201f93d8 Last Express: CLIP should use a <int> template to compile correctly. 2011-10-11 09:33:37 +02:00
Littleboy
ce4c98d757 LASTEXPRESS: Small cleanup in Entities::processEntity() and Entities::processFrame() 2011-09-19 09:22:59 -04:00
Littleboy
e080594a7b LASTEXPRESS: Fix Francois being stuck when exiting compartment 2011-09-07 23:49:32 -04:00
Christoph Mallon
bf580e6e6b JANITORIAL: Add missing NL at EOF. 2011-08-07 13:53:33 +02:00
Eugene Sandulenko
43c7b10566 LASTEXPRESS: Reduce header dependency 2011-08-06 11:28:37 +01:00
Eugene Sandulenko
78f1ea7690 OSYSTEM: extended installTimerProc() with timer ID parameter 2011-08-06 11:28:35 +01:00
Littleboy
bc298a58f5 LASTEXPRESS: Simplify SoundQueue::updateQueue()
- Remove useless cache code
 - Use helper function to get the proper sound entry
 - Fix crash on using an invalid entry
2011-07-08 22:03:34 -04:00
Littleboy
e7e689450b LASTEXPRESS: Prefix savegame filenames with "lastexpress" 2011-07-08 22:03:32 -04:00
Littleboy
63e2fe7e7b LASTEXPRESS: Have LastExpress_ADPCMStream inherit directly from Audio::ADPCMStream (as suggested by clone2727) 2011-07-08 22:03:28 -04:00
Littleboy
af2bdfcb59 LASTEXPRESS: Replace existing decodeIMA calls by code using our custom set of IMA and step tables 2011-07-08 06:25:29 -04:00
Littleboy
1a71cd1e21 LASTEXPRESS: Fix typo in filter table 2011-07-08 06:25:27 -04:00
Eugene Sandulenko
c4b2800145 LASTEXPRESS: implement Sound::updateQueue() and all dependent functions 2011-07-06 14:40:22 +03:00
Littleboy
47e9a6ccdc LASTEXPRESS: Move sound filtering to base Sound class
- Rename kSoundStatusRemoved to kSoundStatusClosed
 - Rename kSoundStatusClear2 to kSoundStatusCached
 - Remove sound cache handling
2011-07-04 14:26:31 -04:00
Johannes Schickel
7e4224e52a COMMON: Fix compilation when USE_HASHMAP_MEMORY_POOL is not defined. 2011-07-03 00:16:07 +02:00
Littleboy
a5398bd663 LASTEXPRESS: Fix loading of subtitles from sound name 2011-07-01 01:17:08 -04:00
Littleboy
3385fd37b9 LASTEXPRESS: Hook up preliminary sound filtering
- Add debug checks in soundFilter()
 - Rename kSoundStatusClear1 to kSoundStatusFilterVariant
2011-06-29 12:06:33 -04:00
Littleboy
2788cb8bf7 LASTEXPRESS: Update sound timer and sound entry playing
- Move filtering to SoundEntry class
 - Make some methods of SoundEntry class private
 - Add methods to check if a StreamedSound/AppendableSound is done playing
2011-06-29 11:07:28 -04:00
Littleboy
4526bbb5b6 LASTEXPRESS: Move SoundStatus to shared header 2011-06-29 11:07:26 -04:00
Littleboy
9cc5d404c7 LASTEXPRESS: Replace shared sound buffer by per-entry buffer 2011-06-29 11:07:24 -04:00
Littleboy
04933a1937 LASTEXPRESS: Make SoundEntry members private 2011-06-28 23:17:13 -04:00
Littleboy
b4ac4988cc LASTEXPRESS: Cleanup comments 2011-06-28 22:54:51 -04:00
Littleboy
90dc4f9a8c LASTEXPRESS: Move Sound class to the sound folder 2011-06-28 22:30:24 -04:00
Littleboy
6eace0ca75 LASTEXPRESS: Move sound queue related functions to a separate class
- Implement missing queue reset function
 - Cleanup SoundManager::playLoopingSound()
2011-06-28 22:13:40 -04:00
Littleboy
d1341387e3 LASTEXPRESS: Move more entry-related functions to Entry class 2011-06-28 20:09:56 -04:00
Littleboy
3f43619ea8 LASTEXPRESS: Add detection entry for Russian version 2011-06-26 16:02:31 -04:00
Eugene Sandulenko
73d2d34e01 LASTEXPRESS: Give proper name to another sound struct member 2011-06-25 14:50:07 +03:00
Littleboy
3f4d2c8130 LASTEXPRESS: Move subtitle-related methods to the SubtitleEntry class 2011-06-24 11:43:10 -04:00
Littleboy
5d020fffad LASTEXPRESS: Refactor Sound class
- Move entry-related functions to separate class
 - Move enumeration to shared header and rename FlagType to SoundFlag
2011-06-24 10:56:49 -04:00
Eugene Sandulenko
7bdd3f3904 LASTEXPRESS: Implement playLoopingSound()
In order for it to work properly, updateQueue() should be unstubbed.
2011-06-24 02:08:11 +03:00
Littleboy
7a96e0bfb6 LASTEXPRESS: Extract Clock and TrainLine classes to separate files 2011-06-23 08:52:45 -04:00
Littleboy
f0cf72f431 LASTEXPRESS: Move Menu class to a separate folder 2011-06-23 06:58:21 -04:00
Littleboy
85bb5ef45e LASTEXPRESS: Fix leak and corruption of event handlers function pointers
- Add better error handling
 - Properly delete previous event handlers when setting new ones or restoring from backup
2011-06-22 19:31:34 -04:00
Littleboy
434a2e66b1 LASTEXPRESS: Refactor Fight class
- Replace structs holding function pointers by proper classes
 - Move each fighter functions to separate files
2011-06-22 19:31:32 -04:00
Littleboy
3c2a9b292f LASTEXPRESS: Move Fight class to its own folder 2011-06-22 19:31:30 -04:00
Johannes Schickel
7dca4bf096 LASTEXPRESS: Make some static data const respectively static. 2011-06-22 18:11:13 +02:00
Eugene Sandulenko
1fe9985912 LASTEXPRESS: Named several soundEntry structure members 2011-06-22 10:41:38 +03:00
Eugene Sandulenko
c288d6d207 LASTEXPRESS: Implement sound filters. Still not hooked in. 2011-06-22 10:20:43 +03:00
Tarek Soliman
ff3fbfcf77 LASTEXPRESS: flag all WIP games with ADGF_UNSTABLE
all
2011-06-16 13:37:57 -05:00