Main
UNIX
C/C++
IPC Lecture
Lame Stuff
Here is the file: myrpg
Info in main to compile.
Status Update: now working on the mapmaker executable. Source in 'myrpg/mapmaker.c' and 'myrpg/map_enem.c'
By the way, first check the STATUS file for current information.
There is also a wealth of information in the INFO file.
Work has begun once again. I fixed the seg. fault, though mapmaker still doesn't work well enough.
Last Update: Wed. Dec. 24
Status:
This is stalled until the xml parser is completed. I have been having some excellent ideas in respect to a client/server design for where this will be heading. Basically the MyRPG as it sits now will merely be a server that will send/receive xml data that will be used for play. This would likely be massively multi-player, with the possibility for different client interfaces (think some in text and some graphical) with a play flow kind of like the Final Fantasy games.
Here is some XML stuff i wrote from scratch. It's kinda lame, not too good, but hopefully it'll get better. ... And it has! This code is half way done, it will write to the file just fine now, next is the parsing in from the xml file.
xml.tar.gz
Here is an example:file.xml
I have rewritten the XML stuff with a slightly better flow to it.
There is a much cleaner api, and though the parse in (from file) is not completed, it should be very clean. I have a fairly generic idea for an error strings file included in this stuff in xmlErrors.h. The process used in that will eventually be placed in the myrpg stuff.
Anyways, here is the file: newXml.tar.gz.
Update: parsing from file getting very close. Goes into root and first node successfully in gdb.
Update: parsing from file goes into root and root's nodes just fine. (Linear, not recursive for now)
Status:
I have started the read in from file code!
For use it is good to include the xml.h, but even then, all that trully has to be done is linking in the compiled xml.o file. (Reference to the Makefile) One of the goals this time around was to do it as easily as possible from an API standpoint, and to be able in the future to read in not only from files, but also from streams, such as a socket. BTW: myrpg and the mapmaker are stalled until I have a good XML interface to use. The map files got to cumbersome to work with so I'm doing this. Once the mapmaker is done I'll integrate XML into myrpg (maps, player saves, enemies, etc.)