Games: Netrun: v0.0.9b1
Main |
About |
News |
Install |
To Do |
Contribute |
Links |
Netrun @
Sourceforge
This version came roughly four months of very part-time work after v0.0.1b1. Many things had been done in the interim
- loading and saving things was now half done, server-server netspace had
been implemented, and there were several internal changes to go with it.
We could really use some decent server names.
- Lots of functions hackishly modified to take a pRunner argument rather
than just going for runner. It's _supposed_ to allow me to run things
properly without a runner loaded, but from the looks of things it's just
going to generate problems. I haven't even made them _do_ the
null-checks yet. This may be reversed in a later version.
- Netspace loading and saving (working but not yet finished. Beware:
finished format is incompatible with current)
- Two more server layouts, much more interesting than the first two
- There are now twenty-six server names for each level - but most are
quite obviously placeholders. Help!
- function start_run() removed
- Added log() function and supporting code. Prints the time, an arbitrary
string and a newline to a logfile (currently "netrun.log"). bug() s are
also put to the logfile (prefix "BUG: ").
By file
server.c
- assign_ice() now takes a level argument rather than taking it from
*server.
- So does assign_spoils().
- init_server() now returns * SERVER_DATA (allocates)
bank.c
- Stat call added to some functions - wanted it to update within them.
- Some functions got a where check and running_off().
core.c
- Several functions in core.c renamed for the author's aesthetic
preferences. *sigh*
- Where checks.
- do_home() can now save game from here ('update diary')
- Stat lines (do_sellinfo(), do_programs_sell())
- A chunk of code removed from do_startrun() replaced with where =
W_NETSPACE;. Netspace impl.
defines.h
- Added types NETSPACE_DATA, NETSPACE_TYPE_LIST and SERVER_LEVEL_LIST,
with accompanying tables, predefined variables or con/destructors as
appropriate.
- Added defines MAX_NET_X, MAX_NET_Y
- SERVER_DATA now points to a name.
- program_type_list_type now has entries for the fulltype name (for
saving/loading) and another function for running programs in
netspace.
- Added enum netspace_type
- Added enum where_state;
- netspace_type_list_type
- server_level_list_type
display.c
- Order of functions severely reshuffled.
- Functions re-written to use the IBM line-drawing character set
(ACS_*) - the frame is drawn first, then the content is printed.
- Pr() inteface implemented, and in heavy use inside display.c's
functions. (Conversion not finished. It's not cleanly tested yet,
but it seems to work.) TODO: Document it.
- display_room() changed - the lines for each of the blocks are now in
the one place.
- display_net_space now loops out the individual netspaces rather than
having a (more) hardcoded co-ordinate list.
- display_...._ and _0 amalgamated into one function that does both
lines.
- added function SERVER_LEVEL_LIST * server_level_name(), which
converts the internal integer level into a textual representation via
a table. Needs documenting, obviously.
- display_programs_running() now works - there will always be ten slots
displayed, even when carrying 9 MU of programs.
do_misc.c
- do_start() mildly rewritten - the new player commands have been moved
to a new function create_game().
global.h
main.c
- do_core() dropped.
- Added global variables where_state, server_x, server_y, possibly
running, netspace[][], start_net_x and y, and FILE * pLog.
- Added global variable pr_window, for pr() and friends.
- Added /* HACK */ char save_file[200];, name of current savefile.
- Initial do_start() call and do_running() else do_core() removed in
favour of the where system.
- Warning: exit_properly() automatically saves to "foo.sav" (not
anywhere else, at all).
misc.c
- A slight string hack to get around cfunctions not interpreting a
double-backslash correctly - added string backslashstring. Credits to
Valrejn on #afd.
- morewait() now calls err_blank() on exit.
- Macro kill_that_window() now checks for a null argument.
movement.c
- do_running_move() If you walk onto a NULL room, you leave the server
and return to netspace.
output.c
- functions removed: disp_init(), disp(), disp_print(),
- functions added: log(), and the pr() series:
pr_pick(), pr_blank(), prm(), prd(), pr(), prc(), rch(), and
pr_print().
- init_output() opens the log file for write - stop_output() closes it.
programs.c
- program_intr() and program_decr() only put the result of their
breaking attempt on another line if the room is free of ICE.
- Added function program_no_use_netspace() for programs that _have_ no
use in server-server netspace such as intrusion software.
running.c
- function start_run() removed.
- stop_run() now also turns off running mode, uses the repair util
(assuming the runner is still alive) and logs that the player has
left the net.
- do_running() logs that the player has entered the server. It no
longer handles the running of util_repair and turning off running
mode - stop_run() does that.
- do_running_runner_run() modified for running programs both inside and
outside of servers.
saved.c
- Saved.c pretty well much two-thirds done! Nearly everything in there
is new as of the last release. Reading and writing netspace, the
runner and their programs has been implemented (netspace not quite
finished, see above).
- A lot of things added to saved.c:
- Macro KEY()
- load_saved_game() renamed to load_game(), changed
- /* HACK */ Define MAX_STRING_LENGTH 200
- write_game(), read_game(), write_runner(), read_runner(),
write_program(), ...
- TODO file updated. It's neater now, if twice as long.
- README file updated.
- INSTALL file updated.
- AUTHORS file changed.
- NEWS file updated.
- configure.in updated.
- ( ChangeLog updated. ;) )
[Top]
You can get the tarball here:
http://download.sourceforge.net/netrun/netrun-0.0.9b1.tar.gz.
Installation instructions.
[Top]
TODO: Take some decent screenshots of the new version! The new splash
screen, server-server netspace shot, the IBM line-drawing characters...
[Top]
This page © Kevin C. Rudat, 2000. |
Last updated August 3, 2000. |
Read the disclaimer. | Sitemap.
Hosted at .