From: Per <pka...@ma...> - 2006-08-25 11:32:54
|
=46redag 25 august 2006 13:27, skrev Anthony Cole: > Hey, > > I have checked-in a brief skeleton rewrite of the code I worked on for a > couple of days, > Basically just trying out a few ideas of how to define everything outside > of code, > so I added an xml library and defined the terrain textures using it. Also > I wrote up a class for holding graphic sets.. or sets of images. I want = to > encapsulate the way the frames of say the quad are stored and you can just > request one paricular angle and optain that frame. This way, later when > the data is obtained directly from the data files, the interface will > remain the same. The way the texture definition works allows the code to > smooth the terrain programatically, rather than doing the dodgy hard coded > case based methods. > > OpenGL now works too, check it out.. I want to split it out into a sepera= te > library. There would be one for software rendering too, which probly > doesn't work at the moment not sure. > I want all the units/structures/bullets defined in a defination file, they > only really needs to be a few unit classes to handle them this way, and > then we could use a scripting language to handle their behaviours in a > definition file somehow. > > I did all this code before checking out the branch! oh well, Ill check it > out soon, but anyways I think this code structure is far better than whats > in the trunk, Im sure we can incorporate all the good sections of code in= to > one branch. > > I placed this code in a new folder because it is a big change from the > current trunk, completely unrelated files. > > Please check out the code, i have included an exe there too so you won't > need to compile it using vc++, which is the only thing I have going for t= he > moment. Let me know what you think about it, please feel free to rip it = to > shreds with constructive criticism. > > Grab a data folder from a working trunk version, and throw in the terrain > folder from the new branch and the exe should work. > > Cheers > Anthony > > Tony > > _________________________________________________________________ > All-in-one security and maintenance for your PC. Get a free 90-day trial! > http://www.windowsonecare.com/trial.aspx?sc_cid=3Dmsn_hotmail > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Dunelegacy-devel mailing list > Dun...@li... > https://lists.sourceforge.net/lists/listinfo/dunelegacy-devel Oh, Anthony, have you actually checked the new devel branch, dunks? Please stop by #dunelegacy @ irc.freenode.net, that's where we do 99% of al= l=20 communication, also please get updated with a thorough look at the wiki=20 pages. =2D-=20 Regards, Per =D8yvind Karlsen Mandriva |