summaryrefslogtreecommitdiff
path: root/include/idManager.h
diff options
context:
space:
mode:
authororoborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-05-22 20:13:25 +0000
committeroroborus <oroborus@0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e>2008-05-22 20:13:25 +0000
commita1e9bc7430ca827808a502f455b20a23ba15e31a (patch)
tree0f5367068425be881657840c08756662510adf39 /include/idManager.h
parent7055882c93022da3a6a1cf74cebf3d17c44ce6c4 (diff)
- dopisany skutocny ID manager
- objekt wall je ako modul - oprava chyby, pri prepinani screenov sa nevyprazdnoval layer - oprava chyby, pri odstraneni vsetkych obrazkov zo skupiny sa odstrani iba prvy obrazok - oprava chyby, pri odstraneni vsetkej hudby zo skupiny sa odstrani iba prva hudba PS: (asi) zajtra ten kod trochu esteticky upravim git-svn-id: http://opensvn.csie.org/tuxanci_ng@53 0ee4d065-81f0-4d1e-b06c-ff20ad07cc3e
Diffstat (limited to 'include/idManager.h')
-rw-r--r--include/idManager.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/idManager.h b/include/idManager.h
new file mode 100644
index 0000000..a525a56
--- /dev/null
+++ b/include/idManager.h
@@ -0,0 +1,18 @@
+
+
+#ifndef ID_MANAGER_H
+
+#define ID_MANAGER_H
+
+#define MAX_ID 1000
+
+#include "list.h"
+
+extern list_t * newListID();
+extern int getNewID(list_t *p);
+extern int isRegisterID(list_t *p, int id);
+extern void delID(list_t *p, int id);
+extern void replaceID(list_t *p, int old_id, int new_id);
+extern void destroyListID(list_t *p);
+
+#endif