djfitzgerald / dungeon Goto Github PK
View Code? Open in Web Editor NEWFork of Ian Lance Taylor's C-language port of Dungeon 2.7s
Fork of Ian Lance Taylor's C-language port of Dungeon 2.7s
The code as is will not compile under Minix 2.0.2. For one thing, all the files have DOS-Windows style character endings, so the UNIX makefile will need to be smart enough to strip these out during the build process. Additionally, Minix cc
runs out of memory when trying to compile actors.c
. I'm sure that many, many more problems exist.
We currently include a uudecode utility written by David S. Peterson for use with our DOS makefiles. This is a copyrighted piece of code, with permissions to share if the source code prolog is included. We should develop our own uudecode utility from scratch, or find one in C or ASM source under an OSS license.
I'd rather just write my own uudecode utility, if just for the exercise. Then I can ship it as source code, and configure the DOS makefiles to first build that executable from source and then use it to decode the files.
In a previous commit, I updated the dtextc.uu files so that they would work on my Linux laptop. I did this by taking the (known good) DTEXTC.DAT file from a binary MS-DOS install of the "dungeon 2.7s" code, using Linux's uuencode
utility to encode it, and then using Linux split
to break it into four pieces:
cp DTEXTC.DAT dtextc.dat
uuencode dtextc.dat /dev/stdout | split -b 51072
cat xaa xab xac xad | uudecode > dtextc.dat
mv xaa dtextc.uu1
mv xab dtextc.uu2
mv xac dtextc.uu3
mv xad dtextc.uu4
When I tried verifying these still worked under a Borland C++ PC-DOS build, I got the following error:
copy dtextc.uu1+dtextc.uu2+dtextc.uu3+dtextc.uu4 dtextc.uu
DTEXTC.UU1
DTEXTC.UU2
DTEXTC.UU3
DTEXTC.UU4
1 file(s) copied
uudecode dtextc.uu
uudecode: DTEXTC.UU: no "begin" line
** error 1 ** deleting dtextc.dat
When I had been trying to use the original UU files under Linux uudecode
, the resulting dtextc.dat
produced unreadable garbage text in dungeon
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.