Changeset 71:c449a3507a6b


Ignore:
Timestamp:
Sep 1, 2013, 7:39:16 PM (7 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Message:

Shebang and path hacking, so that the area_editor runs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/area_editor.py

    • Property exe set to *
    r57 r71  
     1#!/usr/bin/env python
     2
    13# The basic area editor
    24#
     
    1012#
    1113
     14import os
     15import sys
     16
    1217import pygame
    1318import pygame.locals as pgl
     19
     20sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
    1421
    1522from nagslang.resources import resources
    1623from nagslang.constants import SCREEN, FPS
    1724from nagslang.level import Level, POLY_COLORS
    18 
    19 import sys
    2025
    2126
Note: See TracChangeset for help on using the changeset viewer.