cleanup overlay message centering
[netris.git] / CHANGES
1         [][]    []   [][][]  [][][][] [][][]  [][]   [] [][][]
2         [][]    []   []         []    []   [] [][] [][]     []
3            []   []              []     [][][]      []
4         [] [][] []  [][][][]    [][]  []       []    [][][][]
5         []   []                  []   [] []    []           []
6         []    [][]   []        [][]   [] [][]  []  []     [][]
7         []    [][]   [][][]      []   []   []  []  [][][] []
8
9 v0.8: 2007-03-04
10
11         * gravity off by default
12         * code cleanup
13                 * revert stupid whitespace changes in 0.7.A2
14                 * only use tabs for block indenting
15         * cleanup Configure script, rename to more customary ./configure
16         * only use ascii drawstyles with --ascii
17         * help shows default values
18         * fix --dropmode without specified value
19         * customizable chat key
20         * translatable messages
21
22 v0.7.A27
23
24         * clientspecific playerdata seperated from general playerdata (PlayerDisp[])
25         * player names printed over top field grid
26
27 v0.7.A21
28
29         * used curses to invert pause text instead of stdout() so it works in screen
30         * some code cleaned up
31
32 v0.7.A20
33
34         * last gcc warning fixed
35         * messages now scroll bottom to top
36         * your own input is echoed on screen, _ marks cursor in typing mode
37         * long messages can be displayed over multiple lines
38         * typing messages longer than message window moves cursor over old text
39         * empty messages are escaped
40         * key and network handling in main loop in functions
41         * started moving messages to seperate file
42
43 v0.7.A19
44
45         * Sets struct for settings
46         * dropmode settings in single var, cleaned up
47
48 v0.7.A5
49
50         * all robot-stuff removed
51         * standard includefiles for each file instead of generated proto.h
52
53 v0.7.A2
54
55         * different source identing, tabs of 8 chars
56         * a couple of botcalls removed
57         * server switches quadra mode with --quadra parameter
58
59 v0.7.96
60
61         * field messages were slightly corrupted sometimes, somehow :P
62         * handler which redraws when window resizes :)
63
64 v0.7.91
65
66         * buffered message history, can be redrawn
67         * you can send messages, enter key toggles chat mode
68         * messages can contain multiple color tags
69         * in chat mode, backspace backspaces, escape cancels message
70
71 v0.7.831
72
73         * fix bugs in free blocks detection routine
74         * correct J stickiness
75         * players' names displayed in teamcolor
76         * correct Z stickiness, correct check below mask
77         * client reports winner+time and player stats (ppm+apm), calc client-side
78
79 v0.7.830
80
81         * shapes stick vertically as well (not physically visible yet though)
82         * quadra style gravity (shape falls down when possible)
83         * alternate scoring method used in gravity mode
84         * junklines stick horizontally so they don't drop into each other
85
86 v0.7.828
87
88         * server places unteamed players in first unused team
89         * fields are resized to half width if they don't fit on screen
90         * instadrop is default (as in $any::decent::tetris)
91         * dropmodes as options --slidedrop and --dropmode (-d and -D)
92
93 v0.7.826
94
95         * new pieces appear near middle again
96         * junklines have the color of the player/team that added them
97         * fix bug causing wrong number of junklines being sent after 1st game
98         * --nick parameter changes nick from default login name
99         * can turn field spying back on on redraw
100         * new messages on top, old messages scroll down
101
102 v0.7.825
103
104         * shapes are now stored as bitmaps, and slightly altered to match quadra
105         * extensive simplification of many routines because of this
106           (binary just ~1500 bytes smaller)
107         * next piece indicator aligns piece to the right
108         * blocks of a piece are grouped horizontally
109           displays 1 block as [], 2 blocks [[]], 3 blocks [[[]]], stick [[[[]]]]
110         * falling blocks not stored differently from frozen blocks
111           (might cause problems with robot, but i'll deal with that later)
112         * if piece can't be rotated (ie near the edge) it tries to slide it right
113         * fix multiplay transmission of (new) pieces
114         * field reset to 'empty' when player leaves (not 'ready')
115
116 v0.7.821
117
118         * colorcoding altered a bit (server messages white, player stuff colored)
119         * when no team specified, server assigns a team and sends it to player
120         * client displays teamname of joining players
121         * client disconnects also transmitted to g/o players
122         * lag could delay changes to another game, desyncing clients
123           now game info is not transmitted when game has stopped
124
125 v0.7.820
126
127         * server doesn't quit, but just stops game when 1 player/team left
128         * when a game stops, all players are paused and their fields reset
129         * server handles disconnecting clients correctly again
130         * 'player quit' displayed when a client disconnects from server
131         * game ended messages not displayed when a game was ready but not yet started
132         * server sends new game seed at game stop
133         * players' scores and (next) pieces and stuff are reset at new game
134         * scores are erased instead of not drawn (apm/ppm remained at new game)
135
136 v0.7.819
137
138         * shadow piece (preview current piece dropped down)
139         * new players' fields are cleared at start
140         * players are now 'fragged' by the player last adding them lines
141         * ^ when that last player was himself(m/f) (s)he just 'died'
142         * 'Close connection' message no longer displayed
143         * players in teams are displayed in their teamcolor
144
145 v0.7.817
146
147         * went g/o when one player of a team went g/o instead of all of 'em
148         * improved handling of closing connections in server
149         * naw player's name refreshed on join
150         * clients don't receive death signal from rejected player anymore
151
152 v0.7.815
153
154         * server started w/o --continuous exits when just 1 player or team left
155         * players can't join a started non-continuous game
156         * game starts if non-ready player leaves and everybody else is ready
157         * message when you or enemies add junklines
158
159 v0.7.814
160
161         * show (paused) game right after receiving game data, before receiving players
162         * server starts game after receiving minimum number of players (--min-players)
163         * client altered to receive players during game loop
164         * server has --max-players option for player limit (default is 8)
165         * (empty) fields are drawn for maximum number of players
166         * server quits correctly, client quits only when no players are left
167         * players join paused when game hasn't started yet
168         * player's pause state is transmitted by server
169         * server does not keep repeating goahead on every join
170         * ^l (by default) redraws screen (doesn't work correctly on all terms yet)
171         * before game has started, '(not) ready' is displayed instead of 'pause'
172         * 'empty' message over empty fields, 'game over' over dead players
173         * player rejoin fixed
174
175 v0.7.813
176
177         * blocks are normal text in !curses (not bold or anything)
178         * server handles incoming connections as events too (continuously)
179
180 v0.7.811
181
182         * title bar inverted
183         * scorebar less wide (now 3 fields take 82 chars)
184
185 v0.7: 2002-08-10
186
187         * display game over over dead player's field
188         * number of connections can be set with server -c
189         * exiting client automatically goes game over
190         * dead players can't pause the game
191         * -t sets team. players in same team don't get junklines from each other
192         * client no longer displays seed
193         * doesn't display fields which don't fit on screen automatically
194         * quit key (q by default)
195
196 v0.6.810
197
198         * seed and initspeed given by server
199         * exits when only 1 player left (or 0 in singleplayer)
200         * version_string in netris.h
201         * fixed pause for multiple players
202         * paused message displayed over pausing player's field
203         * all players start paused in multiplayer
204         * your own hostname isn't displayed
205
206 v0.6.89
207
208         * server receive fixed (checked nonexisting sock)
209         * host generates and distributes player's host string
210         * handle sigint correctly (not just exit(0))
211         * fix multiplay g/o (close connection at g/o or server signal)
212         * spy=n0 in configfile disables spying for player n
213
214 v0.6.88
215
216         * player 1 always leftmost
217         * server seperate program
218
219 v0.6.87
220
221         * multiplay can handle over 2 players!
222
223 v0.6.86
224
225         * server doesn't play
226
227 v0.6.85
228
229         * titlebar somewhat improved
230         * pause stops time
231         * junklines doesn't move pieces up (unless inside ground)
232         * improved (insta)drop handling
233         * drop/down at bottom forces drop
234         * updated help messages (-[hH])
235
236 v0.6.84
237
238         * same handler for configfile/parameters
239         * linedraw characters unless --ascii specified
240         * levelup handeled correctly
241         * handicap with --level (affects yourself only, unlike --speed)
242         * some variables moved and altered
243         * displays name+host above opponent field
244
245 v0.6.83
246
247         * conffile can have comments (#) and tabs instead of spaces
248         * level up every 10 lines (speed x1.2)
249
250 v0.6.82
251
252         * counts score (as in gameboy version)
253         * reads default parameters from netris.conf (or other file specified with -f)
254
255 v0.6.81
256
257         * shows next piece
258         * displays elapsed time instead of clock
259         * shows ppm, apm and yield
260         * uses arrow keys by default (linux workaround, doesn't work on all systems)
261
262 v0.6: 2002-07-31
263
264         * -D enables instant-drop (classic drop), original -D is now -d
265         * addition key for rotating pieces counterclockwise
266         * displays number of pieces dropped and lines made
267