changed the compiler's path handling; fixes #546

This commit is contained in:
Andreas Rumpf
2016-05-31 03:04:36 +02:00
parent 1e5926458c
commit 893be3a5a4
11 changed files with 32 additions and 17 deletions

View File

@@ -1,6 +1,6 @@
import
sfml, chipmunk,
sg_assets, sfml_stuff, keineschweine
sg_assets, sfml_stuff, "../keineschweine"
proc accel*(obj: PVehicle, dt: float) =

View File

@@ -1,2 +1,3 @@
# this file only exists to mark 'main.nim' as the main file
--path:"$projectpath"

View File

@@ -1,6 +1,6 @@
import
tri_engine/config,
tri_engine/math/vec
../config,
vec
type
TCircle* = tuple[p: TV2[TR], r: TR]

View File

@@ -1,6 +1,6 @@
import
macros,
tri_engine/config
"../config"
type
TV2*[T:SomeNumber=TR] = array[0..1, T]