-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test Program 1.3.5
- Loading branch information
Showing
7 changed files
with
87 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
///draw_GUI_modules() | ||
|
||
draw_set_color(make_color_hsv((hue+64 mod 256),128,255)); | ||
draw_text(16,128,"Position: " + string(FMODGMS_Chan_Get_Position(0))); | ||
draw_set_color(make_color_hsv((hue+80 mod 256),128,255)); | ||
draw_text(16,144,"Loop Points: " + string(FMODGMS_Snd_Get_LoopPoints(sound[sound_index],0)) + " - " + string(FMODGMS_Snd_Get_LoopPoints(sound[sound_index],1))); | ||
draw_set_color(make_color_hsv((hue+96 mod 256),128,255)); | ||
draw_text(16,160,"Order: " + string(FMODGMS_Chan_Get_ModOrder(0))); // only works with module files | ||
draw_set_color(make_color_hsv((hue+112 mod 256),128,255)); | ||
draw_text(16,176,"Pattern: " + string(FMODGMS_Chan_Get_ModPattern(0))); // only works with module files | ||
draw_set_color(make_color_hsv((hue+128 mod 256),128,255)); | ||
draw_text(16,192,"Row: " + string(FMODGMS_Chan_Get_ModRow(0))); // only works with module files | ||
draw_set_color(make_color_hsv((hue+144 mod 256),128,255)); | ||
draw_text(16,208,"Volume: " + string(channel_volume)); | ||
draw_set_color(make_color_hsv((hue+160 mod 256),128,255)); | ||
draw_text(16,224,"Playback Freq.: " + string(channel_frequency * channel_pitch) + " Hz# (" + string(channel_frequency) + " x " + string(channel_pitch) + ")"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
///draw_GUI_mp3() | ||
|
||
draw_set_color(make_color_hsv((hue+64 mod 256),128,255)); | ||
draw_text(16,128,"Position: " + string(FMODGMS_Chan_Get_Position(0))); | ||
draw_set_color(make_color_hsv((hue+80 mod 256),128,255)); | ||
draw_text(16,144,"Loop Points: " + string(FMODGMS_Snd_Get_LoopPoints(sound[sound_index],0)) + " - " + string(FMODGMS_Snd_Get_LoopPoints(sound[sound_index],1))); | ||
draw_set_color(make_color_hsv((hue+96 mod 256),128,255)); | ||
|
||
// get tags | ||
draw_text(16,176,"Title: " + FMODGMS_Snd_Get_TagStringFromName(sound[4],"TITLE")); | ||
draw_set_color(make_color_hsv((hue+112 mod 256),128,255)); | ||
draw_text(16,192,"Artist: " + FMODGMS_Snd_Get_TagStringFromName(sound[4],"ARTIST")); | ||
draw_set_color(make_color_hsv((hue+128 mod 256),128,255)); | ||
draw_text(16,208,"Album: " + FMODGMS_Snd_Get_TagStringFromName(sound[4],"ALBUM")); | ||
draw_set_color(make_color_hsv((hue+144 mod 256),128,255)); | ||
|
||
|
||
draw_text(16,240,"Volume: " + string(channel_volume)); | ||
draw_set_color(make_color_hsv((hue+160 mod 256),128,255)); | ||
draw_text(16,256,"Playback Freq.: " + string(channel_frequency * channel_pitch) + " Hz# (" + string(channel_frequency) + " x " + string(channel_pitch) + ")"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
///draw_GUI_ogg() | ||
|
||
draw_set_color(make_color_hsv((hue+64 mod 256),128,255)); | ||
draw_text(16,128,"Position: " + string(FMODGMS_Chan_Get_Position(0))); | ||
draw_set_color(make_color_hsv((hue+80 mod 256),128,255)); | ||
draw_text(16,144,"Loop Points: " + string(FMODGMS_Snd_Get_LoopPoints(sound[sound_index],0)) + " - " + string(FMODGMS_Snd_Get_LoopPoints(sound[sound_index],1))); | ||
draw_set_color(make_color_hsv((hue+96 mod 256),128,255)); | ||
draw_text(16,208,"Volume: " + string(channel_volume)); | ||
draw_set_color(make_color_hsv((hue+112 mod 256),128,255)); | ||
draw_text(16,224,"Playback Freq.: " + string(channel_frequency * channel_pitch) + " Hz# (" + string(channel_frequency) + " x " + string(channel_pitch) + ")"); | ||