Commit 8c10c079 authored by PoroCYon's avatar PoroCYon
Browse files

[clinkster] some misc fixes and tweaks

parent ccd96269
#!/usr/bin/env python
import xml.dom import xml.dom
import xml.dom.minidom import xml.dom.minidom
......
File mode changed from 100644 to 100755
...@@ -593,15 +593,15 @@ PUBLIC_FN(Clinkster_GenerateMusic,0): ...@@ -593,15 +593,15 @@ PUBLIC_FN(Clinkster_GenerateMusic,0):
%endif %endif
.stereoloop: .stereoloop:
mov dword [noteposptr], PUBLIC_DATA(NotePositions) mov dword [noteposptr], NotePositions
mov dword [notesamptr], PUBLIC_DATA(NoteSamples) mov dword [notesamptr], NoteSamples
xor eax, eax xor eax, eax
mov edi, PUBLIC_DATA(MixingBuffer) mov edi, PUBLIC_DATA(MixingBuffer)
mov ecx, TOTAL_SAMPLES mov ecx, TOTAL_SAMPLES
rep stosd rep stosd
mov esi, PUBLIC_DATA(InstrumentData) mov esi, InstrumentData
%if USES_DELAY %if USES_DELAY
jmp short .trackloop jmp short .trackloop
......
...@@ -17,6 +17,7 @@ extern "C" { ...@@ -17,6 +17,7 @@ extern "C" {
// and Clinkster_StartMusic can be called. // and Clinkster_StartMusic can be called.
void __stdcall Clinkster_GenerateMusic(); void __stdcall Clinkster_GenerateMusic();
#ifdef WIN32
// Play the music // Play the music
void __stdcall Clinkster_StartMusic(); void __stdcall Clinkster_StartMusic();
...@@ -24,6 +25,7 @@ extern "C" { ...@@ -24,6 +25,7 @@ extern "C" {
// Use this function as the timer for the visuals in your intro. // Use this function as the timer for the visuals in your intro.
// Returned value is measured in music ticks (pattern rows). // Returned value is measured in music ticks (pattern rows).
float __stdcall Clinkster_GetPosition(); float __stdcall Clinkster_GetPosition();
#endif
// Used for timing intro events to music notes. // Used for timing intro events to music notes.
// Returns how long ago (in ticks) a note was last triggered in the // Returns how long ago (in ticks) a note was last triggered in the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment