author | ecalot
<ecalot> 2004-08-15 01:59:52 UTC |
committer | ecalot
<ecalot> 2004-08-15 01:59:52 UTC |
parent | 8083709ecf9426367abe45c2cc91fcd8ec0c428a |
FP/src/ker/titles.c | +2 | -1 |
FP/src/res/resources.c | +2 | -1 |
diff --git a/FP/src/ker/titles.c b/FP/src/ker/titles.c index 6ea83fe..39efd5d 100644 --- a/FP/src/ker/titles.c +++ b/FP/src/ker/titles.c @@ -75,8 +75,9 @@ tMenuOption showTitles() { tData *main_title; /*tData *main_text;*/ tMenuOption result; - +printf("hola oooo %08x %08x %08x %08x\n",res_set_part_type(RES_TYPE_IMG),res_set_part_from(73),res_set_part_size(3),res_set_part_size(0xffff)); main_title = resLoad(RES_IMG_MAIN_BACKGROUND); +printf("hola %d\n",RES_IMG_MAIN_BACKGROUND); if (! main_title) { printf("The resource couldn't be loaded!\n"); return menuQuit; diff --git a/FP/src/res/resources.c b/FP/src/res/resources.c index 81bd9a5..443530b 100644 --- a/FP/src/res/resources.c +++ b/FP/src/res/resources.c @@ -95,7 +95,7 @@ tData* resLoad(long id) { int total=res_get_part_size(id); int from=res_get_part_from(id); int type=res_get_part_type(id); - +printf("type=%d mask=%d total=%d from=%d id=%08x\n",type,mask,total,from,id); switch (type) { case RES_TYPE_LVL: if (total!=2) { @@ -129,6 +129,7 @@ tData* resLoad(long id) { printf("Fatal Error: resLoad: palette not found!\n"); return NULL; } + printf("hola %d\n",palette.size); if (palette.size!=100) { printf("Fatal error: resLoad: invalid palette\n"); return NULL;