Permalink
Browse files

remove utf-8 support

  • Loading branch information...
1 parent db3bc8a commit 3504db6fbedfe7ebc394da77651cd0be814ce5db Дмитрий Савельев committed Jan 25, 2012
Showing with 28 additions and 80 deletions.
  1. +0 −3 Config/creatures.py
  2. +1 −4 Config/game.py
  3. +0 −3 Config/items.py
  4. +0 −3 Config/tiles.py
  5. +0 −3 GUI/control.py
  6. +0 −3 GUI/menu.py
  7. +0 −3 GUI/panel.py
  8. +0 −3 GUI/text.py
  9. +0 −3 Mixins/action.py
  10. +0 −3 Mixins/ai.py
  11. +0 −3 Mixins/effect.py
  12. +0 −3 Mixins/fight.py
  13. +0 −3 Mixins/stat.py
  14. +0 −3 Mixins/stats.py
  15. +0 −3 Objects/aim.py
  16. +0 −3 Objects/creature.py
  17. +0 −3 Objects/item.py
  18. +0 −3 Objects/object.py
  19. +0 −3 Objects/player.py
  20. +0 −3 Objects/tile.py
  21. +26 −0 README
  22. +1 −4 game.py
  23. +0 −3 initialize.py
  24. +0 −3 libtcodpy.py
  25. +0 −3 map.py
  26. +0 −3 modules.py
  27. +0 −3 start.py
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
from modules import *
AIM = {
View
@@ -1,11 +1,8 @@
-# -*- coding: utf-8 -*-
-
-
from modules import *
### Stuff
LIMIT_FPS = 20
-FONT = './Fonts/arial12x12.png'
+FONT = './Fonts/consolas12x12_gs_tc.png'
TITLE = 'Tombs of the Ancient Kings'
SPLASH_IMAGE = './Images/menu_background.png'
CREDITS = 'd.e.saveliev@gmail.com'
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
from modules import *
### Items
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
from modules import *
### Tiles
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
from modules import *
class Control(object):
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
from modules import *
class Menu(object):
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
from modules import *
class Panel(object):
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
from modules import *
panel = None
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
### self - Item, target - Creation
def apply(item, owner, action, supply=[]):
if action == 'GENERAL':
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
class Ai(object):
"""docstring for Ai"""
def __init__(self):
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
### self - Item, owner - Creation
def apply_all(item, owner):
if item.effects_use == 'ALL':
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
class Fight(object):
"""docstring for Fighter"""
def __init__(self):
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
class Stat(object):
"""docstring for Stat"""
def __init__(self, type, value):
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
from stat import Stat
class Stats(object):
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
from modules import *
class Aim(Object):
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
from modules import *
class Creature(Object, Stats, Fight, Ai):
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
from modules import *
class Item(Object):
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
from modules import *
class Object(object):
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
from modules import *
class Player(Creature):
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
from modules import *
class Tile(Object):
View
@@ -0,0 +1,26 @@
+Краткое руководство по rogue-like игре: "Tombs of the Ancient Kings"
+
+>> Краткий обзор rogue-like игр: http://ru.wikipedia.org/wiki/Roguelike
+
+>> Значение некоторых символов в игре:
+ @ - Главный герой (Вы)
+ ! - Какое-либо зелье
+ # - Какой-либо свиток (а так же стены)
+ D, T, o, g - Монстры
+
+ Подробнее, о значении символа в игре можно узнать наведя на него мышью.
+
+>> Управление:
+
+ y k u
+ \ | /
+
+ h - @ - l Перемещение (Традиционный Vi стиль)
+
+ / | \
+ b j n
+
+ i - Открыть инвентарь
+ g - Взять какую-либо вещь под игроком
+ d - Выкинуть вещь из инвентаря
+ Esc - Выход в меню
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
import pdb
class Game(object):
def __init__(self):
@@ -9,7 +6,7 @@ def __init__(self):
def __initialize(self):
self.menu = Menu(self)
- self.help = PlainText('./Texts/help.txt')
+ self.help = PlainText('./Texts/help')
self.control = Control(self)
self.panel = Panel(self)
self.aim = Aim(self)
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
from modules import *
### Set terminal font
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
#
# libtcod 1.5.1 python wrapper
# Copyright (c) 2008,2009,2010 Jice & Mingos
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
from modules import *
class Rect(object):
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
import os, sys
import operator
import math
View
@@ -1,6 +1,3 @@
-# -*- coding: utf-8 -*-
-
-
from game import *
game = Game()

0 comments on commit 3504db6

Please sign in to comment.