Commit Graph

142 Commits

Author SHA1 Message Date
Torbjörn Andersson
c611888606 Added support for opaque surfaces (it's the default now, actually) since it
looks like the sprite renderer may need them.

svn-id: r9753
2003-08-18 07:46:46 +00:00
Jonathan Gray
48ceff0545 patch #790060 SWORD2: Initial graphics work from erik very nice indeed :)
svn-id: r9737
2003-08-17 14:07:16 +00:00
Jamieson Christian
e1bc6493d8 Replaced ADLIB_ALWAYS and ADLIB_PREFERRED with a more flexible
list of music types supported. This was done because now
PC speaker support must be treated separately, along with
Adlib and native (GM/MT32) support.

This fixes a problem with games that don't support PC speaker
(including V5 games that don't parse SPK resources yet)
being run with -epcspk or -epcjr. Those games now properly
switch to -enull so that music resources still get parsed
and music/script synchronization mechanisms don't break.

svn-id: r9703
2003-08-15 10:19:24 +00:00
Torbjörn Andersson
a78508af33 On second thought, WAVE_FORMAT_PCM probably means uncompressed WAV-data
after all, or at least not ADPCM-compressed. Updated the comments, but I
still don't know how to play it.

svn-id: r9433
2003-08-03 15:45:09 +00:00
Marcus Comstedt
c3c9fac55b Don't use level 1 I/O, it's not part of the C++ standard...
svn-id: r9432
2003-08-03 15:38:27 +00:00
Jonathan Gray
a932a74dcb patch #781530 Initial work on StreamCompMusic() by erik
svn-id: r9394
2003-08-02 02:31:36 +00:00
Max Horn
103112dd3d removed OSystem::set_mouse_pos (I hope I didn't break any backends, but if I did it should be trivial to get them working again)
svn-id: r9391
2003-08-02 00:36:38 +00:00
Max Horn
0df319e952 #include cleanup (explicityl specify the location for headers from common/, so that we at some point can get rid of -Icommon; exception is made for stdafx.h, since a) we might want to rename it and b) might want to move it to the top level)
svn-id: r9359
2003-08-01 12:21:04 +00:00
Max Horn
86af2b1e29 never include headers in other headers if you can avoid it -> this cuts down on the number of files that have to be recompiled when a header is modified
svn-id: r9348
2003-07-31 20:30:55 +00:00
Paweł Kołodziejski
e5e117006a back disable warnings into stdafx.h, vc6 is lack of warnings support
svn-id: r9337
2003-07-31 18:35:01 +00:00
Jonathan Gray
b11c3a6c0b remove bs2 specific osystem var
svn-id: r9330
2003-07-31 15:24:23 +00:00
Jonathan Gray
6822552a10 slightly changed version of erik's implmentation of FadeServer
svn-id: r9328
2003-07-31 14:51:02 +00:00
Oliver Kiehl
0f85cc3061 rename bs2 to sword2 to have the same name as the original engine.
besides this way all our engines start with an "s" ;)

svn-id: r9301
2003-07-30 19:25:31 +00:00
Jonathan Gray
f1a6025aa2 turn d_sound.cpp into class BS2Sound
svn-id: r9280
2003-07-29 12:34:46 +00:00
Paweł Kołodziejski
83940e1867 fix vc compilation
svn-id: r9263
2003-07-28 21:55:09 +00:00
Max Horn
462898465a StopSpeech -> StopSpeechBS2 (avoid conflict wiht SpeechSynthesis framework on OS X)
svn-id: r9248
2003-07-28 14:50:54 +00:00
Jonathan Gray
6d392a73e2 fix shadow'd vars
svn-id: r9245
2003-07-28 12:24:13 +00:00
Max Horn
2ef51278b2 fix shadow warning
svn-id: r9244
2003-07-28 11:56:34 +00:00
Max Horn
43cd0cac87 fixed const errors
svn-id: r9243
2003-07-28 11:54:26 +00:00
Jonathan Gray
c1cbd4605e fix some VC7 warnings
svn-id: r9240
2003-07-28 11:21:25 +00:00
Jonathan Gray
2b0c2a20b2 match prototype
svn-id: r9238
2003-07-28 10:28:29 +00:00
Jonathan Gray
f22cca2be2 rename _DEBUG define to _BS2_DEBUG to stop it conflicting with VC
svn-id: r9237
2003-07-28 09:49:46 +00:00
Jonathan Gray
84bccaa83b substitute long int for LARGE_INTEGER
svn-id: r9236
2003-07-28 08:08:42 +00:00
Jonathan Gray
98b1a0d7ff replace DWORD usage with uint32
svn-id: r9235
2003-07-28 08:04:03 +00:00
Jonathan Gray
5d309dd171 rename memory struct as well
svn-id: r9234
2003-07-28 07:52:01 +00:00
Jonathan Gray
d520390cc5 rename functions with windows specific names
svn-id: r9233
2003-07-28 07:47:21 +00:00
Jonathan Gray
71a9b1bc2d rename _mkdir
svn-id: r9232
2003-07-28 07:36:27 +00:00
Jonathan Gray
b17e45c9bc undefine these functions for now but in the long run we should probably rename them
svn-id: r9231
2003-07-28 07:31:14 +00:00
Jonathan Gray
a05c4bda0f -Werror cleanup
svn-id: r9230
2003-07-28 07:22:40 +00:00
Jonathan Gray
77cf6b7c3e add bs2demo target for broken sword 2 demo
svn-id: r9229
2003-07-28 07:00:15 +00:00
Jonathan Gray
ea5822ed23 it would be nice if people would update functions when adding qualifiers to prototypes
svn-id: r9227
2003-07-28 05:30:42 +00:00
Jonathan Gray
2fbcfb01a0 missed one
svn-id: r9226
2003-07-28 05:29:37 +00:00
Travis Howell
836f82fbbf Ooops
svn-id: r9225
2003-07-28 03:52:05 +00:00
Travis Howell
42ba111063 A few warnings
svn-id: r9224
2003-07-28 03:49:25 +00:00
Travis Howell
ccc40eecc9 Compiles on mingw now
svn-id: r9222
2003-07-28 03:12:49 +00:00
Max Horn
d4933386a9 big FIXME
svn-id: r9221
2003-07-28 02:39:40 +00:00
Max Horn
544168e96b fixed yet more warnings
svn-id: r9220
2003-07-28 02:37:47 +00:00
Max Horn
44048d2434 fixed more warnings
svn-id: r9219
2003-07-28 02:23:04 +00:00
Max Horn
55cbdd5c5f more warnings
svn-id: r9218
2003-07-28 02:14:28 +00:00
Max Horn
80bea5bc72 fixed some warnings
svn-id: r9216
2003-07-28 02:10:24 +00:00
Jonathan Gray
dc6aa9912c bs2 driver
svn-id: r9212
2003-07-28 01:47:41 +00:00
Jonathan Gray
f020d28b5e bs2
svn-id: r9211
2003-07-28 01:44:38 +00:00