Mercurial > hg > old > magoroku_racing
view play_id @ 122:5219bf3d5e71
title_draw
author | e085768 |
---|---|
date | Mon, 27 Jun 2011 19:44:46 +0900 |
parents | 9e4100c5d7ec |
children |
line wrap: on
line source
./camera.cc: //int type = game->camera_type; ./camera.cc: if(pad.left>0 && game->jiki->speed !=0){ ./camera.cc: if(game->jiki->speed !=0){ ./camera.cc: else if(pad.right>0 && game->jiki->speed !=0){ ./camera.cc: if(game->jiki->speed !=0){ ./car.cc: game->rap++; ./compile: //int type = game->camera_type; ./compile: if(pad.left>0 && game->jiki->speed !=0){ ./compile: if(game->jiki->speed !=0){ ./compile: else if(pad.right>0 && game->jiki->speed !=0){ ./compile: if(game->jiki->speed !=0){ ./game.cc: game->play_id = linda_init(); ./game.cc~: game->play_id = linda_init(); ./linda.cc: int id = game->play_id; ./linda.cc: send_packet(id, mode, game->car_id, game->course_id, NULL); ./linda.cc: int id = game->play_id; ./linda.cc: int id = game->play_id; ./linda.cc: int id = game->play_id; ./linda.cc: int id = game->play_id; ./linda.cc: int id = game->play_id; ./linda.cc: if (course_id != game->course_id) { ./linda.cc: course_id = game->course_id; ./linda.cc: game->course_id = course_id; ./linda.cc: int id = game->play_id; ./linda.cc: int id = game->play_id; ./linda.cc: int id = game->play_id; ./linda.cc: int id = game->play_id; ./linda.cc: CarPtr mycar = game->jiki; ./linda.cc: if (game->state == GAME_WAIT) { ./linda.cc: if (game->play_id == 1) ./linda.cc: if (game->play_id == 1) { ./linda.cc: if (game->state == GAME_FINISH) { ./linda.cc: common_state = game->state; ./linda.cc: game->state = common_state; ./linda.cc: common_state = game->state; ./linda.cc: game->state = common_state; ./linda.cc: if (game->state == GAME_GOAL) { ./linda.cc: common_state = game->state; ./linda.cc: game->state = common_state; ./linda.cc: game->state = common_state; ./linda.cc: if (game->state == GAME_WAIT) { ./linda.cc: game->state = common_state; ./linda.cc: psx_free(psx_reply(psx_in(game->play_id))); ./linda.cc: linda_seq[my_id]=psx_in(game->play_id); ./linda.cc: psx_out(game->play_id, (char*)&jiki, sizeof(CarInfo)); ./linda.cc: send_packet(game->play_id, MODE_WAIT, 1, 1, NULL); Binary file ./magoroku matches ./schedule.cc: printf("game->car_id = %d\n",game->car_id); ./schedule.cc: //printf("game->jiki->speed = %f\n",game->jiki->speed); ./schedule.cc: game->jiki = car_init(game->car_id); ./schedule.cc: carNode_append(game->jiki); ./schedule.cc: field_init(game->course_id); ./schedule.cc: game->car_id = 1; ./schedule.cc: game->course_id = 1; ./schedule.cc: game->camera_type = 0; ./schedule.cc: game->rap = 1; ./schedule.cc: game->jiki = NULL; ./schedule.cc: game->play_id = 1; ./schedule.cc: if (game->play_id == 1) { ./schedule.cc: if (game->play_id==1){ ./schedule.cc: if (game->play_id == 1) { ./schedule.cc: } else if (game->play_id == 2) { ./schedule.cc: gSprite_PutSpriteEx(SP_SEL_CAR+game->car_id, 190, 200, 1.5, 1.5, 0.0); ./schedule.cc: game->car_id = ./schedule.cc: (game->car_id > MAXCAR-1) ? 1 : game->car_id + 1; ./schedule.cc: game->car_id = ./schedule.cc: (game->car_id < 2) ? MAXCAR : game->car_id - 1; ./schedule.cc: if (game->play_id == 1) ./schedule.cc: gSprite_PutSpriteEx(SP_SEL_COURSE+game->course_id, 190, 200, 1.7, 1.8, 0.0); ./schedule.cc: if (game->play_id == 1) { ./schedule.cc: game->course_id = ./schedule.cc: (game->course_id > MAXFIELD-1) ? 1 : game->course_id + 1; ./schedule.cc: game->course_id = ./schedule.cc: (game->course_id < 2) ? MAXFIELD : game->course_id - 1; ./schedule.cc: gSprite_PutSprite(27+game->play_id,265,10); ./schedule.cc: gSprite_PutSpriteEx(SP_SEL_CAR+game->car_id, 50, 120, 1.5, 1.5 , 0.0); ./schedule.cc: gSprite_PutSpriteEx(SP_SEL_COURSE+game->course_id, 340, 120, 1.7, 1.8 , 0.0); ./schedule.cc: if (!game->jiki){ ./schedule.cc: car_id_update(game, game->jiki); ./schedule.cc: field_update(game->jiki); ./schedule.cc: camera_update(game,game->jiki->body->transfer); ./schedule.cc: gFont_SetStringInt(game->rap, 50, 100); ./schedule.cc: // gSprite_DefSprite(23, 1, 1,(int)(106.0*(game->jiki->speed/game->jiki->speed_max)), 34); ./schedule.cc: gSprite_DefSprite(23, "name", (float)(106.0*(game->jiki->speed/game->jiki->speed_max)), 34.0, 100); ./schedule.cc: if (game->rap > MAXRAP) { ./schedule.cc: gFont_SetStringInt((int)(100.0*game->jiki->speed), 380, 350); ./schedule.cc: if ((pad.right > 0) && ((game->jiki->speed != 0) || (pad.circle > 0))) { ./schedule.cc: car_swerve(game->jiki, 1); ./schedule.cc: if ((pad.left > 0) && ((game->jiki->speed != 0) || (pad.circle > 0))) { ./schedule.cc: car_swerve(game->jiki, -1); ./schedule.cc: car_accelerate(game->jiki, 1); ./schedule.cc: car_accelerate(game->jiki, -1); ./schedule.cc: game->camera_type = !game->camera_type; ./schedule.cc: field_update(game->jiki); ./schedule.cc: if (game->play_id == 1) { ./schedule.cc: car_update(game, game->jiki); ./schedule.cc: field_update(game->jiki); ./schedule.cc: camera_update(game,game->jiki->body->transfer); ./schedule.cc~: printf("game->car_id = %d\n",game->car_id); ./schedule.cc~: //printf("game->jiki->speed = %f\n",game->jiki->speed); ./schedule.cc~: game->jiki = car_init(game->car_id); ./schedule.cc~: carNode_append(game->jiki); ./schedule.cc~: field_init(game->course_id); ./schedule.cc~: game->car_id = 1; ./schedule.cc~: game->course_id = 1; ./schedule.cc~: game->camera_type = 0; ./schedule.cc~: game->rap = 1; ./schedule.cc~: game->jiki = NULL; ./schedule.cc~: if (game->play_id == 1) { ./schedule.cc~: if (game->play_id==1){ ./schedule.cc~: if (game->play_id == 1) { ./schedule.cc~: } else if (game->play_id == 2) { ./schedule.cc~: gSprite_PutSpriteEx(SP_SEL_CAR+game->car_id, 190, 200, 1.5, 1.5, 0.0); ./schedule.cc~: game->car_id = ./schedule.cc~: (game->car_id > MAXCAR-1) ? 1 : game->car_id + 1; ./schedule.cc~: game->car_id = ./schedule.cc~: (game->car_id < 2) ? MAXCAR : game->car_id - 1; ./schedule.cc~: if (game->play_id == 1) ./schedule.cc~: gSprite_PutSpriteEx(SP_SEL_COURSE+game->course_id, 190, 200, 1.7, 1.8, 0.0); ./schedule.cc~: if (game->play_id == 1) { ./schedule.cc~: game->course_id = ./schedule.cc~: (game->course_id > MAXFIELD-1) ? 1 : game->course_id + 1; ./schedule.cc~: game->course_id = ./schedule.cc~: (game->course_id < 2) ? MAXFIELD : game->course_id - 1; ./schedule.cc~: gSprite_PutSprite(27+game->play_id,265,10); ./schedule.cc~: gSprite_PutSpriteEx(SP_SEL_CAR+game->car_id, 50, 120, 1.5, 1.5 , 0.0); ./schedule.cc~: gSprite_PutSpriteEx(SP_SEL_COURSE+game->course_id, 340, 120, 1.7, 1.8 , 0.0); ./schedule.cc~: if (!game->jiki){ ./schedule.cc~: car_id_update(game, game->jiki); ./schedule.cc~: field_update(game->jiki); ./schedule.cc~: camera_update(game,game->jiki->body->transfer); ./schedule.cc~: gFont_SetStringInt(game->rap, 50, 100); ./schedule.cc~: // gSprite_DefSprite(23, 1, 1,(int)(106.0*(game->jiki->speed/game->jiki->speed_max)), 34); ./schedule.cc~: gSprite_DefSprite(23, "name", (float)(106.0*(game->jiki->speed/game->jiki->speed_max)), 34.0, 100); ./schedule.cc~: if (game->rap > MAXRAP) { ./schedule.cc~: gFont_SetStringInt((int)(100.0*game->jiki->speed), 380, 350); ./schedule.cc~: if ((pad.right > 0) && ((game->jiki->speed != 0) || (pad.circle > 0))) { ./schedule.cc~: car_swerve(game->jiki, 1); ./schedule.cc~: if ((pad.left > 0) && ((game->jiki->speed != 0) || (pad.circle > 0))) { ./schedule.cc~: car_swerve(game->jiki, -1); ./schedule.cc~: car_accelerate(game->jiki, 1); ./schedule.cc~: car_accelerate(game->jiki, -1); ./schedule.cc~: game->camera_type = !game->camera_type; ./schedule.cc~: field_update(game->jiki); ./schedule.cc~: if (game->play_id == 1) { ./schedule.cc~: car_update(game, game->jiki); ./schedule.cc~: field_update(game->jiki); ./schedule.cc~: camera_update(game,game->jiki->body->transfer); Binary file ./schedule.o matches