Norbert Lange
0836cf6d9b
merged from trunk (Amiga LoK supposedly completeable!)
...
fixed a bug I introduced in one of the last cleanups
svn-id: r43291
2009-08-11 22:35:56 +00:00
Andre Heider
dc0e908385
Fixed an endian bug in the ADPCM decoder ( #2211901 ).
...
svn-id: r43287
2009-08-11 19:11:26 +00:00
Norbert Lange
8cb42dd689
fixed bug in tempoeffect
...
svn-id: r43204
2009-08-10 12:09:31 +00:00
Norbert Lange
d63ddbdbbe
fix potential leak in loadscore
...
added parameters to constructor
svn-id: r43203
2009-08-10 11:47:49 +00:00
Norbert Lange
b4c689a3c1
fixed up some missing newlines
...
removed MSVC6 disable pragmas, the warnings are already disabled in the project files
svn-id: r43182
2009-08-09 18:59:22 +00:00
Norbert Lange
0350a1598d
merge with trunk
...
svn-id: r43134
2009-08-08 19:09:30 +00:00
Johannes Schickel
c455e135b2
Fix XMIDI looping implementation. Now for example the music in the ferret village of ITE plays fine.
...
svn-id: r43126
2009-08-08 13:57:21 +00:00
Norbert Lange
4e7b156e10
fix a bug that prevented gcc from compiling
...
correctly added my palette patch (it showed up in the rev-changes but dint got applied fully to the svn tree?)
svn-id: r43116
2009-08-08 09:49:28 +00:00
Norbert Lange
6dbeddab25
slighty changed how voices get disabled after their sample played
...
svn-id: r43111
2009-08-08 09:23:09 +00:00
Norbert Lange
baeed11aae
added missing stuff for modulation and microtonal effects (several bugs in original player - dont think this was ever used)
...
added compiletime macros for modulation and microtonal
moved common initialization stuff into a new resetPlayer() method
reworked stopEvents, made them simpler and inlined the noteOff function
added check for allocation and IO-Errors to the load-function.
svn-id: r43110
2009-08-08 09:18:23 +00:00
Norbert Lange
78e06a0e1c
refactored noteOn
...
removed channel.voicesActive variable
svn-id: r43104
2009-08-07 21:00:34 +00:00
Norbert Lange
d51e8be2bf
implemented "SPECIAL" commands
...
addid missing stacklock for a few public functions
svn-id: r43100
2009-08-07 18:02:06 +00:00
Norbert Lange
c4047908aa
added stub for setting audio filter in Paula
...
fixed wrong value for volume in maxtrax
svn-id: r43099
2009-08-07 16:21:30 +00:00
Norbert Lange
648bec1d0c
move function definitions from header to the cpp file
...
moved a few functions to static scope
svn-id: r43077
2009-08-05 19:26:00 +00:00
Norbert Lange
621071ea9e
added some error messages to the compile-time checks
...
svn-id: r43076
2009-08-05 18:57:13 +00:00
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
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
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
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
e779747ca4
Fix typo, which made our "floorf" macro use "floorf" instead of "floor" on systems without "floorf".
...
svn-id: r42904
2009-07-29 20:03:46 +00:00
Johannes Schickel
17fe3ce29e
Oops enabled HACK to prevent multiple OPL instances again.
...
svn-id: r42849
2009-07-27 18:19:16 +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
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
cfe2928d98
added primitive support for Kyrandia`s Intro Music.
...
svn-id: r42567
2009-07-17 16:07:57 +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
Norbert Lange
30cb4772f2
simplified NoteOn calculations
...
added playNote command for soundeffects
svn-id: r42544
2009-07-17 00:07:36 +00:00
Max Horn
baabc623f6
Got rid of two more ioFailed uses
...
svn-id: r42501
2009-07-15 10:04:50 +00:00