Mail Archives: djgpp/1995/03/17/13:08:45
> I am writting a game called Mechanisms. I want the user to be able to
>program the Robots with C++ code. Is there any way that I can decifer someone
>else's .o code and link it on the fly?
>
> Or, does anyone know where I can get any info on C++ robots?
>
>Thanks.
There's a game called C++Robots, played by e-mail, run by Richard Rognlie
(rrognlie AT netcom DOT com or rrognlie AT prc DOT com) -- not sure if he uses a compiler
embedded within the game, or if he links everything beforehand. He should
be able to give you some pointers, and possibly the source he's using.
You could probably link code on the fly; look for the COFF spec or appropriate
header files. I'd suggest looking at the source for ld, but that's dangerous
if you want to release a commercial product (better to build from scratch
or from PD sources instead).
Just my personal $.02
- Raw text -