Mercurial > LightClone
view LightClone/Source/Code.h @ 33:06b151afc8d0
Cleaned up UI art; Completed drag and drop; Centered grid
author | koryspansel <koryspansel@bendbroadband.com> |
---|---|
date | Wed, 21 Sep 2011 00:50:20 -0700 |
parents | 7e3a0ae9c016 |
children |
line wrap: on
line source
/* * Code */ #ifndef __CODE_H__ #define __CODE_H__ #include "Core.h" /* * Code */ class Code { /* * pSlot * Code blocks are made up of an array of actions */ uint32* pSlot; /* * nSize */ uint32 nSize; /* * nLength */ uint32 nLength; public: /* * Code */ Code(); /* * Initialize */ void Initialize(uint32 nLength); /* * Clear */ void Clear(); /* * SetSlot */ void SetSlot(uint32 nSlot, uint32 nValue); /* * GetSlot */ uint32 GetSlot(uint32 nSlot); /* * ClearSlot */ void ClearSlot(uint32 nSlot); /* * IsEmptySlot */ bool IsEmptySlot(uint32 nSlot) const; /* * GetSize */ uint32 GetSize() const; /* * GetLength */ uint32 GetLength() const; }; #endif //__CODE_H__