projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- turned LEFT/RIGHT defines into enum, turned BadGuyModes into enum
[supertux.git]
/
src
/
special.cpp
diff --git
a/src/special.cpp
b/src/special.cpp
index
8016dc5
..
2272512
100644
(file)
--- a/
src/special.cpp
+++ b/
src/special.cpp
@@
-40,7
+40,7
@@
Sprite* img_1up;
#define GROWUP_SPEED 1.0f
void
#define GROWUP_SPEED 1.0f
void
-Bullet::init(float x, float y, float xm,
int
dir)
+Bullet::init(float x, float y, float xm,
Direction
dir)
{
base.width = 4;
base.height = 4;
{
base.width = 4;
base.height = 4;
@@
-124,7
+124,7
@@
Bullet::collision(int c_object)
}
void
}
void
-Upgrade::init(float x_, float y_,
int
dir_, UpgradeKind kind_)
+Upgrade::init(float x_, float y_,
Direction
dir_, UpgradeKind kind_)
{
kind = kind_;
dir = dir_;
{
kind = kind_;
dir = dir_;