Ori Avtalion
438f100d5e
AGI: Reduce audio header dependencies
2016-05-22 22:02:37 +03:00
Martin Kiewitz
f5a83adc01
AGI: Fix various CIDs
...
CID 1350104: regression from graphics rewrite in C64 picture drawing
CID 1350101: potential buffer overflow in set.simple command
CID 1350112: uninitialized variable in TextMgr
CID 1350113: false positive uninitialized variable in SystemUI
CID 1350114: potentially uninitialized variable in IIgsSample
CID 1350117: false positive uninitialized variable in InventoryMgr
CID 1350103: code bug in CGA rendering TextMgr::charAttrib_Set()
CID 1350109: false positive in GfxFont::loadFontAmigaPseudoTopaz()
CID 1350111: original AGI uninitialized memory issue
in SpritesMgr::showObject
2016-02-09 12:47:45 +01:00
Johannes Schickel
6778175f6d
AGI: Fix formatting.
...
This mostly enforces tabs for indentation and spaces for formatting. But also
fixes spaces on empty lines, some extra/missing spaces.
astyle + manual fixup
2016-02-02 20:15:18 +01:00
Martin Kiewitz
2eecbe68fa
AGI: Apple IIgs: remove warning about bad sample size
2016-01-27 21:18:45 +01:00
Martin Kiewitz
a85350aa3f
AGI: fix invalid memory access in Apple IIgs sound
...
fixes crash in Manhunter 1, when looking at corpse right at the
start. Sound resource is actually corrupt (missing bytes).
2016-01-27 21:04:02 +01:00
Martin Kiewitz
19a5265647
AGI: fix Apple IIgs sound invalid memory access
...
check curInstrument pointer inside midiNoteOff
also improving readability a bit by cleanup
2016-01-19 21:02:56 +01:00
Martin Kiewitz
50f3085c99
AGI: reverse Apple IIgs stereo cleanup
2016-01-19 03:46:29 +01:00
Martin Kiewitz
05fb12eb63
AGI: reverse stereo for Apple IIgs + cleanup
...
According to Apple IIgs emulator and recorded music on Apple IIgs,
it seems that stereo was reversed. Melody in games seems to be
playing on left channel and not on the right one.
2016-01-19 03:19:13 +01:00
Martin Kiewitz
1084c22a78
AGI: fix Apple IIgs sound code + cleanup
...
fixes several crash possibilities
including uninitialized .chn
2016-01-18 21:52:48 +01:00
Eugene Sandulenko
34a1d7aaaa
AGI: Improve debug output
2015-11-28 00:06:47 +01:00
Johannes Schickel
6aac905dfd
AGI: Make GPL headers consistent in themselves.
2014-02-18 02:39:32 +01:00
Max Horn
4fb289e346
AGI: Get rid of unused SoundMgr parameters
2013-04-18 23:50:19 +02:00
Tarek Soliman
a4798602d7
JANITORIAL: Fix missing whitespace in pointer cast
...
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'
This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Johannes Schickel
c5ff6b431b
AGI: Change two local SharedPtr uses to ScopedPtr.
...
I took the opportunity to add two CHECKMEs to the code, which seems to load a
file into memory for no real apparent reason.
2011-11-16 20:31:22 +01:00
Matthew Hoops
de6390dddb
AGI: Make the sound code use AgiBase instead of AgiEngine
...
In preparation of using the sound code with Winnie
2011-08-14 13:10:43 -04:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Max Horn
5faa7e3a53
AGI: Fix type mismatch (see bug #3311198 )
2011-06-03 23:17:26 +02:00
Willem Jan Palenstijn
218d82c62b
AGI: Fix compilation on 64 bit platforms
...
I'm unable to test this change, but it avoids using a pointer to store
an int temporarily.
2011-05-25 22:45:21 +02:00
Eugene Sandulenko
ed9768fde3
Merge pull request #9 from tiqpit/a2gs
...
AGI: Fix //gs output
2011-05-25 10:00:26 -07:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Jussi Pitkanen
40b0d468e3
AGI: More formatting changes...
2011-04-12 18:40:43 +03:00
Jussi Pitkanen
40394431dc
AGI: Use delete[] instead of delete for arrays
2011-04-12 18:22:24 +03:00
Jussi Pitkanen
506f3bdc10
AGI: Formatting
2011-04-12 18:07:35 +03:00
Jussi Pitkanen
d099ad3a48
AGI: Detect swap mode correctly for Apple IIGS instruments.
...
Also add comments describing which instruments use swap mode or vibrato,
plus print debug messages when those instruments are actually being played.
2011-04-10 17:27:07 +03:00
Jussi Pitkanen
4b3f081ee0
AGI: Cleanup sound_2gs.*
2011-04-09 19:11:25 +03:00
Jussi Pitkanen
d660b7f78d
AGI: Refactor and fix Apple IIGS sound generator
...
Make the player be centered on a fixed number of "generators" instead of
MIDI channels that arbitrarily allocate generators for notes.
Make the audio stream to be stereo and for sample rate use _sampleRate.
Rewrite the synthesis core:
* Make generators use both oscillators
* Implement swap mode for oscillators
* Fix envelope update frequency
2011-04-09 00:48:26 +03:00
Max Horn
b188e60f44
AGI: Avoid global constructors (due to global refs)
2011-04-04 09:53:26 +02:00
Max Horn
2180b2d6b5
COMMON: Split common/stream.h into several headers
...
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
4d3a07b494
COMMON: Rename and tweak MD5 functions
...
* names now comply to our naming conventions
* the function computeStreamMD5AsString which computes the MD5
as a hex string now returns it as a Common::String
* add doxygen comments
svn-id: r54121
2010-11-07 17:16:59 +00:00
Eugene Sandulenko
db6673c408
AGI: rearranged class methods a bit and cleanup.
...
svn-id: r49758
2010-06-15 10:38:39 +00:00
Eugene Sandulenko
ceb2909e0a
AGI: Split all sound generators into separate modules.
...
Now the sound subsystem of the engine finally is possible to grasp.
Also now it is obvious why CoCo3 sounds are not functioning.
svn-id: r49757
2010-06-15 10:36:54 +00:00
Eugene Sandulenko
38ef876d5b
AGI: Split out IIgs sound emulator into separate files.
...
svn-id: r49749
2010-06-15 10:33:57 +00:00