mirror of
https://github.com/BacioiuC/ndsChaury.git
synced 2025-06-18 16:55:42 -04:00
Fixed a problem with lua reporting errors in float format that will crash the bin on the actual hardware and DesMume emulator.
+ Added build_and_run.sh that uses the ideas emulator for debugging
This commit is contained in:
parent
bb4f3873e8
commit
3d53ec377e
3
Makefile
3
Makefile
@ -1,7 +1,6 @@
|
||||
#---------------------------------------------------------------------------------
|
||||
.SUFFIXES:
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
ifeq ($(strip $(DEVKITARM)),)
|
||||
$(error "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM")
|
||||
endif
|
||||
@ -27,7 +26,7 @@ ARCH := -mthumb -mthumb-interwork -DLUA_32BITS
|
||||
|
||||
CFLAGS := -g -Wall -O2\
|
||||
-march=armv5te -mtune=arm946e-s -fomit-frame-pointer\
|
||||
-ffast-math \
|
||||
-ffast-math -fno-omit-frame-pointer\
|
||||
$(ARCH)
|
||||
|
||||
CFLAGS += $(INCLUDE) -DARM9
|
||||
|
BIN
assets unused/ball.png
Normal file
BIN
assets unused/ball.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 123 B |
BIN
assets unused/field_bottom.png
Normal file
BIN
assets unused/field_bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
assets unused/field_top.png
Normal file
BIN
assets unused/field_top.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
BIN
assets unused/pallet.png
Normal file
BIN
assets unused/pallet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 135 B |
BIN
assets unused/tile_ground_1.png
Normal file
BIN
assets unused/tile_ground_1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 590 B |
BIN
assets unused/tile_ground_2.png
Normal file
BIN
assets unused/tile_ground_2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
197
build/Engine2D.d
Normal file
197
build/Engine2D.d
Normal file
@ -0,0 +1,197 @@
|
||||
Engine2D.o: \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/source/Engine2D.cpp \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/Engine2D.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luascript.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luaconf.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lauxlib.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lualib.h \
|
||||
/opt/devkitpro/libnds/include/nds.h \
|
||||
/opt/devkitpro/libnds/include/nds/libversion.h \
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h \
|
||||
/opt/devkitpro/libnds/include/nds/bios.h \
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h \
|
||||
/opt/devkitpro/libnds/include/nds/card.h \
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h \
|
||||
/opt/devkitpro/libnds/include/nds/debug.h \
|
||||
/opt/devkitpro/libnds/include/nds/dma.h \
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h \
|
||||
/opt/devkitpro/libnds/include/nds/ipc.h \
|
||||
/opt/devkitpro/libnds/include/nds/memory.h \
|
||||
/opt/devkitpro/libnds/include/nds/system.h \
|
||||
/opt/devkitpro/libnds/include/nds/timers.h \
|
||||
/opt/devkitpro/libnds/include/nds/fifocommon.h \
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h \
|
||||
/opt/devkitpro/libnds/include/nds/touch.h \
|
||||
/opt/devkitpro/libnds/include/nds/input.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/linkedlist.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h \
|
||||
/opt/devkitpro/libnds/include/nds/memory.h \
|
||||
/opt/devkitpro/libnds/include/nds/dma.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/boxtest.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/console.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/decompress.h \
|
||||
/opt/devkitpro/libnds/include/nds/bios.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/exceptions.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/guitarGrip.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/input.h \
|
||||
/opt/devkitpro/libnds/include/nds/touch.h \
|
||||
/opt/devkitpro/libnds/include/nds/input.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/keyboard.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/paddle.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/piano.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/rumble.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sound.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h \
|
||||
/opt/devkitpro/libnds/include/nds/system.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/window.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/bgImages.h
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/Engine2D.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luascript.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luaconf.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lauxlib.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lualib.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/libversion.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/bios.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/card.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/debug.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/dma.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ipc.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/memory.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/system.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/timers.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/fifocommon.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/touch.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/input.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/linkedlist.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/memory.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/dma.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/boxtest.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/console.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/decompress.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/bios.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/exceptions.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/guitarGrip.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/input.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/touch.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/input.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/keyboard.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/paddle.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/piano.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/rumble.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sound.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/system.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/window.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/bgImages.h:
|
BIN
build/Engine2D.o
Normal file
BIN
build/Engine2D.o
Normal file
Binary file not shown.
BIN
build/Star.pcx.o
Normal file
BIN
build/Star.pcx.o
Normal file
Binary file not shown.
3
build/Star_pcx.h
Normal file
3
build/Star_pcx.h
Normal file
@ -0,0 +1,3 @@
|
||||
extern const u8 Star_pcx_end[];
|
||||
extern const u8 Star_pcx[];
|
||||
extern const u32 Star_pcx_size;
|
BIN
build/ball.pcx.o
Normal file
BIN
build/ball.pcx.o
Normal file
Binary file not shown.
3
build/ball_pcx.h
Normal file
3
build/ball_pcx.h
Normal file
@ -0,0 +1,3 @@
|
||||
extern const u8 ball_pcx_end[];
|
||||
extern const u8 ball_pcx[];
|
||||
extern const u32 ball_pcx_size;
|
BIN
build/bg_bottom.pcx.o
Normal file
BIN
build/bg_bottom.pcx.o
Normal file
Binary file not shown.
3
build/bg_bottom_pcx.h
Normal file
3
build/bg_bottom_pcx.h
Normal file
@ -0,0 +1,3 @@
|
||||
extern const u8 bg_bottom_pcx_end[];
|
||||
extern const u8 bg_bottom_pcx[];
|
||||
extern const u32 bg_bottom_pcx_size;
|
BIN
build/bg_top.pcx.o
Normal file
BIN
build/bg_top.pcx.o
Normal file
Binary file not shown.
3
build/bg_top_pcx.h
Normal file
3
build/bg_top_pcx.h
Normal file
@ -0,0 +1,3 @@
|
||||
extern const u8 bg_top_pcx_end[];
|
||||
extern const u8 bg_top_pcx[];
|
||||
extern const u32 bg_top_pcx_size;
|
BIN
build/default_tex.pcx.o
Normal file
BIN
build/default_tex.pcx.o
Normal file
Binary file not shown.
3
build/default_tex_pcx.h
Normal file
3
build/default_tex_pcx.h
Normal file
@ -0,0 +1,3 @@
|
||||
extern const u8 default_tex_pcx_end[];
|
||||
extern const u8 default_tex_pcx[];
|
||||
extern const u32 default_tex_pcx_size;
|
212
build/glWrapper.d
Normal file
212
build/glWrapper.d
Normal file
@ -0,0 +1,212 @@
|
||||
glWrapper.o: \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/source/glWrapper.cpp \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luascript.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luaconf.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lauxlib.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lualib.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.hpp \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/glWrapper.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h \
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h \
|
||||
/opt/devkitpro/libnds/include/nds.h \
|
||||
/opt/devkitpro/libnds/include/nds/libversion.h \
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h \
|
||||
/opt/devkitpro/libnds/include/nds/bios.h \
|
||||
/opt/devkitpro/libnds/include/nds/card.h \
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h \
|
||||
/opt/devkitpro/libnds/include/nds/debug.h \
|
||||
/opt/devkitpro/libnds/include/nds/dma.h \
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h \
|
||||
/opt/devkitpro/libnds/include/nds/ipc.h \
|
||||
/opt/devkitpro/libnds/include/nds/memory.h \
|
||||
/opt/devkitpro/libnds/include/nds/system.h \
|
||||
/opt/devkitpro/libnds/include/nds/timers.h \
|
||||
/opt/devkitpro/libnds/include/nds/fifocommon.h \
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h \
|
||||
/opt/devkitpro/libnds/include/nds/touch.h \
|
||||
/opt/devkitpro/libnds/include/nds/input.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/linkedlist.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h \
|
||||
/opt/devkitpro/libnds/include/nds/memory.h \
|
||||
/opt/devkitpro/libnds/include/nds/dma.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/boxtest.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/console.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/decompress.h \
|
||||
/opt/devkitpro/libnds/include/nds/bios.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/exceptions.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/guitarGrip.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/input.h \
|
||||
/opt/devkitpro/libnds/include/nds/touch.h \
|
||||
/opt/devkitpro/libnds/include/nds/input.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/keyboard.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/paddle.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/piano.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/rumble.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sound.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h \
|
||||
/opt/devkitpro/libnds/include/nds/system.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/window.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h \
|
||||
/opt/devkitpro/libnds/include/filesystem.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/build/ball_pcx.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/build/tile_ground_1_pcx.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/build/tile_ground_2_pcx.h
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luascript.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luaconf.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lauxlib.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lualib.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.hpp:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/glWrapper.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/libversion.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/bios.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/card.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/debug.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/dma.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ipc.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/memory.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/system.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/timers.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/fifocommon.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/touch.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/input.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/linkedlist.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/memory.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/dma.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/boxtest.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/console.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/decompress.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/bios.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/exceptions.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/guitarGrip.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/input.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/touch.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/input.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/keyboard.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/paddle.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/piano.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/rumble.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sound.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/system.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/window.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/filesystem.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/build/ball_pcx.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/build/tile_ground_1_pcx.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/build/tile_ground_2_pcx.h:
|
BIN
build/glWrapper.o
Normal file
BIN
build/glWrapper.o
Normal file
Binary file not shown.
200
build/input.d
Normal file
200
build/input.d
Normal file
@ -0,0 +1,200 @@
|
||||
input.o: \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/source/input.cpp \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/input.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luascript.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luaconf.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lauxlib.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lualib.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h \
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h \
|
||||
/opt/devkitpro/libnds/include/nds.h \
|
||||
/opt/devkitpro/libnds/include/nds/libversion.h \
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h \
|
||||
/opt/devkitpro/libnds/include/nds/bios.h \
|
||||
/opt/devkitpro/libnds/include/nds/card.h \
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h \
|
||||
/opt/devkitpro/libnds/include/nds/debug.h \
|
||||
/opt/devkitpro/libnds/include/nds/dma.h \
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h \
|
||||
/opt/devkitpro/libnds/include/nds/ipc.h \
|
||||
/opt/devkitpro/libnds/include/nds/memory.h \
|
||||
/opt/devkitpro/libnds/include/nds/system.h \
|
||||
/opt/devkitpro/libnds/include/nds/timers.h \
|
||||
/opt/devkitpro/libnds/include/nds/fifocommon.h \
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h \
|
||||
/opt/devkitpro/libnds/include/nds/touch.h \
|
||||
/opt/devkitpro/libnds/include/nds/input.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/linkedlist.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h \
|
||||
/opt/devkitpro/libnds/include/nds/memory.h \
|
||||
/opt/devkitpro/libnds/include/nds/dma.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/boxtest.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/console.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/decompress.h \
|
||||
/opt/devkitpro/libnds/include/nds/bios.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/exceptions.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/guitarGrip.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/input.h \
|
||||
/opt/devkitpro/libnds/include/nds/touch.h \
|
||||
/opt/devkitpro/libnds/include/nds/input.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/keyboard.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/paddle.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/piano.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/rumble.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sound.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h \
|
||||
/opt/devkitpro/libnds/include/nds/system.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/window.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.hpp
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/input.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luascript.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luaconf.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lauxlib.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lualib.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/libversion.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/bios.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/card.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/debug.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/dma.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ipc.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/memory.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/system.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/timers.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/fifocommon.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/touch.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/input.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/linkedlist.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/memory.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/dma.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/boxtest.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/console.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/decompress.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/bios.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/exceptions.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/guitarGrip.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/input.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/touch.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/input.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/keyboard.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/paddle.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/piano.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/rumble.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sound.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/system.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/window.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.hpp:
|
BIN
build/input.o
Normal file
BIN
build/input.o
Normal file
Binary file not shown.
BIN
build/inventory_bottom_header.pcx.o
Normal file
BIN
build/inventory_bottom_header.pcx.o
Normal file
Binary file not shown.
3
build/inventory_bottom_header_pcx.h
Normal file
3
build/inventory_bottom_header_pcx.h
Normal file
@ -0,0 +1,3 @@
|
||||
extern const u8 inventory_bottom_header_pcx_end[];
|
||||
extern const u8 inventory_bottom_header_pcx[];
|
||||
extern const u32 inventory_bottom_header_pcx_size;
|
17
build/luascript.d
Normal file
17
build/luascript.d
Normal file
@ -0,0 +1,17 @@
|
||||
luascript.o: \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/source/luascript.cpp \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luascript.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luaconf.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lauxlib.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lualib.h
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luascript.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luaconf.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lauxlib.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lualib.h:
|
BIN
build/luascript.o
Normal file
BIN
build/luascript.o
Normal file
Binary file not shown.
215
build/main.d
Normal file
215
build/main.d
Normal file
@ -0,0 +1,215 @@
|
||||
main.o: \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/source/main.cpp \
|
||||
/opt/devkitpro/libnds/include/nds.h \
|
||||
/opt/devkitpro/libnds/include/nds/libversion.h \
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h \
|
||||
/opt/devkitpro/libnds/include/nds/bios.h \
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h \
|
||||
/opt/devkitpro/libnds/include/nds/card.h \
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h \
|
||||
/opt/devkitpro/libnds/include/nds/debug.h \
|
||||
/opt/devkitpro/libnds/include/nds/dma.h \
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h \
|
||||
/opt/devkitpro/libnds/include/nds/ipc.h \
|
||||
/opt/devkitpro/libnds/include/nds/memory.h \
|
||||
/opt/devkitpro/libnds/include/nds/system.h \
|
||||
/opt/devkitpro/libnds/include/nds/timers.h \
|
||||
/opt/devkitpro/libnds/include/nds/fifocommon.h \
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h \
|
||||
/opt/devkitpro/libnds/include/nds/touch.h \
|
||||
/opt/devkitpro/libnds/include/nds/input.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/linkedlist.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h \
|
||||
/opt/devkitpro/libnds/include/nds/memory.h \
|
||||
/opt/devkitpro/libnds/include/nds/dma.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/boxtest.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/console.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/decompress.h \
|
||||
/opt/devkitpro/libnds/include/nds/bios.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/exceptions.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/guitarGrip.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/input.h \
|
||||
/opt/devkitpro/libnds/include/nds/touch.h \
|
||||
/opt/devkitpro/libnds/include/nds/input.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/keyboard.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/paddle.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/piano.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/rumble.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sound.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h \
|
||||
/opt/devkitpro/libnds/include/nds/system.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/window.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.hpp \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luaconf.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lualib.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lauxlib.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lauxlib.h \
|
||||
/opt/devkitpro/libnds/include/filesystem.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luascript.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/Engine2D.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/glWrapper.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/spriteBatch.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/input.h
|
||||
|
||||
/opt/devkitpro/libnds/include/nds.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/libversion.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/bios.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/card.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/debug.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/dma.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ipc.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/memory.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/system.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/timers.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/fifocommon.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/touch.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/input.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/linkedlist.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/memory.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/dma.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/boxtest.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/console.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/decompress.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/bios.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/exceptions.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/guitarGrip.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/input.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/touch.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/input.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/keyboard.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/paddle.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/piano.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/rumble.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sound.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/system.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/window.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.hpp:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luaconf.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lualib.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lauxlib.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lauxlib.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/filesystem.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luascript.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/Engine2D.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/glWrapper.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/spriteBatch.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/input.h:
|
BIN
build/main.o
Normal file
BIN
build/main.o
Normal file
Binary file not shown.
32633
build/ndsChaury-master.map
Normal file
32633
build/ndsChaury-master.map
Normal file
File diff suppressed because it is too large
Load Diff
BIN
build/pallet.pcx.o
Normal file
BIN
build/pallet.pcx.o
Normal file
Binary file not shown.
3
build/pallet_pcx.h
Normal file
3
build/pallet_pcx.h
Normal file
@ -0,0 +1,3 @@
|
||||
extern const u8 pallet_pcx_end[];
|
||||
extern const u8 pallet_pcx[];
|
||||
extern const u32 pallet_pcx_size;
|
BIN
build/slot.pcx.o
Normal file
BIN
build/slot.pcx.o
Normal file
Binary file not shown.
3
build/slot_pcx.h
Normal file
3
build/slot_pcx.h
Normal file
@ -0,0 +1,3 @@
|
||||
extern const u8 slot_pcx_end[];
|
||||
extern const u8 slot_pcx[];
|
||||
extern const u32 slot_pcx_size;
|
203
build/spriteBatch.d
Normal file
203
build/spriteBatch.d
Normal file
@ -0,0 +1,203 @@
|
||||
spriteBatch.o: \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/source/spriteBatch.cpp \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/spriteBatch.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luascript.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luaconf.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lauxlib.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lualib.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h \
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.hpp \
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/glWrapper.h \
|
||||
/opt/devkitpro/libnds/include/nds.h \
|
||||
/opt/devkitpro/libnds/include/nds/libversion.h \
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h \
|
||||
/opt/devkitpro/libnds/include/nds/bios.h \
|
||||
/opt/devkitpro/libnds/include/nds/card.h \
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h \
|
||||
/opt/devkitpro/libnds/include/nds/debug.h \
|
||||
/opt/devkitpro/libnds/include/nds/dma.h \
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h \
|
||||
/opt/devkitpro/libnds/include/nds/ipc.h \
|
||||
/opt/devkitpro/libnds/include/nds/memory.h \
|
||||
/opt/devkitpro/libnds/include/nds/system.h \
|
||||
/opt/devkitpro/libnds/include/nds/timers.h \
|
||||
/opt/devkitpro/libnds/include/nds/fifocommon.h \
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h \
|
||||
/opt/devkitpro/libnds/include/nds/touch.h \
|
||||
/opt/devkitpro/libnds/include/nds/input.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/linkedlist.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h \
|
||||
/opt/devkitpro/libnds/include/nds/memory.h \
|
||||
/opt/devkitpro/libnds/include/nds/dma.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/boxtest.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/console.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/decompress.h \
|
||||
/opt/devkitpro/libnds/include/nds/bios.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/exceptions.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/guitarGrip.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/input.h \
|
||||
/opt/devkitpro/libnds/include/nds/touch.h \
|
||||
/opt/devkitpro/libnds/include/nds/input.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/keyboard.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/paddle.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/piano.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/rumble.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sound.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h \
|
||||
/opt/devkitpro/libnds/include/nds/system.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/window.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h \
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/spriteBatch.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luascript.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/luaconf.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lauxlib.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lualib.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/lua.hpp:
|
||||
|
||||
/home/zapa/opportunity_engine/resources/ndsChaury-master/include/glWrapper.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/libversion.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/bios.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/card.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ndstypes.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/debug.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/dma.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/ipc.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/memory.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/system.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/timers.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/fifocommon.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/interrupts.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/touch.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/input.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/linkedlist.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/memory.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/dma.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/boxtest.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/dynamicArray.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/cache.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/console.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/background.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/decompress.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/bios.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/exceptions.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/guitarGrip.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/image.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/input.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/touch.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/input.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/keyboard.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/math.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/paddle.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/pcx.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/piano.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/rumble.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sassert.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sound.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/system.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/window.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/sprite.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/trig_lut.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/video.h:
|
||||
|
||||
/opt/devkitpro/libnds/include/nds/arm9/videoGL.h:
|
BIN
build/spriteBatch.o
Normal file
BIN
build/spriteBatch.o
Normal file
Binary file not shown.
BIN
build/sword.pcx.o
Normal file
BIN
build/sword.pcx.o
Normal file
Binary file not shown.
3
build/sword_pcx.h
Normal file
3
build/sword_pcx.h
Normal file
@ -0,0 +1,3 @@
|
||||
extern const u8 sword_pcx_end[];
|
||||
extern const u8 sword_pcx[];
|
||||
extern const u32 sword_pcx_size;
|
BIN
build/texture.bin.o
Normal file
BIN
build/texture.bin.o
Normal file
Binary file not shown.
3
build/texture_bin.h
Normal file
3
build/texture_bin.h
Normal file
@ -0,0 +1,3 @@
|
||||
extern const u8 texture_bin_end[];
|
||||
extern const u8 texture_bin[];
|
||||
extern const u32 texture_bin_size;
|
BIN
build/tile_ground_1.pcx.o
Normal file
BIN
build/tile_ground_1.pcx.o
Normal file
Binary file not shown.
3
build/tile_ground_1_pcx.h
Normal file
3
build/tile_ground_1_pcx.h
Normal file
@ -0,0 +1,3 @@
|
||||
extern const u8 tile_ground_1_pcx_end[];
|
||||
extern const u8 tile_ground_1_pcx[];
|
||||
extern const u32 tile_ground_1_pcx_size;
|
BIN
build/tile_ground_2.pcx.o
Normal file
BIN
build/tile_ground_2.pcx.o
Normal file
Binary file not shown.
3
build/tile_ground_2_pcx.h
Normal file
3
build/tile_ground_2_pcx.h
Normal file
@ -0,0 +1,3 @@
|
||||
extern const u8 tile_ground_2_pcx_end[];
|
||||
extern const u8 tile_ground_2_pcx[];
|
||||
extern const u32 tile_ground_2_pcx_size;
|
BIN
build/twitter.pcx.o
Normal file
BIN
build/twitter.pcx.o
Normal file
Binary file not shown.
3
build/twitter_pcx.h
Normal file
3
build/twitter_pcx.h
Normal file
@ -0,0 +1,3 @@
|
||||
extern const u8 twitter_pcx_end[];
|
||||
extern const u8 twitter_pcx[];
|
||||
extern const u32 twitter_pcx_size;
|
BIN
build/zapah.pcx.o
Normal file
BIN
build/zapah.pcx.o
Normal file
Binary file not shown.
3
build/zapah_pcx.h
Normal file
3
build/zapah_pcx.h
Normal file
@ -0,0 +1,3 @@
|
||||
extern const u8 zapah_pcx_end[];
|
||||
extern const u8 zapah_pcx[];
|
||||
extern const u32 zapah_pcx_size;
|
5
build_and_run.sh
Executable file
5
build_and_run.sh
Executable file
@ -0,0 +1,5 @@
|
||||
export DEVKITPRO=/opt/devkitpro
|
||||
export DEVKITARM=$DEVKITPRO/devkitARM
|
||||
make clean
|
||||
make
|
||||
./ideas ndsChaury-master.nds
|
BIN
data/ball.pcx
Normal file
BIN
data/ball.pcx
Normal file
Binary file not shown.
Binary file not shown.
BIN
data/bg_top.pcx
BIN
data/bg_top.pcx
Binary file not shown.
BIN
data/pallet.pcx
Normal file
BIN
data/pallet.pcx
Normal file
Binary file not shown.
BIN
data/tile_ground_1.pcx
Normal file
BIN
data/tile_ground_1.pcx
Normal file
Binary file not shown.
BIN
data/tile_ground_2.pcx
Normal file
BIN
data/tile_ground_2.pcx
Normal file
Binary file not shown.
@ -6,6 +6,28 @@
|
||||
#include <lua.hpp>
|
||||
#include <list>
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
||||
int width; /*!< Width of the Sprite */
|
||||
int height; /*!< Height of the Sprite */
|
||||
int u_off; /*!< S texture offset */
|
||||
int v_off; /*!< T texture offset */
|
||||
int textureID; /*!< Texture handle ( used in glDeleteTextures() ) <Br>
|
||||
The texture handle in VRAM (returned by glGenTextures()) <Br>
|
||||
ie. This references the actual texture stored in VRAM */
|
||||
|
||||
} glImage;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
|
||||
GL_FLIP_NONE = (1 << 0), /*!< No flipping */
|
||||
GL_FLIP_V = (1 << 1), /*!< Sprite is rendered vertically flipped */
|
||||
GL_FLIP_H = (1 << 2), /*!< Sprite is rendered horizontally flipped */
|
||||
|
||||
} GL_FLIP_MODE;
|
||||
|
||||
class Sprite {
|
||||
public:
|
||||
Sprite( );
|
||||
|
@ -407,7 +407,7 @@
|
||||
#define LUAI_UACNUMBER double
|
||||
|
||||
#define LUA_NUMBER_FRMLEN ""
|
||||
#define LUA_NUMBER_FMT "%.7g"
|
||||
#define LUA_NUMBER_FMT "%d"
|
||||
|
||||
#define l_mathop(op) op##f
|
||||
|
||||
@ -421,7 +421,7 @@
|
||||
#define LUAI_UACNUMBER long double
|
||||
|
||||
#define LUA_NUMBER_FRMLEN "L"
|
||||
#define LUA_NUMBER_FMT "%.19Lg"
|
||||
#define LUA_NUMBER_FMT "%d"
|
||||
|
||||
#define l_mathop(op) op##l
|
||||
|
||||
@ -434,7 +434,7 @@
|
||||
#define LUAI_UACNUMBER double
|
||||
|
||||
#define LUA_NUMBER_FRMLEN ""
|
||||
#define LUA_NUMBER_FMT "%.14g"
|
||||
#define LUA_NUMBER_FMT "%d"
|
||||
|
||||
#define l_mathop(op) op
|
||||
|
||||
@ -449,7 +449,7 @@
|
||||
|
||||
#define l_floor(x) (l_mathop(floor)(x))
|
||||
|
||||
#define lua_number2str(s,n) sprintf((s), LUA_NUMBER_FMT, (n))
|
||||
#define lua_number2str(s,n) sprintf((s), "", (n))
|
||||
|
||||
|
||||
/*
|
||||
|
@ -22,6 +22,8 @@ public:
|
||||
void getGlobal(std::string global);
|
||||
int getTop();
|
||||
bool isFunction();
|
||||
bool LualExecutionIsOk = false;
|
||||
bool GetExecutionStatus( );
|
||||
void call( );
|
||||
lua_State* getLuaState( );
|
||||
void loadFile(const std::string& filename);
|
||||
@ -141,4 +143,6 @@ inline std::string LuaScript::lua_getdefault<std::string>() {
|
||||
return "null";
|
||||
}
|
||||
|
||||
static int traceback(lua_State *L);
|
||||
|
||||
#endif
|
||||
|
BIN
lib/liblua.a
BIN
lib/liblua.a
Binary file not shown.
21
log.txt
Normal file
21
log.txt
Normal file
@ -0,0 +1,21 @@
|
||||
Microphone init failed.
|
||||
DeSmuME 0.9.11 svn0 dev+ x64-JIT
|
||||
Found 1 joysticks
|
||||
Joystick 0 Microsoft Microsoft® SideWinder™ X3 Mouse
|
||||
Axes: 36
|
||||
Buttons: 11
|
||||
Trackballs: 0
|
||||
Hats: 0
|
||||
|
||||
SoftRast Initialized with cores=4
|
||||
|
||||
ROM game code: ####
|
||||
ROM developer: Homebrew
|
||||
|
||||
Sorry.. right now, you can't use the default (stream rom from disk) with homebrew due to a bug with DLDI-autopatchingSlot1 auto-selected device type: Retail MC+ROM
|
||||
Slot2 auto-selected device type: PassME (0x08)
|
||||
CPU mode: Interpreter
|
||||
MMU9 write32 to undefined register 04001058h = 00000000h (PC:0202B9A2)
|
||||
MMU7 write32 to undefined register 04000218h = 00000000h (PC:03802AD8)
|
||||
MMU7 write32 to undefined register 0400021Ch = FFFFFFFFh (PC:03802ADC)
|
||||
MMU7 write32 to undefined register 04000218h = 00000040h (PC:03802C74)
|
@ -1,8 +0,0 @@
|
||||
{
|
||||
"folders":
|
||||
[
|
||||
{
|
||||
"path": "/D/devkitPro/examples/nds/lua"
|
||||
}
|
||||
]
|
||||
}
|
BIN
ndsChaury-master.elf
Executable file
BIN
ndsChaury-master.elf
Executable file
Binary file not shown.
BIN
ndsChaury-master.nds
Normal file
BIN
ndsChaury-master.nds
Normal file
Binary file not shown.
@ -1,42 +1,22 @@
|
||||
DEFAULT_TEX = 0
|
||||
BG_TOP_TEX = 1
|
||||
BG_BOTTOM_TEX = 2
|
||||
SLOT_PCX_TEX = 3
|
||||
ZAPA_PCX_TEX = 4
|
||||
INVENTORY_BOTTOM_HEADER_TEX = 5
|
||||
SWORD_PCX_TEX = 6
|
||||
ground_tile_1 = 0
|
||||
ground_tile_2 = 1
|
||||
|
||||
OFFSET_X = 128
|
||||
OFFSET_Y = - 96
|
||||
GRID_SIZE = 32
|
||||
|
||||
function awake( )
|
||||
--debug.debug ()
|
||||
package.path = ""
|
||||
--dofile("core/renderTable.lua")
|
||||
--dofile("inventory/inventory.lua")
|
||||
--dofile("inventory/item.lua")
|
||||
mapSizeX = 10
|
||||
mapSizeY = 6
|
||||
|
||||
|
||||
map = { }
|
||||
function awake( )
|
||||
package.path = ""
|
||||
--dofile("test1.lua")
|
||||
end
|
||||
|
||||
local i = 0
|
||||
|
||||
local mySprite
|
||||
local topTable = { }
|
||||
local bottomTable = { }
|
||||
local myTable = { }
|
||||
TouchPressed = false
|
||||
|
||||
grid = { }
|
||||
gridTable = { }
|
||||
|
||||
nrSprites = 0
|
||||
|
||||
inputMgr = nil
|
||||
local myBatch
|
||||
local myBatch2
|
||||
local timer = 0
|
||||
function start( )
|
||||
|
||||
|
||||
@ -45,102 +25,49 @@ function start( )
|
||||
priority = 0,
|
||||
}
|
||||
temp.sprite:newSprite(0, 0, 256, 192, -15, 4, 5)
|
||||
temp.sprite:setTexture(BG_TOP_TEX)
|
||||
temp.sprite:setTexture(ground_tile_1)
|
||||
--renderTable:add(temp.sprite, 1, 1, 1)
|
||||
table.insert(topTable, temp)
|
||||
|
||||
local temp = {
|
||||
sprite = Sprite.new( ),
|
||||
priority = 0,
|
||||
}
|
||||
temp.sprite:newSprite(0, 0, 256, 192, -15, 4, 5)
|
||||
temp.sprite:setTexture(BG_BOTTOM_TEX)
|
||||
table.insert(bottomTable, temp)
|
||||
|
||||
|
||||
|
||||
|
||||
inputMgr = Input.new( ) -- get our Input started
|
||||
|
||||
myBatch = spriteBatch.new( )
|
||||
myBatch2 = spriteBatch.new( )
|
||||
newSprite( )
|
||||
generateGround( )
|
||||
|
||||
end
|
||||
|
||||
function newSprite( )
|
||||
local x = math.random(1, 8)
|
||||
local y = math.random(1, 6)
|
||||
local temp = {
|
||||
sprite = Sprite.new( ),
|
||||
on = true,
|
||||
_x = x,
|
||||
_y = y,
|
||||
timeStep = 0,
|
||||
startTimer = 0,
|
||||
}
|
||||
temp.sprite:newSprite(x*32-32, y*32-32, 32, 32, -4, 4, 5)
|
||||
temp.sprite:setX(x*32-32)
|
||||
temp.sprite:setY(y*32-32)
|
||||
temp.sprite:setTexture(ZAPA_PCX_TEX)
|
||||
--table.insert(myTable, temp)
|
||||
nrSprites = nrSprites + 1
|
||||
local a = math.random(1, 2)
|
||||
if a == 1 then
|
||||
myBatch:add(temp.sprite, x*32-32, y*32-32, 32, 32, -4)
|
||||
else
|
||||
myBatch2:add(temp.sprite, x*32-32, y*32-32, 32, 32, -4)
|
||||
function generateGround( )
|
||||
for x = 1, mapSizeX do
|
||||
map[x] = { }
|
||||
for y = 1, mapSizeY do
|
||||
local temp = {
|
||||
sprite = Sprite.new( ),
|
||||
priority = 0,
|
||||
}
|
||||
temp.sprite:newSprite(x*32-32, y*32-32, 32, 32, -15, 4, 5)
|
||||
texture = ground_tile_1;
|
||||
|
||||
if(math.random(1,2) == 2) then
|
||||
texture = ground_tile_2
|
||||
end
|
||||
temp.sprite:setTexture(texture)
|
||||
map[x][y] = temp
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
function createGridOfSlots( )
|
||||
|
||||
end
|
||||
|
||||
function handleInput(_px, _py)
|
||||
--items:handleInput(_px, _py)
|
||||
if TouchPressed == true then
|
||||
newSprite( )
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
function renderTop( )
|
||||
|
||||
--print("LOOPING")
|
||||
--SpriteClass:update( )
|
||||
for i,v in ipairs(topTable) do
|
||||
v.sprite:update( )
|
||||
for x = 1, mapSizeX do
|
||||
for y = 1, mapSizeY do
|
||||
map[x][y].sprite:update( );
|
||||
end
|
||||
end
|
||||
--renderTable:render(1)
|
||||
print("NR Sprites: "..nrSprites.." ")
|
||||
if nrSprites < 1000 then
|
||||
newSprite( )
|
||||
end
|
||||
|
||||
|
||||
myBatch:render( )
|
||||
--mySlot:update( )
|
||||
end
|
||||
|
||||
|
||||
function renderBottom( )
|
||||
|
||||
for i,v in ipairs(bottomTable) do
|
||||
|
||||
v.sprite:update( )
|
||||
end
|
||||
|
||||
|
||||
inputMgr:touchLoop()
|
||||
|
||||
TouchPressed = inputMgr:getTouchState( )
|
||||
|
||||
|
||||
handleInput(inputMgr:getX( ), inputMgr:getY( ))
|
||||
myBatch2:render( )
|
||||
|
||||
|
||||
end
|
||||
|
||||
@ -152,3 +79,4 @@ end
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -34,4 +34,5 @@ function start_new( )
|
||||
print("AAAA")
|
||||
print("AAAA")
|
||||
print("AAAA")
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -12,14 +12,9 @@
|
||||
|
||||
#include <typeinfo>
|
||||
// Graphics includes
|
||||
#include "slot_pcx.h"
|
||||
#include "default_tex_pcx.h"
|
||||
#include "zapah_pcx.h"
|
||||
#include "twitter_pcx.h"
|
||||
#include "bg_top_pcx.h"
|
||||
#include "bg_bottom_pcx.h"
|
||||
#include "inventory_bottom_header_pcx.h"
|
||||
#include "sword_pcx.h"
|
||||
#include "ball_pcx.h"
|
||||
#include "tile_ground_1_pcx.h"
|
||||
#include "tile_ground_2_pcx.h"
|
||||
|
||||
int textureID;
|
||||
using namespace std;
|
||||
@ -31,9 +26,75 @@ float LightAmbient[]= { 0.5f, 0.5f, 0.5f, 1.0f };
|
||||
float LightDiffuse[]= { 1.0f, 1.0f, 1.0f, 1.0f };
|
||||
float LightPosition[]= { 0.0f, 0.0f, 2.0f, 1.0f };
|
||||
|
||||
static int gCurrentTexture = 0;
|
||||
|
||||
|
||||
|
||||
static inline void gxVertex3i(v16 x, v16 y, v16 z)
|
||||
{
|
||||
GFX_VERTEX16 = (y << 16) | (x & 0xFFFF);
|
||||
GFX_VERTEX16 = ((uint32)(uint16)z);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
|
||||
Again no gxVertex2i() in the videoGL header
|
||||
This is used for optimizing vertex calls
|
||||
|
||||
******************************************************************************/
|
||||
static inline void gxVertex2i(v16 x, v16 y)
|
||||
{
|
||||
GFX_VERTEX_XY = (y << 16) | (x & 0xFFFF);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
|
||||
Almost a direct copy of TEXTURE_PACK except that
|
||||
UV coords are shifted left by 4 bits.
|
||||
U and V are shifted left by 4 bits
|
||||
since GFX_TEX_COORD expects 12.4 Fixed point values
|
||||
|
||||
******************************************************************************/
|
||||
static inline void gxTexcoord2i(t16 u, t16 v)
|
||||
{
|
||||
GFX_TEX_COORD = (v << 20) | ( (u << 4) & 0xFFFF );
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
|
||||
I made this since the scale wrappers are either the
|
||||
vectorized mode or does not permit you to scale only
|
||||
the axis you want to scale. Needed for sprite scaling.
|
||||
|
||||
******************************************************************************/
|
||||
static inline void gxScalef32(s32 x, s32 y, s32 z)
|
||||
{
|
||||
MATRIX_SCALE = x;
|
||||
MATRIX_SCALE = y;
|
||||
MATRIX_SCALE = z;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
|
||||
I this made for future naming conflicts.
|
||||
|
||||
******************************************************************************/
|
||||
static inline void gxTranslate3f32( int32 x, int32 y, int32 z )
|
||||
{
|
||||
MATRIX_TRANSLATE = x;
|
||||
MATRIX_TRANSLATE = y;
|
||||
MATRIX_TRANSLATE = z;
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------------
|
||||
@ -180,6 +241,7 @@ void _glEnd( )
|
||||
glPopMatrix( 1 );
|
||||
glMatrixMode( GL_MODELVIEW );
|
||||
glPopMatrix( 1 );
|
||||
|
||||
}
|
||||
|
||||
int RandomNumber(int min, int max){
|
||||
@ -187,6 +249,7 @@ int RandomNumber(int min, int max){
|
||||
int randNum;
|
||||
randNum = -min+(rand()%min);
|
||||
return randNum;
|
||||
|
||||
}
|
||||
|
||||
int texture[7];
|
||||
@ -200,7 +263,7 @@ int* returnTextureArray( )
|
||||
int LoadGLTextures() {
|
||||
|
||||
|
||||
int imgSz = 7;
|
||||
int imgSz = 2;
|
||||
const unsigned char* img[imgSz];
|
||||
|
||||
/*
|
||||
@ -210,13 +273,14 @@ int LoadGLTextures() {
|
||||
#include "twitter_pcx.h"
|
||||
#include "bg_top_pcx.h"
|
||||
*/
|
||||
img[0] = default_tex_pcx;
|
||||
img[1] = bg_top_pcx;
|
||||
img[0] = tile_ground_1_pcx;
|
||||
img[1] = tile_ground_2_pcx;
|
||||
/*img[1] = bg_top_pcx;
|
||||
img[2] = bg_bottom_pcx;
|
||||
img[3] = slot_pcx;
|
||||
img[4] = zapah_pcx;
|
||||
img[3] = ball_pcx;
|
||||
img[4] = pallet_pcx;
|
||||
img[5] = inventory_bottom_header_pcx;
|
||||
img[6] = sword_pcx;
|
||||
img[6] = sword_pcx;*/
|
||||
|
||||
/*
|
||||
TEXTURE_SIZE_8 = 0,
|
||||
@ -238,13 +302,14 @@ int LoadGLTextures() {
|
||||
TextureSize[5] = TEXTURE_SIZE_256;
|
||||
TextureSize[6] = TEXTURE_SIZE_512;
|
||||
TextureSize[7] = TEXTURE_SIZE_1024;*/
|
||||
TextureSize[0] = TEXTURE_SIZE_8;
|
||||
TextureSize[1] = TEXTURE_SIZE_128;
|
||||
TextureSize[0] = TEXTURE_SIZE_32;
|
||||
TextureSize[1] = TEXTURE_SIZE_32;
|
||||
/*TextureSize[1] = TEXTURE_SIZE_128;
|
||||
TextureSize[2] = TEXTURE_SIZE_128;
|
||||
TextureSize[3] = TEXTURE_SIZE_32;
|
||||
TextureSize[4] = TEXTURE_SIZE_128;
|
||||
TextureSize[4] = TEXTURE_SIZE_32;
|
||||
TextureSize[5] = TEXTURE_SIZE_8;
|
||||
TextureSize[6] = TEXTURE_SIZE_32;
|
||||
TextureSize[6] = TEXTURE_SIZE_32;*/
|
||||
|
||||
//load our texture
|
||||
// (NEW) and different from nehe.
|
||||
@ -387,8 +452,6 @@ void Sprite::setTexture(int _texID)
|
||||
texID = _texID;
|
||||
}
|
||||
|
||||
//void Sprite::destroyTexture(int
|
||||
|
||||
void Sprite::newSprite(int _x, int _y, int _width, int _height, int _z, int _id)
|
||||
{
|
||||
//LoadGLTextures(imgToUse, texSize);
|
||||
@ -556,6 +619,8 @@ int l_Sprite_newSprite(lua_State * l)
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
int l_Sprite_update(lua_State * l)
|
||||
{
|
||||
Sprite * sprite = l_CheckSprite(l, 1);
|
||||
|
@ -1,28 +1,52 @@
|
||||
#include "LuaScript.h"
|
||||
#include "luascript.h"
|
||||
|
||||
|
||||
|
||||
LuaScript::LuaScript(const std::string& filename) {
|
||||
L = luaL_newstate();
|
||||
if (luaL_loadfile(L, filename.c_str()) || lua_pcall(L, 0, 0, 0)) {
|
||||
std::cout<<"Error: failed to load ("<<filename<<")"<<std::endl;
|
||||
L = 0;
|
||||
}
|
||||
|
||||
|
||||
if(L) luaL_openlibs(L);
|
||||
|
||||
|
||||
}
|
||||
|
||||
LuaScript::~LuaScript() {
|
||||
if(L) lua_close(L);
|
||||
}
|
||||
|
||||
bool LuaScript::GetExecutionStatus( )
|
||||
{
|
||||
return LualExecutionIsOk;
|
||||
}
|
||||
|
||||
void LuaScript::loadFile(const std::string& fileName)
|
||||
{
|
||||
|
||||
if (luaL_loadfile(L, filename.c_str()) || lua_pcall(L, 0, 0, 0))
|
||||
{
|
||||
std::cout<<"Error 2: failed to load ("<<filename<<")"<<std::endl;
|
||||
//L = 0;
|
||||
int status = luaL_loadfile(L, fileName.c_str());
|
||||
if (status) {
|
||||
std::cout<<"ERROR RIGHT HERE"<<std::endl;
|
||||
LualExecutionIsOk = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
std::cout<<"FORWARD"<<std::endl;
|
||||
|
||||
int error = lua_pcall(L, 0, 0, 0);
|
||||
std::cout << "Error is: "<<error<<std::endl;
|
||||
if( error != 0 )
|
||||
{
|
||||
LualExecutionIsOk = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
LualExecutionIsOk = true;
|
||||
|
||||
}
|
||||
|
||||
if(L) luaL_openlibs(L);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
void LuaScript::printError(const std::string& variableName, const std::string& reason) {
|
||||
@ -34,6 +58,16 @@ lua_State* LuaScript::getLuaState( )
|
||||
return L;
|
||||
}
|
||||
|
||||
static int traceback(lua_State *L) {
|
||||
lua_getfield(L, LUA_RIDX_GLOBALS, "debug");
|
||||
lua_getfield(L, -1, "traceback");
|
||||
lua_pushvalue(L, 1);
|
||||
lua_pushinteger(L, 2);
|
||||
lua_call(L, 2, 1);
|
||||
fprintf(stderr, "%s\n", lua_tostring(L, -1));
|
||||
return 1;
|
||||
}
|
||||
|
||||
void LuaScript::pushFunction( lua_CFunction f, std::string globalName)
|
||||
{
|
||||
lua_pushcfunction(L, f);
|
||||
|
155
source/main.cpp
155
source/main.cpp
@ -134,56 +134,68 @@ int main(void) {
|
||||
vramSetBankF(VRAM_F_MAIN_BG);
|
||||
//consoleInit(0, 1, BgType_Text4bpp, BgSize_T_256x256, 7,0, true, true);
|
||||
consoleInit(0,1, BgType_Text4bpp, BgSize_T_256x256, 7,0, true, true);
|
||||
|
||||
//consoleDebugInit(DebugDevice_CONSOLE);
|
||||
LoadGLTextures();
|
||||
|
||||
//Sprite myQuad;
|
||||
//myQuad.newSprite(-4, 0, 4, 4, -1, 4, 5);
|
||||
|
||||
//Sprite myQuad2;
|
||||
//myQuad2.newSprite(0, 0, 4, 4, -1, 4, 5);
|
||||
//lcdMainOnBottom();
|
||||
|
||||
glPolyFmt(POLY_ALPHA(31) | POLY_CULL_BACK | POLY_FORMAT_LIGHT0);
|
||||
/*
|
||||
Init NitroFS
|
||||
*/
|
||||
nitroFSInit(NULL);
|
||||
|
||||
//Write some test files
|
||||
|
||||
|
||||
FILE *fp;
|
||||
|
||||
fp = fopen("test.txt", "w+");
|
||||
fprintf(fp, "This is testing for fprintf...\n");
|
||||
fputs("This is testing for fputs...\n", fp);
|
||||
fclose(fp);;
|
||||
|
||||
|
||||
//dirlist("/");
|
||||
/*
|
||||
LUA GOES HERE TEST
|
||||
*/
|
||||
|
||||
bgSetPriority(0,0);
|
||||
bgSetPriority(1,0);
|
||||
cout << "TEST INIT; " << endl;
|
||||
LuaScript script("main.lua");
|
||||
//setLuaPath(script.getLuaState(), "/");
|
||||
//script.loadFile("test1.lua");
|
||||
script.pushFunction((lua_CFunction)l_initGL, "initGL");
|
||||
script.pushFunction((lua_CFunction)l_RandomNumber, "RandomNumber");
|
||||
script.loadFile("main.lua");
|
||||
|
||||
if(script.GetExecutionStatus() == true)
|
||||
{
|
||||
//setLuaPath(script.getLuaState(), "/");
|
||||
//script.loadFile("test1.lua");
|
||||
script.pushFunction((lua_CFunction)l_initGL, "initGL");
|
||||
script.pushFunction((lua_CFunction)l_RandomNumber, "RandomNumber");
|
||||
|
||||
|
||||
|
||||
RegisterFoo(script.getLuaState( ));
|
||||
RegisterInput(script.getLuaState( ));
|
||||
RegisterSpriteBatch(script.getLuaState( ));
|
||||
|
||||
RegisterFoo(script.getLuaState( ));
|
||||
RegisterInput(script.getLuaState( ));
|
||||
RegisterSpriteBatch(script.getLuaState( ));
|
||||
|
||||
script.getGlobal("awake"); // get the start method and handle anything related to displaying stuff and etc
|
||||
if(script.isFunction( ))
|
||||
{
|
||||
script.call( );
|
||||
}
|
||||
|
||||
script.getGlobal("start"); // get the start method and handle anything related to displaying stuff and etc
|
||||
if(script.isFunction( ))
|
||||
{
|
||||
script.call( );
|
||||
}
|
||||
script.getGlobal("awake"); // get the start method and handle anything related to displaying stuff and etc
|
||||
if(script.isFunction( ))
|
||||
{
|
||||
script.call( );
|
||||
}
|
||||
|
||||
script.getGlobal("start"); // get the start method and handle anything related to displaying stuff and etc
|
||||
if(script.isFunction( ))
|
||||
{
|
||||
script.call( );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
cout << "Error in executing the script! GetExecutionStatus == false" << endl;
|
||||
}
|
||||
|
||||
|
||||
// Setup Input Manager
|
||||
//Input input;
|
||||
|
||||
|
||||
|
||||
/* END OF LUA */
|
||||
|
||||
@ -192,37 +204,14 @@ int main(void) {
|
||||
|
||||
int keys;
|
||||
|
||||
cout << "TEST INIT; " << endl;
|
||||
|
||||
while(true) {
|
||||
|
||||
|
||||
//while(REG_DISPCAPCNT & DCAP_ENABLE);
|
||||
|
||||
|
||||
|
||||
|
||||
scanKeys();
|
||||
|
||||
/*if(keys & KEY_A) {sizeX++;}
|
||||
if(keys & KEY_B) {sizeX--;}
|
||||
if(keys & KEY_R) {sizeY++;}
|
||||
if(keys & KEY_L) {sizeY--;}*/
|
||||
|
||||
|
||||
touchRead(&touch);
|
||||
|
||||
|
||||
|
||||
int pressed = keysDown();
|
||||
int held = keysHeld();
|
||||
|
||||
//touchLoop(touch.px, touch.py );
|
||||
//input.touchLoop(touch.px, touch.py);
|
||||
//getTouchPositionX(touch.px);
|
||||
//getTouchPositionY(touch.py);
|
||||
|
||||
|
||||
//DrawBox(-1,-1,-1,2,2,2);
|
||||
_glBegin( );
|
||||
top = !top;
|
||||
if(top)
|
||||
@ -244,29 +233,46 @@ int main(void) {
|
||||
|
||||
glMatrixMode(GL_MODELVIEW);
|
||||
|
||||
if(top)
|
||||
{
|
||||
bgSetPriority(0,1);
|
||||
bgSetPriority(1,0);
|
||||
//myQuad.update( );
|
||||
script.getGlobal("renderTop");
|
||||
if(script.isFunction( ))
|
||||
if(script.GetExecutionStatus() == true)
|
||||
{
|
||||
if(top)
|
||||
{
|
||||
script.call( );
|
||||
bgSetPriority(0,1);
|
||||
bgSetPriority(1,0);
|
||||
script.getGlobal("renderTop");
|
||||
if(script.isFunction( ))
|
||||
{
|
||||
script.call( );
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
bgSetPriority(0,0);
|
||||
bgSetPriority(1,0);
|
||||
script.getGlobal("renderBottom");
|
||||
if(script.isFunction( ))
|
||||
{
|
||||
script.call( );
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
bgSetPriority(0,0);
|
||||
bgSetPriority(1,0);
|
||||
//myQuad2.update( );
|
||||
script.getGlobal("renderBottom");
|
||||
if(script.isFunction( ))
|
||||
if(top)
|
||||
{
|
||||
script.call( );
|
||||
|
||||
}
|
||||
bgSetPriority(0,1);
|
||||
bgSetPriority(1,0);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
bgSetPriority(0,0);
|
||||
bgSetPriority(1,0);
|
||||
|
||||
}
|
||||
//cout << "Error " << endl;
|
||||
}
|
||||
|
||||
_glEnd( );
|
||||
@ -274,12 +280,9 @@ int main(void) {
|
||||
|
||||
swiWaitForVBlank();
|
||||
|
||||
//scanKeys();
|
||||
|
||||
keys = keysDown();
|
||||
|
||||
//touchRead(&touchXY);
|
||||
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user