Skip to content

Commit 794b0ee

Browse files
committed
remove ghostlib dep from sample
1 parent 0ec2a8d commit 794b0ee

20 files changed

+109
-18
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ install:
1010
- haxelib git dox https://github.com/HaxeFoundation/dox.git
1111
- haxelib git hxmath https://github.com/tbrosman/hxmath.git
1212
- haxelib git heaps https://github.com/HeapsIO/heaps.git
13-
- haxelib install ghostlib
1413
- haxelib dev echo .
1514

1615
script:

sample-hl.hxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
-lib heaps
1010
-lib hlsdl
1111
# -lib hldx
12-
-lib ghostlib
1312

1413
#flags
1514
-dce full
1615
-D windowSize=1280x720
1716
# -D HXMATH_USE_HEAPS_STRUCTURES
1817
# -D hl-profile
18+
# -D hl-ver=1.11.0
1919
# -D dump=pretty
2020

2121
# output

sample.hxml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@
77
# libraries
88
-lib echo
99
-lib heaps
10-
-lib ghostlib
1110

1211
# copy assets
13-
--macro ghost.Assets.copyProjectAssets()
12+
--macro util.Assets.copyProjectAssets()
1413

1514
# flags
1615
# use Heaps math structures with hxmath

sample/BaseApp.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package;
22

33
import echo.World;
44
import echo.util.Debug;
5-
import ghost.FSM;
5+
import util.FSM;
66

77
class BaseApp extends hxd.App {
88
public var debug:HeapsDebug;

sample/Main.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import hxd.Key;
44
import echo.Echo;
55
import echo.World;
66
import echo.util.Debug;
7-
import ghost.FSM;
7+
import util.FSM;
88
import state.*;
99

1010
class Main extends BaseApp {

sample/build.hxml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
-lib heaps
22
-lib hlsdl
33
-lib echo
4-
-lib ghostlib
54

65
-main Main
76

sample/state/BaseState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package state;
22

33
import echo.Body;
44
import echo.World;
5-
import ghost.FSM;
5+
import util.FSM;
66

77
class BaseState extends State<World> {
88
override public function exit(world:World) world.clear();

sample/state/GroupsState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package state;
22

33
import echo.Body;
44
import echo.World;
5-
import ghost.Random;
5+
import util.Random;
66

77
class GroupsState extends BaseState {
88
var body_count:Int = 50;

sample/state/Linecast2State.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import hxmath.math.Vector2;
55
import echo.Line;
66
import echo.Body;
77
import echo.World;
8-
import ghost.Random;
8+
import util.Random;
99

1010
class Linecast2State extends BaseState {
1111
var body_count:Int = 50;

sample/state/LinecastState.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package state;
33
import echo.Line;
44
import echo.Body;
55
import echo.World;
6-
import ghost.Random;
6+
import util.Random;
77

88
class LinecastState extends BaseState {
99
var body_count:Int = 30;

0 commit comments

Comments
 (0)