-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathTODO-2.txt
148 lines (133 loc) · 9.22 KB
/
TODO-2.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
Decisions
---------
o No mouse support -> no GUI buttons, etc. Just labels, text fields
and shortcut keys.
o Remove OpenGL dependance, as without HW accel, it's too slow.
o Make a one-room demo full of interesting, scripted stuff.
o Make the map file format text, so that it can be edited with a text
editor.
The Plan
--------
o One-Room Demo
o Replace OpenGL QUAD tiling with SDL_Surface tiling, to remove OGL
dependance.
o Implement XML map reader (see crib.xml + crib.rb).
o Refine screen layout.
o Implement SDL_ttf support.
o Implement Dialog window (text entry).
Screen Layout
-------------
Main Screen
##################################################################################
# #
# #
# #
# #
# #
# ##--###-####--## #
# #====#=.=#=..==# #
# #=...#..u#==..=# #
# #=...#/###=...=# #
# #......../..=.=# #
# ###/############ #
# #=.h=#...# #
# #=h.h/@..+ #
# #..h.#.h.# #
# ##--###-## #
# #
# #
# #
# #
# #
#--------------------------------------------------------------------[Messages]--#
# You open the door. ^ # <- latest message (highlighted)
# You see a door. = # (PAGE UP)
# : #
# v # <- older messages (PAGE DN)
#----------------------------------------------------------------------[Status]--#
# X\........ drugged,sleepy,paranoid #
#-------------------------------------------------------------------[Shortcuts]--#
# Inventory [i] Biography [b] Menu [ESC] #
##################################################################################
^ ^
| |
keyboard shortcuts (this menu line can be toggled on/off in the options)
Inventory
##################################################################################
# |::::::::::::::::::::::::::::: Inventory ::# <- section
# | #
# | ( + 20 x FMJ.45 ) ^ #
# | ( + 4 x shotgun shells ) = #
# | > / shotgun < : #
# | / really really really really lo... : #
# | ) interesting gadget : #
# | : # <- slider
# | : #
# | . : #
# ... | . : #
# | . : #
# | : #
# | : #
# | v #
# | Drop [d] Equip [e] Give [g] #
# |:::::::::::::::::::::::::::::: Info [i] ::# <- togglable section
# | [l]ess #
# | / shotgun ^ #
# | = #
#-------------------------------------| A heavy chunk of metal. : #
# You open the door. | : # <- slider with diff. k.b. shortcuts
# You see a door. | Damage : ? : #
# | Range : ? : #
# | Weight : 2.5 kg : #
#-------------------------------------| v #
# X\........ drugged,sleepy,paranoid | [m]ore #
#-------------------------------------| #
# | Close [ESC] #
##################################################################################
^
|
'slide out' window
-> make info float over entire window, avoiding cursor
Biography
##################################################################################
#:::::::::::::::::::::::: Biography ::| #
# #.. Name: Greggles | #
# /@. Age : 21 | #
# #.h Weight: 70 kg | #
# Height: 6'0" | #
# | #
# Wounds: X\\....... | #
# Status: drugged,sleepy,paranoid | #
# | #
# Strength : #:::: (poor) | #
# Agility : ##::: (average) | #
# Intelligence: ##### (excellent) | #
# Intuition : ###:: (good) | ... #
# Dexterity : ####: (very good) | #
# Perception : ##::: (average) | #
# Charisma : ###:: (good) | #
# | #
# | #
# | #
# | #
# | #
# | #
# |--------------------------------Messages--#
# | #
# | #
# | #
# | #
# |----------------------------------Status--#
# | #
# |------------------------------------------#
# Close [ESC] | #
##################################################################################
Attributes window:
::::::::::::::::::::::::Attributes ::
- Science ^
+ Chemistry (3) =
- Programming =
> - Trojan Horse (2) < :
+ Engineering :
. :
. v