Norbert Lange
025846020b
moved check if class should be compiled to the header
...
svn-id: r43075
2009-08-05 18:45:22 +00:00
Norbert Lange
55a24eacd5
fixed wrong indentation
...
moved notetable to static scope
svn-id: r43074
2009-08-05 18:13:42 +00:00
Norbert Lange
29e4755f2a
check if modplayers should be compiled based on engine-macros
...
svn-id: r43073
2009-08-05 18:00:13 +00:00
Norbert Lange
4890ada18f
replace workaround in case musicfiles are missing with a simpler one
...
svn-id: r43071
2009-08-05 17:29:02 +00:00
Norbert Lange
139fa6ff13
remove a former workaround for Amiga MI
...
svn-id: r43055
2009-08-04 20:27:25 +00:00
Norbert Lange
28210abe77
fixed hanging intro (and possible other scenes) when music cant be loaded
...
svn-id: r43054
2009-08-04 19:53:13 +00:00
Norbert Lange
fc8e269c36
cleaned up sound_amiga.cpp a bit, added checks for missing files
...
svn-id: r43050
2009-08-04 18:24:39 +00:00
Norbert Lange
4c4eb1394c
added warning should the sound files not be available (intro will hang if there is no musictimer)
...
svn-id: r43049
2009-08-04 17:43:56 +00:00
Norbert Lange
c304c633ce
moved helper functions from the header file into the cpp file
...
svn-id: r43047
2009-08-04 17:12:19 +00:00
Norbert Lange
dbe50abae4
added doxygeb comments
...
added checks to public functions if resources already got loaded
svn-id: r43046
2009-08-04 17:03:35 +00:00
Norbert Lange
e6f8bfafc7
moved code for initialising patterns into own function
...
added initialisation of return-addresses for patterns and macros
svn-id: r43045
2009-08-04 15:43:40 +00:00
Norbert Lange
0306695459
Some formatting changes and added comments
...
fixed parameters for "Play macro" command
fixed copypaste-mistake for pattern-fade
svn-id: r43032
2009-08-04 10:42:42 +00:00
Norbert Lange
ed8f02af96
synced the branch with the palette patch ( #2819787 )
...
svn-id: r42987
2009-08-02 01:00:56 +00:00
Norbert Lange
2a4c60244b
made some unused methods private
...
svn-id: r42986
2009-08-02 00:39:06 +00:00
Norbert Lange
bb9f1d6a25
fix some more harmless warnings to make gcc shutup
...
svn-id: r42985
2009-08-02 00:27:15 +00:00
Norbert Lange
2dd5516954
fixed some constness warnings
...
svn-id: r42984
2009-08-02 00:15:38 +00:00
Norbert Lange
92d292a3f6
made MdatResource struct private and changed the signatures of functions which load the resources.
...
svn-id: r42982
2009-08-02 00:03:42 +00:00
Norbert Lange
59395eb6b6
stole formatting for constructors from existing code
...
svn-id: r42981
2009-08-01 23:14:28 +00:00
Norbert Lange
a28281072d
engines/scumm/scumm.cpp: terminate method is pretty redundant - removed
...
tfmx, player_v4a: refactored Tfmx to allow sharing of resources between 2 instances. Needed changes in player_v4a aswell
svn-id: r42980
2009-08-01 23:02:45 +00:00
Sven Hesse
ebe4090580
Removing the tfmx test module to make the branch compile again
...
svn-id: r42978
2009-08-01 19:37:50 +00:00
Norbert Lange
27ee1eb331
refactored and commented player_va4 a bit
...
fix waitcommand in Tfmx
try making tfmxplayer compile again
svn-id: r42976
2009-08-01 16:10:00 +00:00
Norbert Lange
1becc072f9
Added the last 2 patterncommands just so I dont have to warn about unimplemented ones
...
svn-id: r42963
2009-07-31 15:20:02 +00:00
Norbert Lange
fd1fed0b6e
process all DMA Events before Macros, for the unlikely chance of making a difference
...
svn-id: r42962
2009-07-31 14:36:37 +00:00
Norbert Lange
a4ebf2cfa6
using accessmodifiers in Tfmx now and removed/disabled functions that now dont work anymore (the commandline utility cant be compiled anymore as result of this)
...
added arraysize of external signals and check it before accesses
moved 2 debug-functions into Tfmx.cpp, removed depencies to files in the tfmx folder
moved common code for fade-effects in a seperate method
svn-id: r42961
2009-07-31 14:29:04 +00:00
Johannes Schickel
a7b419149c
Use 50Hz ticks in Kyra1 Amiga instead of 60Hz ticks.
...
svn-id: r42644
2009-07-21 17:00:07 +00:00
Norbert Lange
83c0d0fc51
missed some files when merging
...
svn-id: r42630
2009-07-20 17:46:19 +00:00
Norbert Lange
4ae0b0528b
now using tick for fadeout through the nowmal delay function
...
svn-id: r42622
2009-07-19 19:56:52 +00:00
Norbert Lange
65cf95b98b
reverted fadeout to using plain delay as delayWithTicks crashes >(
...
svn-id: r42621
2009-07-19 16:59:39 +00:00
Norbert Lange
f051e7e9ab
use own soundhandle as the ones in Kyra::Sound seem to be used for voices (and might get killed)
...
svn-id: r42620
2009-07-19 16:11:05 +00:00
Norbert Lange
5952977ed0
use ticks for timing fadeout
...
svn-id: r42618
2009-07-19 15:36:11 +00:00
Norbert Lange
dbe300fc53
fixed retiring of external Notes
...
fixed/improved counting DMAs in Paula
added flag for looping songs
rearranged maxtrax.h a bit
svn-id: r42613
2009-07-19 14:02:19 +00:00
Norbert Lange
31b6767666
fixed: intro-music started twice because it was hardcoded in the engine
...
removed verbose debug-output from maxtrax
svn-id: r42604
2009-07-19 01:14:51 +00:00
Norbert Lange
396d6c86aa
add support for fadeout
...
svn-id: r42601
2009-07-19 00:58:01 +00:00
Norbert Lange
22ee23cac7
some more tables included, for tempo and volume values
...
svn-id: r42600
2009-07-19 00:44:54 +00:00
Norbert Lange
bb5207c13b
fixed some initialisation issues
...
svn-id: r42595
2009-07-18 17:27:31 +00:00
Norbert Lange
923f9b975b
found and use another table, soundeffects in intro are now working
...
svn-id: r42594
2009-07-18 16:27:33 +00:00
Norbert Lange
9e16e3b3e6
first attempt at enabling soundeffects using an table from the executeable. Doesnt quite work as it should
...
svn-id: r42575
2009-07-18 00:04:28 +00:00
Norbert Lange
bb64bf008d
merge with trunk
...
svn-id: r42574
2009-07-17 21:23:54 +00:00
Norbert Lange
81ac29ebca
added missing file
...
svn-id: r42568
2009-07-17 16:10:56 +00:00
Norbert Lange
cfe2928d98
added primitive support for Kyrandia`s Intro Music.
...
svn-id: r42567
2009-07-17 16:07:57 +00:00
Johannes Schickel
53756ef1d0
Cleanup.
...
svn-id: r42565
2009-07-17 14:05:22 +00:00
Johannes Schickel
c353e5389b
- Moved SoundAdlibPC definition to new header file sound_adlib.h
...
- Made the future versions of sound.h GPL only
- sound_adlib.h is dual licensed under GPL and LGPL (so AdPlug can still benefit from future changes)
svn-id: r42564
2009-07-17 13:50:59 +00:00
Johannes Schickel
799af694f0
Replace LGPL header by GPL header.
...
svn-id: r42563
2009-07-17 13:35:56 +00:00
Travis Howell
9f2f041200
Correct error in saveBackGround.
...
svn-id: r42561
2009-07-17 10:48:30 +00:00
Travis Howell
74178f090c
Fix bug #2822956 - ELVIRA2: Crash at the beginning (regression).
...
svn-id: r42560
2009-07-17 09:56:03 +00:00
Travis Howell
d329232f5c
Fix input glitch regression, after pausing in PN.
...
svn-id: r42559
2009-07-17 06:26:37 +00:00
Paul Gilbert
db81b0a185
Added an explicit break out of the event processing loop for mouse buttons and/or key-presses - this should allow stylus-based systems to properly process 'mouse down' events before the 'mouse up' is processed
...
svn-id: r42558
2009-07-17 05:10:24 +00:00
Norbert Lange
c0c25d234e
precalculating some more from CalcNote
...
svn-id: r42556
2009-07-17 01:42:58 +00:00
Norbert Lange
1fa1bdc9f6
avoid some calculations from being done every time in CalcNote
...
svn-id: r42553
2009-07-17 00:58:26 +00:00
Sven Hesse
6c4e87a1d8
Making TOTResourceItem::size unsigned, fixing a graphics bug that crept in
...
svn-id: r42552
2009-07-17 00:55:56 +00:00