diff --git a/stepmania/src/arch/arch.cpp b/stepmania/src/arch/arch.cpp new file mode 100644 index 0000000000..1bea05c5a6 --- /dev/null +++ b/stepmania/src/arch/arch.cpp @@ -0,0 +1,23 @@ +/* + * This file provides functions to create driver objects. + */ + +#include "../stdafx.h" + +#include "arch.h" + +/* Load default drivers. */ +#include "default/arch.h" + +/* Override them with arch-specific drivers, as available. */ +#if defined(WIN32) +#include "Win32/arch.h" +#endif + +LoadingWindow *MakeLoadingWindow() { return new ARCH_LOADING_WINDOW; } + +/* + * Copyright (c) 2002 by the person(s) listed below. All rights reserved. + * + * Glenn Maynard + */ diff --git a/stepmania/src/arch/arch.h b/stepmania/src/arch/arch.h new file mode 100644 index 0000000000..0155a7ff89 --- /dev/null +++ b/stepmania/src/arch/arch.h @@ -0,0 +1,15 @@ +#ifndef ARCH_H +#define ARCH_H + +/* Include this file if you need to create an instance of a driver object. */ +class LoadingWindow; + +LoadingWindow *MakeLoadingWindow(); + +#endif + +/* + * Copyright (c) 2002 by the person(s) listed below. All rights reserved. + * + * Glenn Maynard + */