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
Littleboy
735fedeee9
LASTEXPRESS: Fix typos in shared game code (as reported by _sev)
2011-11-07 20:33:23 -05: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
Littleboy
ce4c98d757
LASTEXPRESS: Small cleanup in Entities::processEntity() and Entities::processFrame()
2011-09-19 09:22:59 -04:00
Littleboy
e7e689450b
LASTEXPRESS: Prefix savegame filenames with "lastexpress"
2011-07-08 22:03:32 -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
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
f0cf72f431
LASTEXPRESS: Move Menu class to a separate folder
2011-06-23 06:58:21 -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
eriktorbjorn
5dc8bb627a
LASTEXPRESS: Remove unused variables.
2011-06-03 07:53:18 +02:00
Littleboy
b384bb4a86
LASTEXPRESS: Replace sprintf() usage with Common::String::format()
2011-06-02 18:26:37 -04:00
Littleboy
488759c8b6
LASTEXPRESS: Add a separate sound cache list for entries with a sound data buffer
2011-05-24 00:56:46 -04:00
Max Horn
530bf27af6
LASTEXPRESS: Silence compiler warning
2011-05-14 14:27:06 +02:00
Littleboy
aa64280b55
LASTEXPRESS: Implement SoundManager::setupCache()
2011-05-13 15:49:55 -04:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Littleboy
b38d965fdf
LASTEXPRESS: Implement last part of inventory handling
2011-05-11 14:20:46 -04:00
Littleboy
33c3e19cea
LASTEXPRESS: Implement item selection and scene loading
2011-05-10 19:18:32 -04:00
Littleboy
2bc865f01a
LASTEXPRESS: Implement highlight of inventory items
2011-05-10 19:18:30 -04:00
Littleboy
8d4622d70d
LASTEXPRESS: Draw portrait non-highlighted in Inventory::show()
2011-05-10 19:18:29 -04:00
Littleboy
3088acf69a
LASTEXPRESS: Add button pressed state for inventory handling
2011-05-10 19:18:26 -04:00
Littleboy
1516ba7367
LASTEXPRESS: Implement skeleton code for selected item and inventory selection
2011-05-10 19:18:22 -04:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Julien Templier
f751f5b0e1
LASTEXPRESS: Add support for item highlight in inventory and scene restore
...
- Properly show egg not highlighted by default
- Fix GCC warning in drawItem()
- Remove unused code
svn-id: r55855
2011-02-09 03:40:00 +00:00
Julien Templier
058d75b708
LASTEXPRESS: Implement proper Inventory::open() and Inventory::close()
...
svn-id: r55848
2011-02-09 00:24:06 +00:00
Julien Templier
0250fd4571
LASTEXPRESS: Properly update cursor when hovering Egg and inventory items
...
svn-id: r55847
2011-02-09 00:23:49 +00:00
Julien Templier
6b477ee33e
LASTEXPRESS: Refactor inventory handling
...
- Rewrite menu icon part of Inventory::handleMouseEvent()
- Add proper support for icon brightness
- Add drawItem method in place of macro
svn-id: r55846
2011-02-09 00:23:35 +00:00
Max Horn
2d1c8a3533
ALL: Fix whitespaces / indention
...
svn-id: r55818
2011-02-07 23:01:06 +00:00
Julien Templier
04f971370c
LASTEXPRESS: Add some more error handling to Savegame and Sound classes
...
- Add some const modifiers where applicable
- Add some missing casts
svn-id: r55541
2011-01-26 10:43:38 +00:00
David Turner
b52859323c
LASTEXPRESS: Fixed Memory Leak in Subtitles.
...
Also, fixed minor uninitialised read in animation event polling.
svn-id: r55524
2011-01-25 08:24:57 +00:00
Julien Templier
6400659ead
LASTEXPRESS: Correct typos in Alexei logic and sound code
...
svn-id: r55523
2011-01-25 04:25:06 +00:00
David Turner
d183a3618d
LASTEXPRESS: Fix accidental assignment in sound.cpp.
...
Checked with Littleboy that this was not intentional.
svn-id: r55520
2011-01-25 03:22:37 +00:00
David Turner
f9c54abee8
LASTEXPRESS: Corrected format warning in state.h
...
svn-id: r55519
2011-01-25 03:11:27 +00:00
Julien Templier
8db6eb7b87
LASTEXPRESS: Add per-entry sound stream (this fixes all dialog being cut as soon as a new sound is queued)
...
svn-id: r55513
2011-01-25 02:17:05 +00:00
Julien Templier
0fd380441a
LASTEXPRESS: Add some subtitle support to Sound class
...
svn-id: r55511
2011-01-25 02:16:29 +00:00
Max Horn
2180b2d6b5
COMMON: Split common/stream.h into several headers
...
svn-id: r54385
2010-11-19 17:03:07 +00:00
Julien Templier
9e5b554dc3
LASTEXPRESS: Poll events when loading savegames to prevent freezing the application
...
svn-id: r54368
2010-11-19 10:55:56 +00:00
Julien Templier
2687c987eb
LASTEXPRESS: Add missing queue reset in Entitites::resetSequences
...
svn-id: r54367
2010-11-19 10:55:38 +00:00
Julien Templier
da90fa1405
LASTEXPRESS: Fix SequenceFrame leak in Entities code
...
- Add EntityCallData destructor to dispose of frames & Sequences
- Properly dispose of frames in Entities::resetSequences()
svn-id: r54270
2010-11-16 14:06:59 +00:00
Julien Templier
396bec13f9
LASTEXPRESS: Use Common::StackLock instead of mutex lock/unlock in Sound class
...
svn-id: r54247
2010-11-15 15:48:39 +00:00
Julien Templier
7d9c43d22b
LASTEXPRESS: Fix frame leak in Entities::processFrame()
...
When not keeping the previous frame, the current frame was overwritten.
We now delete it before assigning a new value.
svn-id: r54246
2010-11-15 15:48:20 +00:00