summaryrefslogtreecommitdiffstats
path: root/source/cVine.h
blob: 6d2a92d15c4c7d3fb73156d7de22d9bdbc4ea6f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once

class cVine			//tolua_export
{					//tolua_export
public:
	
	static char DirectionToMetaData( char a_Direction )
	{
		switch (a_Direction)
		{
			case 0x2:
				return 0x1;
			case 0x3:
				return 0x4;
			case 0x4:
				return 0x8;
			case 0x5:
				return 0x2;
			default:
				return 0xf;
		};
		return 0xf;
	}				//tolua_export
};					//tolua_export