src/demo.h

Sun, 11 Aug 2013 02:58:55 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Sun, 11 Aug 2013 02:58:55 +0300
changeset 10
bc1414343e19
parent 6
67b6ef6917ba
child 13
9bdddd2ccde6
permissions
-rw-r--r--

Overhauled the way versions are handled, it's all kept dynamically now.

#ifndef DEMO_H
#define DEMO_H

#include "types.h"

enum {
	DemoLength,
	DemoVersion,
	DemoCVars,
	DemoUserInfo,
	DemoBodyStart,
	DemoTiccmd,
	DemoInvUse,
	DemoCenterView,
	DemoTaunt,
	DemoEnd,
	DemoWads
};

struct VersionInfo {
	str shortVersion;
	str versionString;
	bool release;
};

int launchDemo (str path);

#endif // DEMO_H

mercurial