repo.or.cz
/
kong.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Physics: Added a method to Vec2D that returns the orthogonal vector rotated by 90...
2009-03-05
Ha
n
no
Braun
Physics: Added a method to Vec2
D
th
a
t returns t
h
e
o
rt
h
ogonal
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
Hanno Brau
n
Physics: Cha
n
ged th
e
way line segments are defined
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
Hanno Braun
Phy
s
ics: Added
a sm
a
ll toleranc
e
when
upda
t
ing body
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
Hanno Braun
Ph
y
sics:
D
o
n't let bodies inte
r
sect
w
hen they collid
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-05
Ha
n
no
B
raun
Remo
v
ed debu
g
output
.
commit
|
commitdiff
|
tree
2009-03-05
Ha
n
n
o Br
a
un
P
h
y
s
ics: Implemented con
t
inio
u
s
c
olli
s
i
o
n detec
t
ion
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno Br
a
un
Physics: Changed Col
l
ision
.
It now
consi
s
ts of a time
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Ha
n
no Braun
Physics
:
Add
e
d t
h
e class Contact which
represents a
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
H
a
nno Braun
P
h
ysics: Chan
g
ed the w
a
y the ph
y
sics simulati
o
n
w
orks
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno
Braun
Phys
i
cs:
A
ppl
y
imp
u
ls
e
s
to
b
odies in Wo
r
ld
.
commit
|
commitdiff
|
tree
2009-03-04
H
anno B
r
aun
Physics:
M
inor refac
t
oring
in
Bod
y
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno Braun
Physic
s
: Added a te
s
t
t
hat makes su
r
e no null forces
.
.
.
commit
|
commitdiff
|
tree
2009-03-04
Hanno
B
raun
Phy
s
ics:
A
dded support
f
or
applyin
g
impulses to
B
ody
.
commit
|
commitdiff
|
tree
2009-03-03
Hann
o
Braun
Rem
o
ved the de
p
endency to Ph
y
s2D
.
commit
|
commitdiff
|
tree
2009-03-03
Hanno B
r
aun
Whit
e
space c
o
r
rection
.
commit
|
commitdiff
|
tree
2009-03-03
Hanno
B
rau
n
In th
e
main loop, t
h
e wo
r
l
d
wo
u
ldn'
t
be
stepped according
.
.
.
commit
|
commitdiff
|
tree
2009-03-03
Hanno
Br
a
un
Don't slee
p
f
o
r a fixed time
.
Ad
a
pt sleep time to archieve
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
r
a
un
Replace
d
Phys2D wit
h
the
n
ew p
h
ysics package
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: The distance between c
i
r
c
les was incorrect
l
y
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
h
ysics
:
SimpleNa
r
ro
w
Phase co
u
ld
t
hrow
a
n Asserti
o
nErr
o
r
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Added so
m
e toleranc
e
t
o the
u
nit
vecto
r
check
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Brau
n
Physic
s
:
Use
Vec2D
.
squa
r
ed
L
ength
t
o
check
normal
l
ength
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nn
o
Braun
Physics:
Added more information
to exceptio
n
messag
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
Physics: Replaced a
u
se of the deprecated method List
.
+
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no Braun
Physics
:
Removed
V
ec2
D
.
inverse
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
Braun
Physics:
U
se
-vec instead of vec
.
inverse
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o
B
r
aun
P
hysic
s
:
Added th
e
u
n
ary -
o
perat
o
r to
V
e
c2D
.
-vec
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Del
e
t
ed NoNarrowPhase
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
Physi
c
s
:
Made
S
im
p
leNarrowPhase
the defau
l
t
n
arrow
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
raun
P
hysics: Implem
e
nted SimpleNarrowPhas
e
, a na
r
r
o
w pha
s
e
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno B
r
aun
Physic
s
:
Added
a me
t
h
o
d to Vec2D that re
t
urns the normalized
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
n
no Braun
P
hysics:
Added
methods to Vec2D that comp
u
te the length
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno Braun
Physics: Documen
t
ed SimpleBroadPh
a
s
e
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Braun
Ph
y
sics: Do
c
umen
t
ed NarrowPhase
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno B
r
a
un
Phy
s
ics:
D
oc
u
mented Colli
s
ion
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
no Braun
Ph
y
sics: D
o
cumented Broad
P
h
ase
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
h
ysic
s
: C
o
de format
t
i
ng correct
i
on
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
n
no B
r
aun
Phys
i
cs:
I
mplemented co
l
l
i
s
i
on handling fo
r
static
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
raun
Physics: Cha
n
ged
W
orld
.
bodies
t
o
a
val
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno B
r
aun
Phy
s
ics: Verify t
h
at normal vectors in
Collision
a
re
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
h
ysics: Whit
e
space correction
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
B
r
aun
Physics: Disallow Body
'
s mass
to be
z
e
ro
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Impl
e
mented col
l
i
s
ion handl
i
ng
for collisions
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
ann
o
Bra
u
n
Phy
s
i
c
s: Added a
method to
Vec2D that c
a
n split a vector
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
r
a
un
Physics: Added
a
s
u
bst
r
action metho
d
to Vec2
D
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physics: Perf
o
rm br
o
ad and nar
r
ow phase c
o
ll
i
sion de
t
ecti
o
n
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
raun
P
hysics: M
a
de sure Wor
l
d
'
s
b
road
a
nd narrow pha
s
es
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
ra
u
n
Physics: Renam
e
d some tes
t
meth
o
ds
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Phy
s
ics: Use an instance of Si
m
pl
e
BroadPhase
i
n
Wor
l
d
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Brau
n
Physics: Rena
m
ed a test m
e
t
hod
.
commit
|
commitdiff
|
tree
2009-03-02
H
an
n
o
Br
a
u
n
Phys
i
cs: Add
e
d the tr
a
i
t BroadP
h
ase together with a
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
Brau
n
Physic
s
:
Renamed
C
olli
s
ionSo
l
v
er
t
o NarrowPhase
.
A
l
so
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
Physi
c
s:
W
orld
n
ow has a N
o
Collis
i
o
nSolver af
t
er being
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Braun
Physics
:
Added the t
r
ai
t
Collis
i
onSolver
.
Also added
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Han
n
o Braun
Physi
c
s
: Added
a clas
s
th
a
t models
a colli
s
ion
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Braun
P
h
ysi
c
s: Added a
m
e
th
o
d to Ve
c
2D that
co
m
putes the
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno Braun
P
h
ysics: Some code f
o
rmatting and documentation
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
raun
Physics
:
Added t
w
o shapes
,
circl
e
s an
d
line seg
m
ents
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno Braun
Physics: Added a test t
h
at mak
e
s
s
u
re forces
are applied
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
raun
Ph
y
sics: Add
e
d a f
e
ature
that a
l
lows to co
n
st
r
ain
t
he
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno Braun
P
hysics: Added a simple wor
l
d class t
h
a
t can a
p
ply
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
a
nno
Braun
Physics: Added a
m
et
h
od
t
o
B
od
y
that r
e
sets the applied
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
H
anno Braun
Physi
c
s: Added scalar divi
s
i
on to
v
e
ctor
.
commit
|
commitdiff
|
tree
2009-03-02
Ha
n
n
o
Br
a
un
Added the
beginn
i
ngs of an ex
p
erimental phys
i
cs package
.
.
.
commit
|
commitdiff
|
tree
2009-03-02
Hanno
B
raun
sc
a
la
.
R
ando
m
i
s
d
e
pre
c
ated
.
Use ja
v
a
.
util
.
R
a
n
dom instead
.
commit
|
commitdiff
|
tree
2009-03-02
Hann
o
Braun
Activated depreca
t
i
o
n w
a
rnings
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno
Braun
Input:
D
o
cumented KeyMap
.
commit
|
commitdiff
|
tree
2009-02-18
Ha
n
no Braun
I
nput: U
p
d
ate
d
KeyH
a
ndler d
o
c
umentation
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno
B
raun
Input: Ke
y
Han
d
ler is no
l
onger a PB
a
sicInputEventHan
d
l
e
r
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
I
np
u
t: Refac
t
ored Key
H
andler
.
doIfPressed
.
It now
u
ses
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
H
anno
B
raun
Input: Added unit tests for KeyHandler
.
doIfPressed
.
commit
|
commitdiff
|
tree
2009-02-18
Ha
n
no
B
raun
Input:
R
emoved Ke
y
Handler
.
doIfOrElse
.
commit
|
commitdiff
|
tree
2009-02-18
Ha
n
n
o Bra
u
n
U
s
e
fore
a
ch loop f
o
r input handling
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno B
r
aun
Use Ke
y
Handler
.
i
sPressed for
input handling
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Ren
a
med K
e
yHandl
e
r
.
doI
f
R
e
turnR
e
sult to doIfPre
s
sed
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
Added unit
t
ests for KeyHandler
.
isPre
s
sed
.
commit
|
commitdiff
|
tree
2009-02-18
Han
n
o
Braun
Inp
u
t: Ad
d
ed a new f
u
nctio
n
to
K
eyH
a
ndle
r
, isPres
s
ed
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Brau
n
R
e
mo
v
ed the old InputHa
n
dler
.
commit
|
commitdiff
|
tree
2009-02-18
Hanno Braun
U
sed the new generic i
n
put fu
n
ctionality
in place of
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hann
o
Braun
Renamed the Inp
u
tHand
l
er class from
the
imported
input
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Ha
n
no Braun
Rename
d
the Inpu
t
Ha
n
dler from the imported input pack
a
ge
.
.
.
commit
|
commitdiff
|
tree
2009-02-18
Hann
o
Bra
u
n
Im
p
orted classes
for ge
n
eri
c
input h
a
nd
l
i
n
g f
r
om
a
not
h
er
.
.
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Br
a
un
Added e
x
e
c
u
tion scripts
for
L
inux/Unix and Windows
.
.
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno B
r
aun
Added Scala as a dependency
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Braun
Upda
t
e
scor
e
d
i
splay position when s
c
ore cha
n
ges
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno B
r
aun
Extracted score logic into its
o
wn c
l
ass
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno Braun
Impl
e
mented score co
u
ntin
g
.
commit
|
commitdiff
|
tree
2009-01-16
Hanno
B
raun
Adjusted padd
l
e handling
.
commit
|
commitdiff
|
tree
2009-01-16
H
a
nno
B
raun
Adjusted ball spawning mechanics
.
commit
|
commitdiff
|
tree
2009-01-16
Ha
n
no B
r
aun
Requested focus f
o
r the c
a
nva
s
.
This fi
x
es the problem
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Br
a
un
Changed padd
l
e handling
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Braun
M
a
d
e ball s
t
arting
veloc
i
t
y
faster in
x
d
i
rect
i
on
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno B
r
aun
E
x
tra
c
ted ball functionality i
n
to a class and randomiz
e
d
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Bra
u
n
Place ball in the middl
e
i
f
it leaves
t
he field
.
commit
|
commitdiff
|
tree
2009-01-15
Han
n
o B
r
aun
Added
a ball
.
commit
|
commitdiff
|
tree
2009-01-15
H
a
nno
B
r
aun
Added borders at
t
he top and
b
o
t
tom
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno B
r
a
u
n
Make
paddles normal bodies and move them by applyin
g
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno Bra
u
n
Added the
two paddles
.
Display and move them
.
commit
|
commitdiff
|
tree
2009-01-15
Han
n
o Bra
u
n
Added
c
lass for paddles
.
Initialize two and r
e
lay input
.
.
.
commit
|
commitdiff
|
tree
2009-01-15
Hanno
B
raun
A
d
d
ed
input handling
.
commit
|
commitdiff
|
tree
next