gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > Getting my maps working in yeti3d !

#46384 - bmnb1234 - Thu Jun 23, 2005 11:38 pm

I am working a yeti3d pronged when I was able to get it to compiler using VisualHAM with default map with no problems.

But when I replaced with my map warehouse.c I searched all the code and replaced all entries of e1m1 with warehouse I got the following errors.

../../src/game.c:260: error: parse error before ';' token
make: *** [../../src/game.o] Error 1

in my yeti.c
yeti_load_map(yeti, &warehouse;

in my yeti.h
extern YETI_ROM rom_map_t warehouse;

I then tried to delegate the default map e1m1.c and rename my map e1m1.c and I got this error
Message.

: undefined reference to `e1m1'


I would grateful anyone has any ideas on how to get my maps working in yeti3d.

Thank you for your time!
Jason

#46385 - Dwedit - Fri Jun 24, 2005 12:26 am

I see no closing ')'. Neither did the compiler.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#46529 - bmnb1234 - Sun Jun 26, 2005 10:14 pm

Hi I fixed it but I am getting the same error. I even created a map e1m1.c using Yeti3D Editor and replaced it with the exact same name the original e1m1.c but when I still got this error


: undefined reference to `e1m1'
make: *** [yeti.elf] Error 1

but when I compile it with original I get no errors.

/gcc-arm/bin/arm-thumb-elf-objcopy.exe -v -O binary yeti.elf yeti.gba
copy from yeti.elf(elf32-littlearm) to yeti.gba(binary)
/tools/win32/gbafix.exe yeti.gba -tyeti
ROM fixed!
/tools/win32/vba.exe yeti.gba

#46530 - strager - Sun Jun 26, 2005 11:16 pm

Are you sure you are linking it with the rest of your game? It might make sence to do that..