#include "object/bullet.hpp"
#include "object/text_object.hpp"
#include "badguy/jumpy.hpp"
#include "object/bullet.hpp"
#include "object/text_object.hpp"
#include "badguy/jumpy.hpp"
#include "trigger/sequence_trigger.hpp"
#include "player_status.hpp"
#include "scripting/script_interpreter.hpp"
#include "trigger/sequence_trigger.hpp"
#include "player_status.hpp"
#include "scripting/script_interpreter.hpp"
if(Collision::rectangle_aatriangle(temphit, dest, object->movement,
triangle)) {
hit.tileflags |= tile->getAttributes();
if(Collision::rectangle_aatriangle(temphit, dest, object->movement,
triangle)) {
hit.tileflags |= tile->getAttributes();
if(Collision::rectangle_rectangle(temphit, dest,
object->movement, rect)) {
hit.tileflags |= tile->getAttributes();
if(Collision::rectangle_rectangle(temphit, dest,
object->movement, rect)) {
hit.tileflags |= tile->getAttributes();
if(bullets.size() > MAX_FIRE_BULLETS-1)
return false;
new_bullet = new Bullet(pos, xm, dir, FIRE_BULLET);
if(bullets.size() > MAX_FIRE_BULLETS-1)
return false;
new_bullet = new Bullet(pos, xm, dir, FIRE_BULLET);
if(bullets.size() > MAX_ICE_BULLETS-1)
return false;
new_bullet = new Bullet(pos, xm, dir, ICE_BULLET);
if(bullets.size() > MAX_ICE_BULLETS-1)
return false;
new_bullet = new Bullet(pos, xm, dir, ICE_BULLET);