aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Changelog6
-rw-r--r--assets/items/flashlight_off.pngbin0 -> 330 bytes
-rw-r--r--config/items.h6
-rw-r--r--src/gameplay.cpp2
4 files changed, 9 insertions, 5 deletions
diff --git a/Changelog b/Changelog
index 44e0bfc..0a44904 100644
--- a/Changelog
+++ b/Changelog
@@ -377,7 +377,7 @@
==========
- re-did fullscreen text (importantText)
- - began doxygening headers
+ - began doxygening headersspin a dreidel
- fixed entity name reading
- fixed entity sprites
@@ -387,6 +387,9 @@
- continued to document header files through doxygen
- added border to dialogBox
- fix entity movement handling; npcs stop when you talk to them
+<<<<<<< HEAD
+ - added sword animation?
+=======
- added sword animation?
12/9/2015,
@@ -408,3 +411,4 @@
- imrpoved BGM handling
- continued work on particles, made a fountain
- added sanic
+>>>>>>> 43bbcf02fd5e4e69a9aa521fa4cd572cc8675cf3
diff --git a/assets/items/flashlight_off.png b/assets/items/flashlight_off.png
new file mode 100644
index 0000000..8f6f204
--- /dev/null
+++ b/assets/items/flashlight_off.png
Binary files differ
diff --git a/config/items.h b/config/items.h
index 9012ff6..ee1024c 100644
--- a/config/items.h
+++ b/config/items.h
@@ -29,10 +29,10 @@ ID PLAYER_BAG
ID FLASHLIGHT
NAME "Flashlight"
TYPE TOOL
- WIDTH HLINE*2
- HEIGHT HLINE*4
+ WIDTH HLINE*4
+ HEIGHT HLINE*8
STACKSIZE 1
- TEX "assets/items/ITEM_TEST.png"
+ TEX "assets/items/flashlight_off.png"
ENI
ID SWORD_WOOD
diff --git a/src/gameplay.cpp b/src/gameplay.cpp
index 74414d7..a9d29c4 100644
--- a/src/gameplay.cpp
+++ b/src/gameplay.cpp
@@ -110,7 +110,7 @@ void initEverything(void){
worldSpawnHill3->setBGM("assets/music/embark.wav");
worldSpawnHill3->addMob(MS_TRIGGER,-500,0,worldSpawnHill3_itemGet);
worldSpawnHill3->addMob(MS_TRIGGER,0,0,worldSpawnHill3_itemSee);
- worldSpawnHill3->addObject(TEST_ITEM,false,"",-200,300);
+ worldSpawnHill3->addObject(FLASHLIGHT,false,"",-200,300);
worldSpawnHill3->addMob(MS_TRIGGER,400,0,worldSpawnHill3_leave);
worldSpawnHill3->addHole(800,1000);