Dependencies:   4DGL-uLCD-SE Motor SparkfunAnalogJoystick mbed

Revision:
0:b7a07b6cf5d0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/FEmain.h	Tue Mar 14 22:37:14 2017 +0000
@@ -0,0 +1,82 @@
+#define Mapx 0x003B
+#define Mapy 0x5001
+enum attackType_t {
+    sword,
+    spear,
+    ax,
+    staff,
+    claws,
+    fangs,
+    magic};
+    
+    
+typedef struct jobs{
+        char v;
+        int x;
+        int y;
+        int movement;
+        int rng;
+        attackType_t attack;
+        int damage;
+        int defence;
+        int res;
+        int maxHealth;}job_t;
+
+job_t Lord;
+job_t Pirate;
+job_t Armor;
+job_t Cleric;
+job_t Beast;
+
+
+void init_jobs(void){
+    Lord.x = 0x003B;
+    Lord.y = 0x5066;
+    Lord.movement = 3;
+    Lord.rng = 1;
+    Lord.attack = sword;
+    Lord.damage = 10;
+    Lord.defence = 3;
+    Lord.maxHealth = 20;
+
+    Pirate.x = 0x003B;
+    Pirate.y = 0x5068;
+    Pirate.movement = 3;
+    Pirate.rng = 1;
+    Pirate.attack = ax;
+    Pirate.damage = 10;
+    Pirate.defence = 3;
+    Pirate.maxHealth = 20;
+
+    Armor.x = 0x003B;
+    Armor.y = 0x506A;
+    Armor.movement = 2;
+    Armor.rng = 1;
+    Armor.attack = spear;
+    Armor.damage = 5;
+    Armor.defence = 4;
+    Armor.maxHealth = 30;
+
+    Cleric.x = 0x003B;
+    Cleric.y = 0x506E;
+    Cleric.movement = 3;
+    Cleric.rng = 1;
+    Cleric.attack = staff;
+    Cleric.damage = 4;
+    Cleric.defence = 3;
+    Cleric.maxHealth = 10;
+    
+    
+    Beast.x = 0x003B;
+    Beast.y = 0x5070;
+    Beast.movement = 3;
+    Beast.rng = 1;
+    Beast.attack = claws;
+    Beast.damage = 5;
+    Beast.defence = 2;
+    Beast.maxHealth = 15;
+    return;
+    }
+
+
+