31 Commits

Author SHA1 Message Date
Max Horn
99bd8afcd4 indent run
svn-id: r4481
2002-07-07 20:32:26 +00:00
Lionel Ulmer
31a2efd89c Sorry for the mess.... Here is the mutex code :-)
svn-id: r4403
2002-06-04 18:18:44 +00:00
Lionel Ulmer
adf44644cc Add modifier support to the X11 port.
svn-id: r4366
2002-05-20 21:19:53 +00:00
Lionel Ulmer
3b4c6ceb0f Added infrastructure to support more than 8 bit signed / unsigned RAW
mixers. Porters, beware, the default configuration is now 16 bit
stereo instead of 16 mono as before (I changed X11 and SDL but no
others).

I did not add support for any other format yet, I will let Endy do it
when he needs it :-)

svn-id: r4348
2002-05-18 14:53:19 +00:00
Lionel Ulmer
911ddca0d4 Note to self : always check the diff before comitting :-)
svn-id: r4327
2002-05-14 21:23:41 +00:00
Lionel Ulmer
ecadf4fb07 Add support for the new 'timer' interface in the X11 driver.
BTW, it would be nice if the interface was properly documented in the
system.h file and one had not to go look at the SDL documentation to
understand the parameters :-)

(and having the callbacks be ScummVM specific and not inherit some
 SDL-ism would even be better :-) ).

svn-id: r4326
2002-05-14 21:16:01 +00:00
Lionel Ulmer
63ae2ad985 Change the X11 driver to support various sizes (and no more hardcoded
to 320x200).

svn-id: r4228
2002-05-07 19:08:02 +00:00
Lionel Ulmer
ab0401242e Change the 'poperty' call to be 64-bits clean.
Porters, please check that I did not break anything while updating
your ports. Thanks :-)

svn-id: r4196
2002-05-04 09:55:10 +00:00
Lionel Ulmer
0fb4bcb0eb Zero-initialize the palette and the frame buffer.
svn-id: r4154
2002-05-01 09:41:54 +00:00
Max Horn
e82ed1f4fd updated legal header
svn-id: r4123
2002-04-28 00:57:16 +00:00
Lionel Ulmer
ad5c568e59 Fix (in an ugly way for now :-) ) the building of the Xv mode.
svn-id: r4114
2002-04-27 18:22:52 +00:00
Lionel Ulmer
62e3369542 Implemented shaking in the X11 driver the 'easy' way :-)
Added also the possibility to capture the sound played during the
game. To convert to a WAV file, do :
      'sox -r 22050 -w -s -c 2 sound.raw sound.wav'

svn-id: r4113
2002-04-27 17:44:57 +00:00
Lionel Ulmer
fb5e38d454 Added beginning of (hacky) hardware scaling for the X11 port of
ScummVM. This is NOT finalized at all (for example mouse 'descaling'
is not implemented yet) but is here for the not-faint of heart :-)

If you want to try to play with it, replace '65' by the video port
supporting a RGB image format (search it with 'xvinfo').

This works with the latest NVIDIA drivers. I have no idea if any other
graphic driver exports this feature.

svn-id: r4075
2002-04-24 21:19:19 +00:00
Lionel Ulmer
57f4056015 Added the create_thread function.
svn-id: r4074
2002-04-24 19:35:49 +00:00
Lionel Ulmer
f6501ded28 Was bitten *again* by the same stupid threading bug :-)
svn-id: r4027
2002-04-20 18:13:36 +00:00
Lionel Ulmer
487a84d9a6 Sorry about the spam.... Remove the debug changes added to get Valgrind to run.
svn-id: r4026
2002-04-20 17:57:54 +00:00
Lionel Ulmer
fcf50ee699 Small fix thanks to valgrind.
svn-id: r4025
2002-04-20 17:55:05 +00:00
Lionel Ulmer
c673d1c760 Commit of the X11 driver using the new OSystem interface. Plus some warning fixes and gameDetector hacks.
svn-id: r4024
2002-04-20 17:41:42 +00:00
Nicolas Bacca
bb06400d00 Return of the MP3 CD patch ... use CBR 22 kHz
svn-id: r3981
2002-04-17 20:23:45 +00:00
Ludvig Strigeus
ac62a7cb2e wrote new mixer class,
cleaned up sound header files,
integrated mixer into scummvm & simon

svn-id: r3937
2002-04-14 18:13:08 +00:00
Ludvig Strigeus
d2b0070c5f new video engine (expect broken non-sdl builds),
simon the sorcerer 1 & 2 support (non SCUMM games)

svn-id: r3912
2002-04-12 21:26:59 +00:00
James Brown
7696081c54 Large pointless reindentation of all the code. Also fixed a few mistakes
in the object flags code cleanup.

Flags used:

indent *.cpp -br -bap -nbc -lp -ce -cdw -brs -nbad -nbc -npsl -nip
-ts2 -ncs -nbs -npcs -nbap -Tbyte -Tuint32 -Tuint8 -Tuint16 -TArrayHeader
-TMemBlkHeader -TVerbSlot -TObjectData -Tvoid -TImageHeader -TRoomHeader
-TCodeHeader -TResHdr -TBompHeader -TMidiChannelAdl -TGui -TScumm
-TSoundEngine -TPart -TPlayer

svn-id: r3908
2002-04-11 17:19:16 +00:00
Nicolas Bacca
51f343dc05 MP3 CD patch reorganized
svn-id: r3863
2002-04-05 00:00:46 +00:00
Nicolas Bacca
cbad525cd3 MP3 cd music patch - still WIP, VBR doesn't work, compress the audio track X to MP3 CBR and name them trackX.mp3 in the game directory - only tested with Loom
svn-id: r3861
2002-04-04 22:47:03 +00:00
Lionel Ulmer
3f53daa8a1 Added shaking + 'pixel hunting' and 'right click emulation' modes. Still only working with the 'pre_freeze' label.
svn-id: r3804
2002-03-24 00:04:37 +00:00
Lionel Ulmer
95af63b4d3 Fix Yet Another API Change :-)
svn-id: r3787
2002-03-18 17:47:04 +00:00
Lionel Ulmer
80c5753141 Fixed the 'window title' problem for the SDL and X11 ports. Other 'porters' should fix their front-ends (sorry :-) ).
svn-id: r3776
2002-03-17 13:00:11 +00:00
Lionel Ulmer
8747124495 Upgraded X11 'port' with the new API needed. Added also 'fake right mouse' and 'pixel hunting mode' for the iPAQ.
svn-id: r3772
2002-03-17 11:09:04 +00:00
Lionel Ulmer
89d55aca16 Remove too strict error checking that prevented debugging.
svn-id: r3672
2002-03-06 23:14:16 +00:00
James Brown
178540c989 Applied cleanup and scaling patch by Rob.
svn-id: r3665
2002-03-06 12:24:56 +00:00
Lionel Ulmer
b4123064b4 Added 'x11.cpp' file used on my iPAQ to remove the SDL dependency.
svn-id: r3623
2002-02-23 17:39:46 +00:00