From: Daniel L. <leonard@IRO.UMontreal.CA> - 2000-05-16 04:25:20
|
My java bzfs is up on my site http://www.iro.umontreal.ca/~leonard/bzflag/bzfs/ It is as it is on my hardrive. The code is commented (with humour sometimes). What should concern Chris and what is related to sub-classes of world is in bzfs.core.Parser and bzfs.core.Bzfs (in method defineWorld()). Drop in if you do not understand. I'll try to finish it this summer once I finish bzworld. I would also like comments on my papers in http://www.iro.umontreal.ca/~leonard/bzflag/papers/ Thank you for your attention, you can return to your duties. ------------- Daniel Léonard Computer Science Student "Anything worthwhile takes time" Université de Montréal -Phong in Enzo the Smart, Reboot http://www.jsp.umontreal.ca/~leonard :BUT, you can subclass it and redefine the generating methods. There were 3 :methods you could override (approximate name, no arguments shown): : :createRandomWorld() :createCTFWorld() :createWorldFromFile() : :So if you do not like current CTF world, you could make your own subclass, :pass the full name of the class as an argument and the default class gets :toss apart in favor of your. : :On that idea, if Tim does really like VRML world, he only need to make a :VRLM2BZFS parser in its subclass :). : :Is that possible in C++. It would be like Quake3 weapon modifications, you :create your own library following certain rules and bzfs loads it instead :of the default. It might need some major modification to bzfs tough, :especially since bzfs is not that much OO. I'll make my (none yet working) :code on my site as soon as I get home (around midnight EST). : :Hope I am clear and did not miss anyone. |