[clinkster] some misc fixes and tweaks

This commit is contained in:
PoroCYon 2019-05-11 01:49:50 +02:00
parent ccd962699e
commit 8c10c079cd
5 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python
import xml.dom
import xml.dom.minidom

0
clinkster/Clinkster/converter/renoiseconvert.py Normal file → Executable file
View File

View File

@ -593,15 +593,15 @@ PUBLIC_FN(Clinkster_GenerateMusic,0):
%endif
.stereoloop:
mov dword [noteposptr], PUBLIC_DATA(NotePositions)
mov dword [notesamptr], PUBLIC_DATA(NoteSamples)
mov dword [noteposptr], NotePositions
mov dword [notesamptr], NoteSamples
xor eax, eax
mov edi, PUBLIC_DATA(MixingBuffer)
mov ecx, TOTAL_SAMPLES
rep stosd
mov esi, PUBLIC_DATA(InstrumentData)
mov esi, InstrumentData
%if USES_DELAY
jmp short .trackloop

View File

@ -17,6 +17,7 @@ extern "C" {
// and Clinkster_StartMusic can be called.
void __stdcall Clinkster_GenerateMusic();
#ifdef WIN32
// Play the music
void __stdcall Clinkster_StartMusic();
@ -24,6 +25,7 @@ extern "C" {
// Use this function as the timer for the visuals in your intro.
// Returned value is measured in music ticks (pattern rows).
float __stdcall Clinkster_GetPosition();
#endif
// Used for timing intro events to music notes.
// Returns how long ago (in ticks) a note was last triggered in the