#include <windows.h>
#pragma warning (disable:4786)
#include <windowsx.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <math.h>
#include <conio.h>
#include <commctrl.h>
#include <assert.h>
#include <mmsystem.h>
#include <dx/d3d9.h>
#include <dx/d3dx9.h>
#include <iostream>
#include <vector>
#include <GL/gl.h>
#undef GL_GLEXT_PROTOTYPES
#include <GL/glext.h>
#include <GL/glut.h>

#define GLH_EXT_SINGLE_FILE
#define GLH_NVEB_USING_NVPARSE

#include "inc-ex/nv_util.h"
#include "inc-ex/nv_algebra.h"
#include "inc-ex/glh_nveb.h"
#include "inc-ex/glh_extensions.h"
#include "inc-ex/nv_nvparse.h"
#include "inc-ex/nv_read_text_file.h"

#include "inc-ex/nv_algebra.cpp"
#include "inc-ex/nv_data_path.cpp"
#include "inc-ex/nv_read_text_file.cpp"

#include "inc/l_nv.h"
#include "inc/l_def.h"
#include "inc/l_v.h"
#include "inc/l_conf.h"
#include "inc/l_err.h"
#include "inc/l_app.h"
#include "inc/l_init.h"
#include "inc/l_render.h"
#include "inc/l_d3d.h"
#include "inc/l_fx.h"
#include "inc/l_inp.h"
#include "inc/l_nmap.h"
#include "inc/l_img.h"
#include "inc/l_ext.h"
#include "inc/l_obj.h"
#include "inc/l_glut.h"
#include "inc/l_std.h"

#include "src/l_err.cpp"
#include "src/l_conf.cpp"
#include "src/l_init.cpp"
#include "src/l_render.cpp"
#include "src/l_app.cpp"
#include "src/l_d3d.cpp"
#include "src/l_fx.cpp"
#include "src/l_inp.cpp"
#include "src/l_v.cpp"
#include "src/l_nmap.cpp"
#include "src/l_img.cpp"
#include "src/l_ext.cpp"
#include "src/l_obj.cpp"
#include "src/l_glut.cpp"
#include "src/l_nv.cpp"
#include "src/l_main.cpp"
