Changeset 372


Ignore:
Timestamp:
11/06/09 13:26:46 (10 years ago)
Author:
saritor
Message:

Ticket #150: Patch by saritor.

  • Moved GUI code to <parpg>/scripts/gui
  • Updated world.py to reflect these changes
  • fixes[s:trac, t:150]
Location:
trunk/game/scripts
Files:
2 added
1 edited
7 moved

Legend:

Unmodified
Added
Removed
  • trunk/game/scripts/gui/hud.py

    r370 r372  
    2121import pychan.widgets as widgets 
    2222from pychan.tools import callbackWithArguments as cbwa 
    23 from scripts.filebrowser import FileBrowser 
    24 from scripts.context_menu import ContextMenu 
    25 from scripts import inventorygui 
    26 from scripts.popups import ExaminePopup, ContainerGUI 
    27 from scripts.dialoguegui import DialogueGUI 
     23from scripts.gui.filebrowser import FileBrowser 
     24from scripts.gui.context_menu import ContextMenu 
     25from scripts.gui import inventorygui 
     26from scripts.gui.popups import ExaminePopup, ContainerGUI 
     27from scripts.gui.dialoguegui import DialogueGUI 
    2828 
    2929class Hud(object): 
  • trunk/game/scripts/gui/inventorygui.py

    r370 r372  
    2121import fifelog 
    2222import pychan 
    23 from scripts import drag_drop_data as data_drag 
     23from scripts.gui import drag_drop_data as data_drag 
    2424from pychan.tools import callbackWithArguments as cbwa 
    2525from scripts.items import item_image_dict 
  • trunk/game/scripts/gui/popups.py

    r370 r372  
    1818import fife 
    1919import pychan 
    20 from scripts import drag_drop_data as data_drag 
     20from scripts.gui import drag_drop_data as data_drag 
    2121from scripts.items import item_image_dict 
    2222from pychan.tools import callbackWithArguments as cbwa 
  • trunk/game/scripts/world.py

    r361 r372  
    2525from sounds import SoundEngine 
    2626from settings import Setting 
    27 from scripts import hud 
    28 from scripts.popups import * 
     27from scripts.gui import hud 
     28from scripts.gui.popups import * 
    2929from pychan.tools import callbackWithArguments as cbwa 
    3030from map import Map 
Note: See TracChangeset for help on using the changeset viewer.