Add Music fluctuations project and Chinese plan docs
This commit is contained in:
17
MVS/Music fluctuations/source/context/Context.cpp
Normal file
17
MVS/Music fluctuations/source/context/Context.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
#include"Context.h"
|
||||
#include"../global/Config.h"
|
||||
#include<iostream>
|
||||
|
||||
Context::Context(HINSTANCE p_hInstance):
|
||||
m_window(m_input),
|
||||
m_renderer(m_gpu),
|
||||
m_audioManager(m_audioEngine)
|
||||
{
|
||||
m_window.initWindow(p_hInstance,SCREEN_WIDTH,SCREEN_HEIGHT);
|
||||
m_gpu.initGL(SCREEN_WIDTH, SCREEN_HEIGHT, m_window.getCanvas());
|
||||
m_gpu.test += std::bind(&Window::Test, m_window, std::placeholders::_1);
|
||||
}
|
||||
|
||||
Context::~Context()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user