WvDBusMsg::is_reply() had an unnecessary hack for message #1.
[wvapps.git] / twc / ChangeLog
blob06fddaa6c0b5bf2db2460ea58df1419180f76a59
1   (mcote) Wed Nov 12 12:44:14 EST 2003
2         Some fairly major design changes.  Added transporter & basic pirate
3         functionality.  Added design notes in design.txt.
5   (mcote) Fri Aug 22 20:26:17 EDT 2003
6         Added sell_ship() routine.  Factored out ship destruction code into
7         remove_ship().  Miscellaneous other small bug fixes.
9   (mcote) Mon Aug 11 23:38:44 EDT 2003
10         Changed a few parameters to consts.  Fixed target finding for
11         attacking.  Renamed a couple things in the StarDock.
13   (mcote) Mon Aug 11 22:37:07 EDT 2003
14         Added cheap top-level Makefile.
16   (mcote) Mon Aug 11 20:00:45 EDT 2003
17         Changed StarDock port type to 0 (normal commodity ports are type
18         1).  Added "stardock shipyards" section to sample twc.ini.  Changed
19         Purchase::cash() and Sale::cash() to ask if the player's sure and
20         print out current cash amount when done.  Added ability to buy new
21         shield and weapon.
23   (mcote) Fri Jul 11 16:43:50 EDT 2003
24         Fixed a typo.
26   (mcote) Fri Jul 04 18:04:52 EDT 2003
27         Changed sell() to handle_transaction().  Pass it a Purchase or a Sale
28         and it'll get the type & number from the player and return them with
29         the cost.
31   (mcote) Fri Jul 04 04:47:19 EDT 2003
32         Added a sell() function to TWCPlayerClient.  Pass it a UniConf,
33         a category to sell (such as "Commodities"), and the amount of
34         free_space, and it'll get the info from the user, deduct the cost, and
35         return a Purchase.
37   (mcote) Thu Jun 26 03:58:16 EDT 2003
38         Added TODO file. hooboy.
40   (mcote) Thu Jun 26 03:37:58 EDT 2003
41         Ships can now tow other ships.
43   (mcote) Thu Jun 26 02:29:36 EDT 2003
44         Initial shield strength of a new ship was not being set properly.
46   (mcote) Sun Jun 22 17:47:04 EDT 2003
47         Changed almost all location functions to be members of
48         TWCPlayerClient.  This avoids having to pass a player * everywhere.
49         Consolidated all StarDock functions into one file.
51   (dfcarney) Mon Mar 10 17:03:04 EST 2003
52         Added some comments.  Cleaned up some white space.
54   (mcote) Fri Mar 07 18:35:30 EST 2003
55         Added a message for landing on planets and long-range scans.
57   (mcote) Fri Mar 07 17:53:22 EST 2003
58         Added some ship info to quick stats.  Also changed currency to
59         singular (please keep it singular!).
61   (mcote) Fri Mar 07 16:35:53 EST 2003
62         Added an event handler to TWCGameController.  Added automatic shield
63         regeneration.  Switched the config file saving to the new event
64         handler.
66   (mcote) Fri Mar 07 01:27:49 EST 2003
67         Got rid of a couple debug messages.
69   (mcote) Fri Feb 07 21:38:42 EST 2003
70         Added transport capabilities.  Transporting to ships you own (i.e.
71         /ships/*/owner matches your id) is automatically authorized.
72         Transporting to other ships is forbidden, unless /ships/*/password is
73         set and given by the transporting player.  Still to come: setting ship
74         passwords.
76   (mcote) Fri Feb 07 20:17:34 EST 2003
77         Docking at a port now costs 1 turn.
79   (mcote) Fri Feb 07 20:13:14 EST 2003
80         Cleaned up twcship.cc slightly (but not much).  Added support for
81         turns; moving costs /shipclasses/*/move cost, and attacking costs
82         /shipclasses/*/attack cost.  There's no regeneration of turns yet
83         though.
85   (mcote) Fri Feb 07 19:01:57 EST 2003
86         Cleaned up twcattack.cc a little, using UniConf "aliases" for ships.
87         Also added capture ability; it the target ship's shields drop below
88         [global][capture threshold] but are above 0, the ship becomes property
89         of the attacker (the target player flees in an escape pod).  You can
90         only capture non-escape-pod ships.  There is no way to transport to
91         other ships yet, though.
93   (mcote) Fri Feb 07 15:25:25 EST 2003
94         Deleted includes of obsolete UniConf header files.  Fixed new_user()
95         so that it actually puts the new user's info into twc.ini.
97   (dfcarney) Fri Jan 24 16:56:21 EST 2003
98         Now, erases all sector information before new info is written.
99         Moves all ships to sector 1, preserves port info (but locations are
100         overwritten)
102   (dfcarney) Fri Jan 24 15:49:54 EST 2003
103         Fixed 'usage' typo
105   (dfcarney) Mon Jan 20 15:13:44 EST 2003
106         (minor tweak to fprintf)
107         
108         Note: customized route info section is not complete because i'm not
109         sure how we want to interface to it...
111   (dfcarney) Mon Jan 20 14:59:39 EST 2003
112         Added support to allow 'makeroutes' to be used to calculate individual
113         routes.  This is important for the (albeit rare) instances when a
114         user will want to run the autopilot, but the 'shortest path' that's
115         stored in routes.dat passes through one or more of the user's 'avoid'
116         sectors.
118   (mcote) Sun Jan 19 18:01:39 EST 2003
119         Fixed bug with new players getting two ships.  Switched all write()s
120         to print()s.  Eliminated all int-to-WvString conversions in UniConf
121         keys.
123   (dfcarney) Fri Jan 17 20:25:24 EST 2003
124         A lot of changes... basically, changed the format of twc.ini
126   (dfcarney) Fri Jan 17 20:05:45 EST 2003
127         we probably don't need to check this in anymore because 'makeroutes'
128         can generate it from twc.ini...but still...
130   (dfcarney) Fri Jan 17 20:05:06 EST 2003
131         Created w/ the help of the universe generator
133   (mcote) Fri Jan 17 19:23:02 EST 2003
134         Phew.  Added a strip_slash() function to get rid of the annoying
135         slashes at the beginning of strings returned from UniConf::key().
136         Updated twc.ini a bit.
138   (mcote) Fri Jan 17 18:30:53 EST 2003
139         Put twcdefaults.ini back into twc.ini until UniConf has default tree
140         support.  I *think* everything works now (or, at least works as well
141         as it used to).
143   (mcote) Fri Jan 17 17:16:00 EST 2003
144         TWC universe generator updates for new UniConf.  Everything now
145         compiles.
147   (mcote) Fri Jan 17 02:14:25 EST 2003
148         Converted some stuff to the new UniConf.  Still doesn't work quite
149         properly, though...
151   (apenwarr) Mon Jan 13 03:18:42 EST 2003
152         Made twcgamecontroller and twcplayerclient compile again with the new
153         UniConf.
155   (mcote) Fri Jan 10 19:00:44 EST 2003
156         All default UniConf entries (commodities, ship classes, weapons, etc.)
157         are now in twcdefaults.ini.  All changing or game-specific items
158         (sectors, ships, players, etc.) are left in twc.ini.  This way, admins
159         can change names of commodities and such by putting them into twc.ini;
160         otherwise, they default to the "factory defaults" in twcdefaults.ini
161         (which doesn't change).
162         
163         This isn't actually in the code yet, but seeing as how UniConf is
164         constantly morphing at the moment, it doesn't really matter.
166   (mcote) Fri Dec 06 19:12:12 EST 2002
167         Fixed up route stuff.
169   (mcote) Fri Dec 06 18:42:02 EST 2002
170         Added makeroutes to .cvsignore.
172   (mcote) Fri Dec 06 18:41:16 EST 2002
173         .cvsignore for Dijkstra directory.
175   (mcote) Fri Dec 06 18:40:12 EST 2002
176         Fixed up Makefiles.  Changed UniConfClient declaration in
177         twcgamecontroller.
179   (dfcarney) Fri Dec 06 18:36:31 EST 2002
180         updated to use variable ["global"]["sectors"] in ini file
182   (dfcarney) Fri Dec 06 17:27:47 EST 2002
183         removed useless comments
185   (dfcarney) Fri Dec 06 17:26:49 EST 2002
186         cleaned up some useless code, removed some debugging code, added some
187         comments
189   (dfcarney) Fri Dec 06 17:14:39 EST 2002
190         Dramatically improved speed of route.dat generator
192   (dfcarney) Fri Dec 06 15:28:35 EST 2002
193         Updated UniConfIniFile call to reflect new interface
195   (dfcarney) Fri Dec 06 15:19:23 EST 2002
196         Updated to build the routes.dat generator (makeroutes) and necessary
197         components.
199   (dfcarney) Fri Dec 06 15:18:58 EST 2002
200         Uses Dijkstra's algorithm to calculate paths for twc autopilot (from
201         output of ./generator)
203   (dfcarney) Fri Dec 06 15:18:09 EST 2002
204         User can now specify input/output filenames from the command line.
205         
206         Removed some code used for debugging.
208   (dfcarney) Fri Dec 06 15:16:29 EST 2002
209         Dijkstra algorithm.  See README
211   (dfcarney) Fri Dec 06 14:50:49 EST 2002
212         Directory /twc/src/Dijkstra added to the repository
214   (mcote) Fri Dec 06 01:57:01 EST 2002
215         Switched TWC to use UniConfDaemon.  Note that, until I make some
216         sort of shell script at least, you have to start up UniConfDaemon
217         by hand, pointing it to the config file.  Something related to the
218         UniConfClient crashes TWC when it's exiting, though...  Also switched
219         the TWC generator to use the new UniConfIniFile syntax.
221   (mcote) Fri Nov 29 05:14:10 EST 2002
222         When you're in an escape pod and die, or when you first join, you are
223         now given a new ship.  The attack routines are more or less done now,
224         although we have to put in loot (from destroyed ships) somehow.
226   (mcote) Fri Nov 29 04:26:56 EST 2002
227         Added generator to .cvsignore.
229   (dfcarney) Sun Nov 24 21:01:40 EST 2002
230         Now, outputs to a UniConf file...
232   (dfcarney) Fri Nov 22 20:18:01 EST 2002
233         Added Sector::id variable to help keep track of different sectors in
234         various containers (all_sectors, planets, bases, etc...)
236   (dfcarney) Fri Nov 22 19:44:29 EST 2002
237         Added a fn. to add bases, etc...
239   (dfcarney) Fri Nov 22 19:18:24 EST 2002
240         Restructured code in the universe generator to make it more object
241         oriented and, as a result, easier to use/understand
243   (mcote) Fri Nov 22 17:49:38 EST 2002
244         More attack routines.  Now, when a ship isn't already an escape pod,
245         it converts into an escape pod after being destroyed.  Still have to
246         handle the destruction of an escape pod.
248   (mcote) Fri Nov 22 15:06:24 EST 2002
249         Put in an escape pod ship class.
251   (dfcarney) Wed Nov 20 20:06:29 EST 2002
252         Made the code easier to read.
254   (dfcarney) Wed Nov 20 20:05:42 EST 2002
255         Changed couts to fprintfs
257   (mcote) Tue Nov 19 23:05:30 EST 2002
258         More attack routines.  Switch UniConf stuff to use the new mount()
259         function.
261   (dfcarney) Tue Nov 19 19:04:47 EST 2002
262         Added some more WvLog messages.  Cleaned up the code a little.
264   (dfcarney) Tue Nov 19 18:36:57 EST 2002
265         Added WvLog support
267   (dfcarney) Tue Nov 19 18:18:19 EST 2002
268         Out with the old...in with the new.  This is the check-in for the new
269         universe generator.  As of this check-in, it generates and outputs a
270         list of sectors along with the sectors to which they are connected
271         (and the distance of said connections).
272         
273         Things to add: -support for the inclusion of planets, ports, etc...
275   (mcote) Fri Nov 15 20:07:42 EST 2002
276         Gaussian random number generator.
278   (mcote) Fri Nov 15 16:35:03 EST 2002
279         Added a short delay every time a ship warps to another sector.
281   (andrew) Fri Nov 15 15:36:44 EST 2002
282         Horribly broken and terribly written galaxy generator being checked in
283         so others can mock it.
285   (dfcarney) Thu Nov 14 18:10:52 EST 2002
286         fixed a bug that would cause twcshipmove to loop endlessly if the
287         player specified that they wanted to go to a sector that does not
288         exist.
290   (dfcarney) Thu Nov 14 15:01:30 EST 2002
291         Details on getting twc up and running after a checkout.
293   (mcote) Sun Nov 10 23:43:48 EST 2002
294         Added an event handler class for timed events like shield
295         regeneration, self-destructs, etc.
297   (mcote) Fri Nov 08 20:21:20 EST 2002
298         Players can only log in once now.
300   (mcote) Fri Nov 08 20:09:13 EST 2002
301         Forgot to put a captain for one of the ships, causing warp notices to
302         not work properly.
304   (mcote) Fri Nov 08 16:48:27 EST 2002
305         Changed the game controller to use UniConfGen's new constructor.
307   (mcote) Fri Nov 01 17:20:56 EST 2002
308         Basic buying and selling of commodities.  Still need to add some
309         haggling (maybe) and post-transaction price modification.  Also
310         checking in the latest sample twc.ini.
312   (mcote) Fri Oct 18 19:09:29 EDT 2002
313         Changed how docking works a little.  Fixed a bug with saving
314         passwords.
316   (ppatters) Fri Sep 20 19:37:07 EDT 2002
317         Starting to get some of the bar functions working.. I think I just
318         created the first cash sappers in our universe ;)
320   (mcote) Fri Sep 20 18:25:33 EDT 2002
321         Fixed a big error in continue_getline().  Added the ability to list
322         prices at space ports.
324   (mcote) Fri Sep 20 15:23:21 EDT 2002
325         It'd help if I actually checked in the SpacePort files...
327   (mcote) Fri Sep 13 17:19:43 EDT 2002
328         Hopefully solved any problems caused by dropping a connection while
329         waiting for input.
331   (mcote) Fri Sep 13 13:21:39 EDT 2002
332         Port stuff.
334   (mcote) Fri Sep 13 09:45:50 EDT 2002
335         Let's use capital letters for planet classes.
337   (mcote) Fri Sep 13 09:41:24 EDT 2002
338         Added a basic ship autopilot.
340   (ppatters) Fri Sep 06 19:38:00 EDT 2002
341         And there were planets, with people and rocks, and little fishies,
342         and....
344   (ppatters) Fri Sep 06 18:43:02 EDT 2002
345         Started getting some of the move stuff in place
347   (mcote) Fri Sep 06 18:31:10 EDT 2002
348         Fixed ship docking routine.
350   (mcote) Fri Sep 06 18:13:14 EDT 2002
351         Warping to non-adjacent sectors now works.  Did a couple spelling in
352         twc.ini.  The sector is now displayed when you log in.
354   (ppatters) Fri Sep 06 17:43:22 EDT 2002
355         Stan's Super Specials, more UI cleaning, just so that I don't end up
356         conflicting with other twc.ini changes as they come in ;)
358   (mcote) Fri Sep 06 17:30:10 EDT 2002
359         Sample routing file for 6 sectors (corresponds with sample twc.ini).
360         Added find_route() function to TWCGameController.
362   (ppatters) Fri Sep 06 16:59:25 EDT 2002
363         Currency Name is now configurable
365   (ppatters) Fri Sep 06 16:51:27 EDT 2002
366         ? help now works... QuickStats are at least displaying something.
368   (mcote) Fri Sep 06 16:46:48 EDT 2002
369         Added a global section to the config file.
371   (ppatters) Fri Sep 06 16:20:05 EDT 2002
372         Prompts are now somewhat usefull in both verbose and non-verbose
373         modes. Misc Stardock related things. New Players are created with 0
374         alignment, and 300 credits... (I'm going to need SOMETHING for these
375         values shortly with the stardock stuff ;)
377   (mcote) Fri Sep 06 16:17:00 EDT 2002
378         Discarded extraneous 0's from the beginning of sectors in config file.
379         Fixed twcship.cc to use new port config.
381   (mcote) Fri Sep 06 16:01:06 EDT 2002
382         Rearranged config file.
384   (ppatters) Fri Sep 06 15:36:46 EDT 2002
385         More Spacedock stuff...
387   (ppatters) Fri Sep 06 15:19:46 EDT 2002
388         Starting to get more of the stardock filled in...
390   (ppatters) Fri Sep 06 14:56:38 EDT 2002
391         Verbosity now works...
393   (mcote) Fri Sep 06 14:55:50 EDT 2002
394         Fixed broken config file.
396   (ppatters) Fri Sep 06 14:04:26 EDT 2002
397         Computer... Hello... are your there computer??
399   (ppatters) Fri Sep 06 13:46:16 EDT 2002
400         StarDock menu now wired in, and the sector scanner also knows how to
401         find ports in a given sector
403   (ppatters) Fri Sep 06 12:51:35 EDT 2002
404         Wire the Attack menu in properly
406   (ppatters) Fri Sep 06 12:09:05 EDT 2002
407         Many more UI type things...
409   (mcote) Sat Aug 31 00:08:08 EDT 2002
410         Extraneous -L variable in Makefile.
412   (ppatters) Fri Aug 30 20:28:39 EDT 2002
413         And Yet more ANSI stuff... we now even have lines and things ;)
415   (ppatters) Fri Aug 30 16:54:32 EDT 2002
416         More twc.ini ANSI stuff
418   (mcote) Fri Aug 30 16:35:33 EDT 2002
419         Small fix to new_user().
421   (mcote) Fri Aug 30 16:34:06 EDT 2002
422         Oopsy in twc.ini... I don't know why I started using 3 digits for
423         sectors.
425   (mcote) Fri Aug 30 16:32:52 EDT 2002
426         Took out some extraneous stuff from sample ini file.  Added "Scan"
427         option to ship menu.  Fixed a newuser thingy.
429   (mcote) Fri Aug 30 16:01:23 EDT 2002
430         Twc now uses config file in /usr/local/share/games/twc/twc.ini.  Also
431         did more of newuser function.
433   (ppatters) Fri Aug 30 15:40:14 EDT 2002
434         Started adding in some ANSI Screens - for now, set TERM=ANSI before
435         telnetting in (I think ;).
437   (mcote) Fri Aug 30 15:34:34 EDT 2002
438         Converted twcship functions to use cfg[arg1][arg2][arg3].
440   (mcote) Fri Aug 30 14:18:49 EDT 2002
441         Changed cfg calls to the more comprehensible [arg1][arg2][arg3]
442         format.  Rearranged the main loop a little.
444   (mcote) Fri Aug 30 02:46:08 EDT 2002
445         Looks like I sorta forgot to check in that sample ini file...
447   (mcote) Thu Aug 29 02:58:22 EDT 2002
448         Added .*.d to .cvsignore.
450   (mcote) Mon Aug 26 16:26:20 EDT 2002
451         Players are notified when ships enter and exit their sector.
453   (mcote) Mon Aug 26 14:55:42 EDT 2002
454         Some starship movement implemented.  Also put a sample config file,
455         twc.ini, in this directory.
457   (mcote) Fri Aug 23 15:33:32 EDT 2002
458         Added an (incomplete) ship move funtion.
460   (mcote) Mon Aug 19 14:49:23 EDT 2002
461         Switched TWCPlayer to TWCPlayerClient.  Also made location functions
462         (like ships, space ports, etc.) getline() themselves, rather than
463         passing a line of input to them.