Max Horn
2acb44d157
SCI: Changed WRITE_UINT16 -> WRITE_LE_UINT16 and READ_UINT16 -> READ_LE_UINT16 (oops)
...
svn-id: r38745
2009-02-21 21:07:51 +00:00
Willem Jan Palenstijn
7570cfcb57
use LE functions for getInt16/putInt16
...
svn-id: r38744
2009-02-21 21:05:16 +00:00
Max Horn
041869ed36
SCI: Untangling #include dependencies a bit
...
svn-id: r38740
2009-02-21 19:54:15 +00:00
Max Horn
05107eaac1
SCI: Changed getUInt16->READ_UINT16 and putInt16->WRITE_UINT16 in scicore/decompress01.cpp
...
svn-id: r38738
2009-02-21 19:52:40 +00:00
Eugene Sandulenko
c6e27ebfcd
Fix compilation by implicit including of sys/stat.h
...
svn-id: r38736
2009-02-21 19:35:30 +00:00
Max Horn
eb37789f6f
SCI: Renamed include/gfx_*.h to gfx/gfx_*.h and likewise for sfx header files
...
svn-id: r38735
2009-02-21 19:33:01 +00:00
Max Horn
1bbde7be4e
SCI: Changed decompressors to take advantage of Common::ReadStream::readUint16LE; cleanup
...
svn-id: r38733
2009-02-21 19:27:06 +00:00
Andre Heider
c9793552af
replace sci_gettime
...
svn-id: r38730
2009-02-21 19:16:38 +00:00
Max Horn
6f022278e6
SCI: Removed unused header
...
svn-id: r38729
2009-02-21 19:06:34 +00:00
Max Horn
f00f020d08
SCI: Moved sci_dir_t and GTimeVal to tools.h
...
svn-id: r38728
2009-02-21 19:04:27 +00:00
Max Horn
c5e00f3de2
SCI: More cleanup
...
svn-id: r38725
2009-02-21 19:01:32 +00:00
Filippos Karapetis
6bb73e3b68
Fixed startup of my floppy version of SQ4
...
svn-id: r38724
2009-02-21 18:58:32 +00:00
Filippos Karapetis
9260fd38b8
Fixed compilation under MSVC
...
svn-id: r38723
2009-02-21 18:56:17 +00:00
Filippos Karapetis
9036c0fee0
Renamed SCI's console to sciconsole (MSVC has problems with files with the same name under different directories). ScummVM's console can be enabled correctly under MSVC now
...
svn-id: r38722
2009-02-21 18:46:03 +00:00
Max Horn
9f2c0dcc6f
SCI: Tons of cleanup
...
svn-id: r38721
2009-02-21 18:39:53 +00:00
Max Horn
0d41ca8d38
SCI: Moved scicore/tools.cpp to tools.cpp, and include/resource.h to tools.h
...
svn-id: r38720
2009-02-21 18:28:38 +00:00
Max Horn
b6c9b12e64
SCI: Got rid of sci_sched_yield
...
svn-id: r38719
2009-02-21 18:21:00 +00:00
Max Horn
273271767b
When using error, no need to add a trailing newline
...
svn-id: r38718
2009-02-21 18:20:40 +00:00
Filippos Karapetis
6acf734ab8
Oops
...
svn-id: r38717
2009-02-21 18:17:08 +00:00
Filippos Karapetis
426def4f44
Turned back all fprintf/exit(1) bits into error()
...
svn-id: r38716
2009-02-21 18:16:17 +00:00
Max Horn
11b2ddfc54
SCI: Simplified gcd (and fixed crash when a = 0, not that it would be relevant ;)
...
svn-id: r38715
2009-02-21 18:13:03 +00:00
Filippos Karapetis
3cd9706c63
Now that we've placed everything under the Sci namespace, the Sci:: bits can be removed
...
svn-id: r38714
2009-02-21 18:12:02 +00:00
Max Horn
199121a04e
SCI: Replaced sci_sched_yield based 'mutex' in SCI mixer by a regular ScummVM mutex
...
svn-id: r38713
2009-02-21 18:06:00 +00:00
Paweł Kołodziejski
a5cf6bfd85
cleanup
...
svn-id: r38712
2009-02-21 17:29:03 +00:00
Florian Kagerer
8a95f02abf
LOL: some work on inventory/item handling
...
svn-id: r38711
2009-02-21 17:24:50 +00:00
Paweł Kołodziejski
f18d5500b1
formating
...
svn-id: r38709
2009-02-21 17:23:28 +00:00
Willem Jan Palenstijn
a0cc744aab
fix translation of shift-F-keys too
...
svn-id: r38708
2009-02-21 17:15:26 +00:00
Willem Jan Palenstijn
dc446169ba
fix translation of F-keys
...
svn-id: r38707
2009-02-21 17:13:05 +00:00
Paweł Kołodziejski
d23166c2a1
formating
...
svn-id: r38706
2009-02-21 16:20:53 +00:00
Paweł Kołodziejski
1ee65390cd
formating
...
svn-id: r38705
2009-02-21 16:08:04 +00:00
Joost Peters
709d98be7c
GFX_ERROR messages need \n
...
svn-id: r38704
2009-02-21 16:07:51 +00:00
Andre Heider
7c26fb94d9
missed a file in r38701
...
svn-id: r38703
2009-02-21 16:04:16 +00:00
Sven Hesse
e643565c2c
Compensate small lags in Util::waitEndFrame(), so that the CD audio intro sequences in Gob1 and Gob2 CD hopefully won't de-sync so easily
...
svn-id: r38702
2009-02-21 15:58:50 +00:00
Andre Heider
e514d9780a
use OSystem::getMillis() for last_wait_time and get rid of game_start_time
...
svn-id: r38701
2009-02-21 15:40:14 +00:00
Paweł Kołodziejski
03769a6d56
formating
...
svn-id: r38700
2009-02-21 15:30:47 +00:00
Paweł Kołodziejski
98fc4c20c5
formating
...
svn-id: r38699
2009-02-21 15:25:37 +00:00
Paweł Kołodziejski
58fa6822c6
formating
...
svn-id: r38698
2009-02-21 15:20:41 +00:00
Torbjörn Andersson
6e2848ff98
Rewrote the cutscene player to be more like the one in Broken Sword 1. This fixes
...
a subtitle colour regression, but mainly it simplifies the code. The "dummy"
player has been removed. There are almost certainly regressions, but I'm hoping
it's stable enough for testing now.
svn-id: r38697
2009-02-21 15:07:05 +00:00
Willem Jan Palenstijn
34f90ac043
revert large parts of r38621. error() is for fatal errors and does not return. warning() is not for debugging status messages.
...
svn-id: r38696
2009-02-21 14:11:41 +00:00
Travis Howell
7ce7993c30
Remove excess \n.
...
svn-id: r38695
2009-02-21 13:19:44 +00:00
Joost Peters
177c4169d1
error() calls don't need \n, as it is already appended in error() itself
...
svn-id: r38694
2009-02-21 12:58:09 +00:00
Paweł Kołodziejski
d11948a01c
formating
...
svn-id: r38693
2009-02-21 12:43:37 +00:00
Paweł Kołodziejski
c0b2ec8dd2
formating
...
svn-id: r38692
2009-02-21 12:42:06 +00:00
Paweł Kołodziejski
7e2bc28184
formating
...
svn-id: r38691
2009-02-21 12:33:24 +00:00
Andre Heider
1cbe5c327d
replace obsolete creat() with open()
...
svn-id: r38690
2009-02-21 12:26:10 +00:00
Joost Peters
3988062776
replace #ifdef WORDS_BIGENDIAN by SCUMM_BIG_ENDIAN
...
svn-id: r38689
2009-02-21 12:21:15 +00:00
Paweł Kołodziejski
f069c04c60
formating
...
svn-id: r38688
2009-02-21 12:16:35 +00:00
Paweł Kołodziejski
f582debaa9
formating
...
svn-id: r38686
2009-02-21 11:53:27 +00:00
Gregory Montoir
db7073b15a
cleanup
...
svn-id: r38685
2009-02-21 11:29:56 +00:00
Torbjörn Andersson
ab11da0602
Allocate the background sound handle dynamically. Otherwise, it seems to me as if
...
it should be invalid as soon as the makeMoviePlayer() function ends. While that
never caused any noticeable problems for me in Broken Sword 1, it broke things
in amusing ways when I tried to rewrite the Broken Sword 2 cutscene player along
the same lines.
svn-id: r38684
2009-02-21 11:27:04 +00:00