Commit Graph

308 Commits

Author SHA1 Message Date
Nicolas Bacca
bf91352596 Smartphone support imports
svn-id: r6551
2003-01-26 21:36:45 +00:00
Ruediger Hanke
5956e5ee18 Fixing evil deadlock
svn-id: r6544
2003-01-25 21:17:00 +00:00
Ruediger Hanke
f33b08ae66 Ok. I give up trying to teach that char is unsigned on some systems. Setting char to signed as default.
svn-id: r6543
2003-01-25 21:15:55 +00:00
Jonathan Gray
c1930e0ff5 declare event of type mouse motion on joystick axis movement
svn-id: r6535
2003-01-22 13:15:03 +00:00
Nicolas Bacca
324e2cb2e8 Remove Smartphone project tweaks - we'll see about that when it's done :)
svn-id: r6534
2003-01-21 22:38:44 +00:00
Nicolas Bacca
b2f231efbd Fix dumb overlay overflow
svn-id: r6533
2003-01-21 22:36:53 +00:00
Nicolas Bacca
2a02a2554a Update project files to compile with CVS tree
svn-id: r6531
2003-01-21 18:42:55 +00:00
Jonathan Gray
473cbb8437 start of joystick support, just selects first joystick for now and only maps first two buttons to first two mouse buttons. Will add more button mappings and a -j options to specify joystick in future
svn-id: r6528
2003-01-20 16:29:26 +00:00
Nicolas Bacca
1043ec1df9 Fix GDI display for HPCs
svn-id: r6527
2003-01-20 08:01:45 +00:00
Nicolas Bacca
8d3e8505a1 Missing exported functions for HPCs
svn-id: r6526
2003-01-20 07:59:43 +00:00
Nicolas Bacca
8f98b31681 NoGameX file - put in root directory (HPC debug option) and NoMusic configuration option (for really slow devices, can break some games)
svn-id: r6525
2003-01-20 07:58:41 +00:00
Nicolas Bacca
54a1cf9809 stdio wrappers for HPC (I know it's about time :))
svn-id: r6524
2003-01-20 07:53:14 +00:00
Jonathan Gray
c08d736d1d add new tv scanlines graphics scaler from Gregory Montoir, use -g tv2x to try it
svn-id: r6462
2003-01-15 02:11:37 +00:00
James Brown
0b46f85b7e Early init of the scaler - to prevent ComI trying to use a huge window by default.
This may require porters to make a small backend change, not to reinit a scaler on hotswap if the display has not been init_size'ed.

svn-id: r6449
2003-01-13 18:59:53 +00:00
Max Horn
a4a4f043bf fix for the black rect bug in COMI (thanks to Erik)... guess is that the checksum algo fails to detect the dirty regions. Why is it here at all, anyway? BBrox says it might be needed for Simon. So somebody should check that
svn-id: r6428
2003-01-12 14:18:05 +00:00
Ruediger Hanke
19cb69424f Oops
svn-id: r6383
2003-01-10 15:32:20 +00:00
Jamieson Christian
b942f42670 First-revision SysEx support for -ewindows.
svn-id: r6381
2003-01-10 14:40:22 +00:00
Ruediger Hanke
3bbf5192ea Added warp_mouse func to MorphOS backend
svn-id: r6374
2003-01-09 20:09:19 +00:00
Max Horn
67cd9bba2c only warp mouse if it actually moved - this is not quite perfect, either, but at least now it works again on OS X
svn-id: r6373
2003-01-09 18:39:45 +00:00
James Brown
f3f237e647 Remove hack - now the cannon scene works in fullscreen linux. Someone tell me how it goes for Windows
svn-id: r6372
2003-01-09 18:02:17 +00:00
Max Horn
1934269872 yet another warp mouse change, now it works on OS X, but will it work on Linux/Windows?
svn-id: r6370
2003-01-09 16:57:09 +00:00
James Brown
819a96d05b Patch 664895: Cannon fixes. Porters, this requires a new OSystem interface function
svn-id: r6365
2003-01-09 08:07:13 +00:00
Jonathan Gray
8acd77b85e make alsa driver print out the correct port
svn-id: r6272
2002-12-30 06:24:59 +00:00
Max Horn
4ccd134b37 valid C++
svn-id: r6226
2002-12-28 12:33:16 +00:00
James Brown
92c8e4ef1e Fix NewGui for higher resolutions (eg, CMI)
svn-id: r6216
2002-12-28 04:51:34 +00:00
Max Horn
cfa87ea12d removing not working, obsolete mac port
svn-id: r6189
2002-12-27 01:50:46 +00:00
James Brown
18b97b28a5 Patch from ccr: Don't segfault if euid has no r/w perms on pwd
svn-id: r6183
2002-12-27 00:13:51 +00:00
Ruediger Hanke
2d46b1e4d7 This could hardly work, how did this change? scratch head" morphos.cpp
svn-id: r6151
2002-12-25 21:46:35 +00:00
Ruediger Hanke
e1045c16a8 Fix compiler warning and possible hit
svn-id: r6150
2002-12-25 21:44:59 +00:00
Max Horn
f1808d20ac seems cursor width/height can occur
svn-id: r6146
2002-12-25 21:02:21 +00:00
Ruediger Hanke
3dd648b8c8 Some fixes for COMI mouse pointer
svn-id: r6138
2002-12-25 17:22:01 +00:00
Max Horn
0ef7d52448 fixed mouse cursor code to cope with CMI
svn-id: r6125
2002-12-25 12:53:47 +00:00
Ruediger Hanke
9e0e918397 Fix midi driver thread for MorphOS
svn-id: r6123
2002-12-25 12:36:29 +00:00
Ruediger Hanke
580df4d2d0 Moved MorphOS midi driver to backends/midi
svn-id: r6120
2002-12-25 12:02:27 +00:00
Ruediger Hanke
eb6dbed750 More warnings with MorphOS GCC fixed, removed unneccessary define
svn-id: r6117
2002-12-25 11:47:16 +00:00
Ruediger Hanke
6e9e7ced8f Compilation warnings fixed
svn-id: r6116
2002-12-25 11:38:21 +00:00
Max Horn
1943be0ffd small mod to allow smooth scrolling to work with SDL backend
svn-id: r6039
2002-12-21 11:58:46 +00:00
Jamieson Christian
65ee19610c Instrument definition revamp.
IMuseDriver abstract class removed.
IMuseGM is now IMuseDriver.
Miscellaneous cleanup.

svn-id: r6017
2002-12-18 13:22:40 +00:00
Jamieson Christian
fec55e0b57 Fixed Adlib compilation problem
svn-id: r6014
2002-12-18 07:53:45 +00:00
Jamieson Christian
71e7d1512f message.log
svn-id: r6012
2002-12-18 07:48:02 +00:00
Marcus Comstedt
83da387eef New savefile backend system (bye bye NONSTANDARD_SAVE...)
svn-id: r6007
2002-12-17 01:15:13 +00:00
Max Horn
80a962dd02 cleanup
svn-id: r5936
2002-12-13 17:44:04 +00:00
Max Horn
57187dbdcd more code unification
svn-id: r5935
2002-12-13 17:27:28 +00:00
Max Horn
1f4f7a51b1 unified common code
svn-id: r5934
2002-12-13 17:21:23 +00:00
Max Horn
4bf96d1c8b changed OSystem to allow RBG<->16bit color conversion to be done in the backend; after all, the backend 'knows' best what format the overlay uses. Default implementations of RBGToColor and colorToRBG assume 565 mode, backends other than SDL may want to provide alternate implementations (SDL backend already does the right thing for non-565 modes)
svn-id: r5931
2002-12-13 16:15:58 +00:00
Jonathan Gray
6c20dc48c7 fix up alsa after recent midi changes
svn-id: r5911
2002-12-12 03:22:30 +00:00
Jamieson Christian
8f419dcaa8 Fixed VC++ errors in Windows driver after streaming capability was removed.
svn-id: r5908
2002-12-12 01:35:57 +00:00
Max Horn
bf62494fd5 ripped out obsolete midi streaming code from backends (this may break Alsa/SEQ/Windows/Morphos compile, I tried my best, but you'll have to clean up after me)
svn-id: r5905
2002-12-11 16:09:58 +00:00
Jamieson Christian
44925416e6 Added windows.cpp
svn-id: r5903
2002-12-11 02:56:16 +00:00
Max Horn
0602c7ed49 fixed legal header
svn-id: r5902
2002-12-11 02:38:38 +00:00
Jamieson Christian
7d3a423df7 Separated Windows MIDI driver into its own file
svn-id: r5901
2002-12-11 02:08:32 +00:00
Max Horn
098b1d52ca change CFLAGS to CXXFLAGS
svn-id: r5896
2002-12-09 13:38:01 +00:00
Travis Howell
90b844d95e Compile fix
svn-id: r5895
2002-12-09 02:40:22 +00:00
Oliver Kiehl
a112545d7e split alsa from mididrv
svn-id: r5890
2002-12-08 20:47:42 +00:00
Max Horn
0ac3214fd5 started to split out the midi drivers
svn-id: r5889
2002-12-08 20:19:01 +00:00
Max Horn
2768191288 workaround for fullscreen toggle on OS X
svn-id: r5879
2002-12-08 14:08:51 +00:00
Marcus Comstedt
bc36f7144a Display status after saving.
svn-id: r5850
2002-12-06 01:30:57 +00:00
Marcus Comstedt
05ff6451fc Generate KEY_UP events as well...
svn-id: r5849
2002-12-06 01:30:38 +00:00
Marcus Comstedt
45534e7698 Should now compile again.
svn-id: r5838
2002-12-04 22:15:34 +00:00
Marcus Comstedt
a5302ef937 Updated name of binary in docs.
svn-id: r5836
2002-12-04 21:35:20 +00:00
Max Horn
9d9214bb7b updated version on trunk to 0.3.1cvs
svn-id: r5828
2002-12-04 13:31:14 +00:00
Ruediger Hanke
c65be6ce08 Latest MorphOS changes from my harddisk ...
svn-id: r5816
2002-12-02 19:03:07 +00:00
Peter Moraliyski
31dec80d39 *** empty log message ***
svn-id: r5815
2002-12-02 16:58:41 +00:00
Peter Moraliyski
d31fb515f1 *** empty log message ***
svn-id: r5814
2002-12-02 16:57:26 +00:00
Peter Moraliyski
4042b1f1fc license issue cleared
svn-id: r5813
2002-12-02 16:55:18 +00:00
Jonathan Gray
2961f75365 remove gp32 files until license issues are sorted out
svn-id: r5812
2002-12-02 02:45:07 +00:00
Nicolas Bacca
f4e438b4ce Fix keycode + make sound thread priority a configuration parameter (SoundThreadPriority, 1=Highest, 2=Above Normal, 3=Normal, 4=Below Normal) - requires linking with a new SDLAudio that will be posted on http://arisme.free.fr/PocketScumm
svn-id: r5810
2002-12-02 00:42:40 +00:00
Nicolas Bacca
6365707048 Do not display the save/load icon for Simon since it's not mapped (use the postcard, Simon)
svn-id: r5807
2002-12-02 00:09:15 +00:00
Nicolas Bacca
c2ba2cc586 Fix Simon countermeasures :)
svn-id: r5804
2002-12-01 23:46:19 +00:00
Nicolas Bacca
f5087b817b Update project files, for whatever reason
svn-id: r5801
2002-12-01 23:30:40 +00:00
Nicolas Bacca
119dcec3d6 Do not commit buggy debug code
svn-id: r5800
2002-12-01 23:28:11 +00:00
Nicolas Bacca
12d18a55dd Fix display on HPC, update version
svn-id: r5799
2002-12-01 23:26:49 +00:00
Nicolas Bacca
cc43bd5973 Add Monkey 1 VGA floppy keyboard support for copy-protection, fix keyboard & display on HPC
svn-id: r5798
2002-12-01 23:25:33 +00:00
Nicolas Bacca
fb084b73f3 Fix Monkey 1 VGA floppy detection and game number
svn-id: r5797
2002-12-01 23:24:02 +00:00
Jamieson Christian
cc6c37e1ad Fixed Adlib instrument setup in old (GF_SMALL_HEADER) games.
Restored MT-32 emulation lost during restructuring.

svn-id: r5786
2002-12-01 15:51:29 +00:00
Peter Moraliyski
c0c5fc274f gp32 port stuff
svn-id: r5761
2002-11-30 16:03:46 +00:00
Peter Moraliyski
0a17046c4a B
gp32 sdk headerCVgp32 sdk header files
S ----------------------------------------------------------------------

svn-id: r5760
2002-11-30 15:41:07 +00:00
Peter Moraliyski
f9a833abf0 fg
svn-id: r5759
2002-11-30 15:34:37 +00:00
Oliver Kiehl
5215379191 fixed compile problems
svn-id: r5724
2002-11-26 20:14:12 +00:00
Jamieson Christian
973164a741 Restructured MIDI channel allocation architecture.
Adlib no longer suffers from 16-channel MIDI restrictions.
Fixes a regression in the MI2 intro music under Adlib.

svn-id: r5721
2002-11-26 16:54:58 +00:00
Oliver Kiehl
efb40c99e8 added .cvsignore
svn-id: r5714
2002-11-24 15:41:17 +00:00
Travis Howell
efd0ef1e79 Fix warning
svn-id: r5705
2002-11-24 09:24:09 +00:00
Max Horn
d679af3ec5 fixed bug #621244 (GUI disappeared when screen mode was changed
svn-id: r5697
2002-11-23 00:13:52 +00:00
Max Horn
0b82e20b00 improved keyboard input behaviour in SDL backend: make use of the unicode feature in SDL. This way, Shift-1 on my german keyboard generates ! not 1 (on an US keyboard it'll be a different symbol). Should fix bug #600258 and #551447
svn-id: r5692
2002-11-22 18:46:18 +00:00
Max Horn
afa6707b22 fixed warnings
svn-id: r5680
2002-11-21 19:19:14 +00:00
James Brown
2274a4f9de Update module.mk system for the new adlib driver
svn-id: r5679
2002-11-21 19:17:00 +00:00
Jamieson Christian
c9ed09e7df Revamped Adlib functionality.
IMuseAdlib is defunct.
New MidiDriver_ADLIB device.
Simon 1/2 now supports Adlib.

svn-id: r5677
2002-11-21 19:06:42 +00:00
Max Horn
69bceafc6e revamped build system somewhat: 'modules' like scumm, simon, gui etc. now all build into a lib, and all have a module.mk file that lists all their file. Advantage: further modularizes the build system, seperating all parts of ScummVM
svn-id: r5653
2002-11-21 04:08:37 +00:00
Max Horn
1f8cc789ce sort FSList by displayname
svn-id: r5648
2002-11-21 02:51:50 +00:00
Ruediger Hanke
94d01ba7a3 Implemented mode parameter for listDir()
svn-id: r5640
2002-11-20 13:25:22 +00:00
Nicolas Bacca
e5d6c14b66 Fix parent, take 2 (thanks Kirben)
svn-id: r5632
2002-11-20 08:04:08 +00:00
Nicolas Bacca
d9f07a2e9c Fix parent
svn-id: r5627
2002-11-19 21:21:19 +00:00
Max Horn
d5d5cf2b6d fixed parent() for root node
svn-id: r5620
2002-11-19 13:44:28 +00:00
Max Horn
955fed1fda fixed parent() method, added a FIXME
svn-id: r5619
2002-11-19 13:42:57 +00:00
Max Horn
4e7575f9db fixed parent() method, added a FIXME
svn-id: r5618
2002-11-19 13:42:19 +00:00
Travis Howell
3fc3b8e907 The _displayName isn't required for win32
svn-id: r5615
2002-11-19 09:05:43 +00:00
Nicolas Bacca
7053741b28 Change initial directory list size
svn-id: r5614
2002-11-19 08:27:31 +00:00
Nicolas Bacca
28080b27df Update listDir
svn-id: r5613
2002-11-19 08:25:22 +00:00
Nicolas Bacca
f7b8728aed Fix GDI dialog, set sampling rate to 22 kHz for Full Throttle & The Dig (Smush issue), fix save game key for Zak, The Dig & Full Throttle
svn-id: r5612
2002-11-19 08:24:35 +00:00
Nicolas Bacca
6cf56e0219 Fix paletted devices, add error display
svn-id: r5611
2002-11-19 08:21:12 +00:00
Nicolas Bacca
fa8a061924 Switch to new icons
svn-id: r5610
2002-11-19 08:20:26 +00:00
Nicolas Bacca
bb3d0520c8 Added Monkey 1 VGA floppy (put the files in monkey1vga directory), change the game names, save list when exiting the scanner, fix for long directories list
svn-id: r5609
2002-11-19 08:18:12 +00:00
Nicolas Bacca
f38773cb54 Added bomb icon and startup palette size
svn-id: r5608
2002-11-19 08:14:58 +00:00
Nicolas Bacca
518ce438c2 Switch to new icons
svn-id: r5607
2002-11-19 08:14:16 +00:00
Nicolas Bacca
9ab14c7599 Added new icons, thanks to Carlos Luz aka Lightman
svn-id: r5606
2002-11-19 08:13:24 +00:00
Max Horn
ce3cde15a0 added some preliminary game auto detect code to the launcher; this required a small change to the FS API, Windows/Morphos code will have to be adapted slightly I fear. Also, not all games are detected correctly, and some probably never will be, so we still have to add a dialog for cases where auto detect doesn't work
svn-id: r5600
2002-11-19 01:36:47 +00:00
Max Horn
d9aebd1cba removed obsolete example
svn-id: r5598
2002-11-18 18:50:11 +00:00
Max Horn
fe313cea67 implemented parent() for POSIX fs code; added .cvsignore files
svn-id: r5571
2002-11-15 17:54:38 +00:00
Max Horn
e29c27ec27 use stat to detect directories -> should be POSIX compliant this time, and also work on Solaris
svn-id: r5568
2002-11-15 17:05:50 +00:00
Ruediger Hanke
9294fda566 Fixes ...
svn-id: r5567
2002-11-15 16:03:42 +00:00
Ruediger Hanke
1d17168202 FS backend for MorphOS
svn-id: r5566
2002-11-15 15:12:30 +00:00
Ruediger Hanke
18bb6f7304 Build rules update for MOS
svn-id: r5565
2002-11-15 15:10:17 +00:00
Ruediger Hanke
6b1376335c Mousewheel support added
svn-id: r5564
2002-11-15 15:06:19 +00:00
Ruediger Hanke
8671a41ae6 Remove MidiEmu option
svn-id: r5563
2002-11-15 15:05:34 +00:00
Nicolas Bacca
586c9ba082 Do not drink and #ifdef
svn-id: r5555
2002-11-15 07:58:46 +00:00
Nicolas Bacca
8b4ed9236a Added FS implementation for Windows / Windows CE
svn-id: r5554
2002-11-14 23:32:42 +00:00
Max Horn
637ffcc517 added dummy FS backend for Windows; somebody has to implement the actual code for it. Also, we probably want something like this for MorphOS; and maybe also a 'null' dummy implementation?
svn-id: r5553
2002-11-14 15:02:26 +00:00
Max Horn
73946c1c26 hide 'invisible' files
svn-id: r5550
2002-11-14 14:42:04 +00:00
Max Horn
895cbec891 added TODO
svn-id: r5548
2002-11-14 13:51:59 +00:00
Max Horn
e152733344 added completly useless non functional browser dialog skeleton. Just to show Endy I really have started working on it finally <g>
svn-id: r5547
2002-11-14 13:46:35 +00:00
Max Horn
d7a8f1902e added/updated .cvsignore
svn-id: r5546
2002-11-14 13:39:12 +00:00
Max Horn
a8d43b6490 experimental FS browsing code. Right now only for POSIX systems, some things not yet implemented, and probably full of bugs
svn-id: r5540
2002-11-13 17:16:18 +00:00
Lionel Ulmer
26b284a93e Some other inits added to prepare for the 'new / delete' overloading
removal.

svn-id: r5537
2002-11-13 15:44:33 +00:00
Lionel Ulmer
d4fc414937 Added some needed initializations.
svn-id: r5534
2002-11-13 15:14:08 +00:00
Max Horn
aae641c6cf properly initialize everything -> works w/o our custom new/delete now!
svn-id: r5531
2002-11-13 14:38:49 +00:00
Nicolas Bacca
3148f2daea Do not commit useless debug code
svn-id: r5452
2002-11-07 00:30:52 +00:00
Nicolas Bacca
7aab43a24b Possibly more devices supported : fall back to a default GDI rendering if nothing else is available - add dialog to choose between hazardous direct rendering or GDI
svn-id: r5451
2002-11-07 00:25:40 +00:00
Lionel Ulmer
6c4cb7346c Fix key repeat in the GUI.
svn-id: r5385
2002-11-02 17:44:06 +00:00
Lionel Ulmer
ffebcc826b Make X11 driver work with overlays and all the stuff. Rework by the
same occasion the mouse code.

RFH: if anyone has a DOTT save game just before the car cleaning in
     the past, I would like to have it to test the (untested) code to
     move the screen.

svn-id: r5383
2002-11-02 15:13:08 +00:00
Ruediger Hanke
099bf6caba Cleaner CGX open/close
svn-id: r5376
2002-11-02 10:19:27 +00:00
Ruediger Hanke
2dcff5fe85 Small fixes to satisfy GCC with the new MOS includes
svn-id: r5370
2002-11-01 23:09:07 +00:00
Nicolas Bacca
8d760a44ec Revenge of doh
svn-id: r5359
2002-10-31 01:11:55 +00:00
Nicolas Bacca
f2cff6cc10 doh
svn-id: r5358
2002-10-31 01:05:50 +00:00
Nicolas Bacca
f84b5d327d Real HPC support (work in progress)
svn-id: r5357
2002-10-31 01:04:47 +00:00
Travis Howell
c9774f88d3 Add more OpenGL GFX modes, patch #630753
svn-id: r5351
2002-10-30 02:31:49 +00:00
Travis Howell
4d1a90a44c Add OpenGL GFX mode switch, patch #630448
svn-id: r5348
2002-10-29 14:57:32 +00:00
Ruediger Hanke
0b6a4e9b70 Overlay fix and optimisation
svn-id: r5345
2002-10-28 20:22:26 +00:00
Jonathan Gray
6e3e0d4f54 even more define changes to USE_MAD, for wince backend in this case
svn-id: r5327
2002-10-27 06:04:30 +00:00
Jonathan Gray
2a69b72a5b more changing of COMPRESSED_SOUND_FILE for USE_MAD
svn-id: r5324
2002-10-27 05:19:59 +00:00
Nicolas Bacca
f89b40f027 Fix portrait mode + dirty rects
svn-id: r5319
2002-10-26 23:13:32 +00:00
Nicolas Bacca
c65eb3442a Fix overlay in portrait mode - better blitting (about time :)) - simon GUI fixes
svn-id: r5313
2002-10-25 23:44:15 +00:00
Ruediger Hanke
cabfdbf1e0 MorphOS overlays, fix for new gui (keyup event)
svn-id: r5312
2002-10-25 15:42:43 +00:00
Travis Howell
99c8889bba More OpenGL updates, patch #628356
Make sure simon debug is enabled by default

svn-id: r5310
2002-10-25 14:56:58 +00:00
Travis Howell
2cbfd74e2d Add more OpenGL updates, patch #628356
svn-id: r5307
2002-10-25 03:13:56 +00:00
Nicolas Bacca
45b12bc286 Re-enable GameX (license ok), static link to mini-SDL & remove old GUI from project
svn-id: r5306
2002-10-24 22:06:01 +00:00
Travis Howell
968c1c5e79 Add more OpenGL updates, patch #627510
svn-id: r5301
2002-10-24 11:01:19 +00:00
James Brown
134468fd61 Patch 627178: OpenGL updates
svn-id: r5279
2002-10-23 08:52:20 +00:00
Nicolas Bacca
ae8d845472 Changes to WinCE project
svn-id: r5266
2002-10-23 00:01:46 +00:00
Nicolas Bacca
9251de699d Disable GameX until I'm sure of the license used
svn-id: r5265
2002-10-22 23:43:00 +00:00
Nicolas Bacca
529ca92ca7 DLLs loaded at runtime, new launcher, overlay, new hardware key management and other fixes
svn-id: r5261
2002-10-22 23:00:13 +00:00