Dan Danese 762cb77c60 Fix a bug with the prior commit for handling triggers. It should have (#132)
continued the loop, not returned since it isn't likely to be the end of
the wld file.

Added the ability to specify multiple files on the command line. This
will load all files passed before processing into html files. This is to
fix the 'missing exits' from the output html files. The prior version
only worked on a single zone or wld file and generated incomplete
output. The record count was moved global to enable proper tracking of
the entire world. The index_boot function was modified to scan the files
first, get a record count, then start over and load the room records.

example usage: wld2html *.wld

This command will generate the entire world as one html file per room.

Fixed room number roll over. The original was using a short int which is
a 16bit int and rolls at 32k.

Fixed an issue where the html files would get negative names due to
integer rollover. It had something to do with sprintf an int using %d,
but only if you passed that to fopen. Casting the int (room number) to
a long before using sprintf with %ld fixed the issue.

Added the missing four directions from the dir_names array and defines.

Co-authored-by: Dan Danese <biouxtia@danese.us>
2024-06-20 19:56:51 +02:00
2022-11-06 23:41:31 +01:00
2013-08-21 19:11:36 -04:00
2006-12-19 22:56:18 +00:00
2024-06-08 12:12:54 +02:00
2023-01-02 14:23:51 +00:00
2006-12-19 22:56:18 +00:00
2010-12-02 22:35:47 +00:00
2006-12-19 22:56:18 +00:00
2009-12-05 22:24:22 +00:00
2009-12-05 22:24:22 +00:00
2009-12-05 22:24:22 +00:00
2019-01-19 23:25:38 +00:00
2015-03-29 11:05:35 +01:00
2009-12-05 22:24:22 +00:00
2013-04-13 00:24:38 +02:00
2006-12-19 22:56:18 +00:00
Description
Fork of tbamud for grenzland.club
Readme 14 MiB
Languages
C 72.1%
PLSQL 23%
Jupyter Notebook 2.3%
Roff 1%
CMake 0.5%
Other 1%