Add web
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
#define PL_MPEG_IMPLEMENTATION
|
||||
#include <pl_mpeg.h>
|
||||
|
||||
#define STB_
|
||||
|
||||
#ifdef EDITOR
|
||||
#include "editor.h"
|
||||
#endif
|
||||
|
||||
@@ -87,3 +87,39 @@ void play_song(const char *midi, const char *sf)
|
||||
cursong.filter = dsp_midi_fillbuf;
|
||||
first_free_bus(cursong);
|
||||
}
|
||||
|
||||
|
||||
void music_play()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void music_stop()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void music_volume()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void music_resume()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void music_paused()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void music_pause()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void sound_play()
|
||||
{
|
||||
|
||||
}
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "limits.h"
|
||||
#include "time.h"
|
||||
#include "music.h"
|
||||
#include "stb_vorbis.h"
|
||||
|
||||
|
||||
#include "SDL2/SDL.h"
|
||||
|
||||
@@ -70,7 +70,7 @@ struct mSDLWindow *MakeSDLWindow(const char *name, int width, int height, uint32
|
||||
|
||||
w->width = width;
|
||||
w->height = height;
|
||||
printf("NUmber of windows: %d.\n", windows.len);
|
||||
YughInfo("Number of windows: %d.\n", windows.len);
|
||||
w->id = windows.len-1;
|
||||
|
||||
w->window = glfwCreateWindow(width, height, name, NULL, sharewin);
|
||||
|
||||
Reference in New Issue
Block a user