summaryrefslogtreecommitdiff
path: root/Exe
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2018-07-09 22:22:26 +0200
committerXaviDCR92 <xavi.dcr@gmail.com>2018-07-09 22:22:26 +0200
commitcd78b97bceaf6ecbbab6f89631c15ed712878d4d (patch)
treec08c69a651ce91c834aef7b588e1074106315df6 /Exe
parentf0b654b9bf3bc2a93c1f89d4cc3edcf77b948555 (diff)
downloadpocketempires-cd78b97bceaf6ecbbab6f89631c15ed712878d4d.tar.gz
Calls to HumanPlayer and Camera button pressed event handlers are now automatically handled by two const arrays of member functions pointers.
Diffstat (limited to 'Exe')
-rwxr-xr-xExe/POCKET.ELFbin28084 -> 28184 bytes
-rw-r--r--Exe/POCKET.MAP7
2 files changed, 6 insertions, 1 deletions
diff --git a/Exe/POCKET.ELF b/Exe/POCKET.ELF
index 2366d55..85108c7 100755
--- a/Exe/POCKET.ELF
+++ b/Exe/POCKET.ELF
Binary files differ
diff --git a/Exe/POCKET.MAP b/Exe/POCKET.MAP
index 7054ed5..79825c3 100644
--- a/Exe/POCKET.MAP
+++ b/Exe/POCKET.MAP
@@ -1,7 +1,7 @@
Archive member included to satisfy reference by file (symbol)
../lib/libgamebuino.a(Buttons.o)
- Obj/Game.o (_ZN7Buttons8releasedEh)
+ Obj/HumanPlayer.o (_ZN7Buttons7pressedEh)
../lib/libgamebuino.a(Display.o)
Obj/System.o (_ZTV7Display)
../lib/libgamebuino.a(font3x5.o)
@@ -181,6 +181,8 @@ Discarded input sections
.text 0x0000000000000000 0x0 Obj/HumanPlayer.o
.data 0x0000000000000000 0x0 Obj/HumanPlayer.o
.bss 0x0000000000000000 0x0 Obj/HumanPlayer.o
+ .text._ZN11HumanPlayer13buttonHandlerEv
+ 0x0000000000000000 0x152 Obj/HumanPlayer.o
.text._ZN11HumanPlayer16onLeftBtnPressedEv
0x0000000000000000 0x6 Obj/HumanPlayer.o
.text 0x0000000000000000 0x0 Obj/Sprite.o
@@ -200,6 +202,8 @@ Discarded input sections
0x0000000000000000 0x2c Obj/Camera.o
.text._ZN6Camera16onLeftBtnPressedEv
0x0000000000000000 0x2 Obj/Camera.o
+ .text._ZN6Camera17onRightBtnPressedEv
+ 0x0000000000000000 0x2 Obj/Camera.o
.text 0x0000000000000000 0x0 Obj/Unit.o
.data 0x0000000000000000 0x0 Obj/Unit.o
.bss 0x0000000000000000 0x0 Obj/Unit.o
@@ -1323,6 +1327,7 @@ END GROUP
0x000000000000048e 0x16 Obj/System.o
.text._ZN11HumanPlayer11drawHandlerEv
0x00000000000004a4 0x2 Obj/HumanPlayer.o
+ 0x00000000000004a4 _ZN11HumanPlayer13onABtnPressedEv
0x00000000000004a4 _ZN11HumanPlayer11drawHandlerEv
.text._ZN11HumanPlayerC2EPKc
0x00000000000004a6 0x1e Obj/HumanPlayer.o