mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 05:10:29 -04:00
- Update to 0.9.8
This commit is contained in:
parent
dbb6b553fc
commit
2645b4c2b7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=448468
3 changed files with 4 additions and 16 deletions
|
@ -2,8 +2,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= endless-sky
|
PORTNAME= endless-sky
|
||||||
PORTVERSION= 0.9.6
|
PORTVERSION= 0.9.8
|
||||||
PORTREVISION= 2
|
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
CATEGORIES= games
|
CATEGORIES= games
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1487772910
|
TIMESTAMP = 1503228209
|
||||||
SHA256 (endless-sky-endless-sky-v0.9.6_GH0.tar.gz) = 41699dabb72a276c96019d0714e54492866e29661f161052a1caf334332be1e4
|
SHA256 (endless-sky-endless-sky-v0.9.8_GH0.tar.gz) = 69078c67656709646deb0c46fd960aa905601c23bb47c1696b0962ae8dff6d1e
|
||||||
SIZE (endless-sky-endless-sky-v0.9.6_GH0.tar.gz) = 71119557
|
SIZE (endless-sky-endless-sky-v0.9.8_GH0.tar.gz) = 74476053
|
||||||
|
|
|
@ -8,14 +8,3 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
@@ -179,8 +180,8 @@ Body *CollisionSet::Line(const Projectil
|
|
||||||
int stepX = (x <= endX ? 1 : -1);
|
|
||||||
int stepY = (y <= endY ? 1 : -1);
|
|
||||||
// Calculate the slope of the line, shifted so it is positive in both axes.
|
|
||||||
- int mx = abs(endX - x);
|
|
||||||
- int my = abs(endY - y);
|
|
||||||
+ int mx = std::abs(endX - x);
|
|
||||||
+ int my = std::abs(endY - y);
|
|
||||||
// Behave as if each grid cell has this width and height. This guarantees
|
|
||||||
// that we only need to work with integer coordinates.
|
|
||||||
int scale = max(mx, 1) * max(my, 1);
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue