🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
allegro bit map question
how do you get bitmaps from file in allegr (what function or data type would you use)
thanks for your help
ok cool thanks alot i didnt see anything like that in any of the examples so i was just wondering
were can i get data.h my files wont compile because it says that a bunch of functions that should be included arnt defined such as;
map.cpp: In member function `void MAP::draw(BITMAP*)':map.cpp:26: error: `SCREEN_W' undeclared (first use this function)map.cpp:26: error: (Each undeclared identifier is reported only once for each function it appears in.)map.cpp:26: error: `SCREEN_H' undeclared (first use this function)map.cpp:26: error: `rectfill' undeclared (first use this function)map.cpp:45: error: `STATE_SMALL' undeclared (first use this function)map.cpp:45: error: `is_state' undeclared (first use this function)map.cpp:60: error: `data' undeclared (first use this function)map.cpp:60: error: `TILES' undeclared (first use this function)map.cpp:61: error: `masked_blit' undeclared (first use this function)map.cpp: In member function `void MAP::move(PLAYER&)':map.cpp:70: error: `MAX_RIGHT' undeclared (first use this function)map.cpp: In member function `void MAP::load()':map.cpp:87: error: `PACKFILE' undeclared (first use this function)map.cpp:87: error: `pfile' undeclared (first use this function)map.cpp:92: error: `pack_fopen' undeclared (first use this function)map.cpp:98: error: `pack_igetl' undeclared (first use this function)map.cpp:102: error: `pack_fclose' undeclared (first use this function)map.cpp: In member function `void MAP::save()':map.cpp:110: error: `pack_fopen' undeclared (first use this function)map.cpp:117: error: `pack_iputl' undeclared (first use this function)map.cpp:121: error: `pack_fclose' undeclared (first use this function)map.cpp: In member function `void MAP::edit()':map.cpp:136: error: `mouse_x' undeclared (first use this function)map.cpp:137: error: `mouse_y' undeclared (first use this function)map.cpp:139: error: `blit' undeclared (first use this function)map.cpp:142: error: `font' undeclared (first use this function)map.cpp:142: error: `textprintf' undeclared (first use this function)map.cpp:146: error: `key' undeclared (first use this function)map.cpp:146: error: `KEY_Q' undeclared (first use this function)map.cpp:152: error: `KEY_W' undeclared (first use this function)map.cpp:159: error: `KEY_P' undeclared (first use this function)map.cpp:165: error: `KEY_C' undeclared (first use this function)map.cpp:172: error: `KEY_1' undeclared (first use this function)map.cpp:177: error: `KEY_2' undeclared (first use this function)map.cpp:182: error: `mouse_b' undeclared (first use this function)map.cpp:194: error: `KEY_LEFT' undeclared (first use this function)map.cpp:200: error: `KEY_RIGHT' undeclared (first use this function)map.cpp:209: error: `KEY_ESC' undeclared (first use this function)make.exe: *** [map.o] Error 1Execution terminated
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement