Author Topic: Glest +Effects mod  (Read 2171 times)

daniel.santos

  • Guest
Glest +Effects mod
« on: 5 February 2008, 08:49:03 »
As some of you know, I've been working on a mod to glest to add temporary effects that are configurable from XML.  I finally screwed with my server and put up the sources (big diff and a few new files).  Although the code is currently stable, there's a lot of need for cleanup, documentation and clarification on what was done and why.  In general, my hope was to fill in some of the gaps between Glest and modern commercial 3d RTS engines.  I have a small info & specification page up on docs.megaglest.org here that is mostly up to date and correct.  I'll try to come back soon and post more details about the code changes and how they work.  I've been testing with the four path magitech that wciow and I are working on, and it seems to be working pretty nicely.  Please note that I have hailstone's full screen toggle code in here and my last understanding is that it doesn't work on Windows, so you may have to comment part of that out to get it to compile.  The current sources/patch set works with revision 101.

Code: [Select]
[url=http://glest.codemonger.org/files/glest-r101-effects-20080205.tgz]http://glest.codemonger.org/files/glest ... 080205.tgz[/url]
Also, if you need a place to host glest mods and such, let me know.  I setup a subversion repository and put the beginnings of our "extmagitech" files up (which only works right with the effects mod).  Don't try to play it for fun, it's unbalanced (no work on tech side yet).
Daniel

Known Bugs
  • <fixed>Sometimes crashes if you exit a game while there are effects active on any units.
  • Speed modifications for morphing, repairing, harvesting and building don't seem to be getting applied or displayed
  • It's possible to modify a units speed to a negative number causing them to move backwards.  A flag may need to be added to make it possible to prevent this.

Edit: sources now in subversion at
Code: [Select]
[url=https://glest.codemonger.org/svn/repos/glest/trunk]https://glest.codemonger.org/svn/repos/glest/trunk[/url]
« Last Edit: 18 June 2016, 19:55:31 by filux »

daniel.santos

  • Guest
API docs
« Reply #1 on: 6 February 2008, 10:48:32 »
I added some doxygen documentation to the changes I've made in my mod, generated the docs and stuck them here:
Code: [Select]
[url=http://glest.codemonger.org/glesty/api_docs]http://glest.codemonger.org/glesty/api_docs[/url].

Martiño, please let me know if this is something you would be interested in eventually integrating into Glest.
« Last Edit: 16 April 2016, 08:13:07 by filux »

hailstone

  • GAE Team
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
-
« Reply #2 on: 7 February 2008, 04:53:41 »
I remember using doxygen for Glevolution but I think you have set it up better. It really helps with browsing the code.

I also noticed you have kdevelop project files in the repository. Did you set it up to compile using jam or are u only using it as an editor?
« Last Edit: 16 April 2016, 08:13:42 by filux »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

daniel.santos

  • Guest
(No subject)
« Reply #3 on: 7 February 2008, 05:02:45 »
Yea, I agree on Doxygen, I haven't used it in a very long time.  I'm actually only using Kdevelop it as an editor and I didn't realize that I had checked those files in, that was actually a mistake.  One of their binary files gets pretty big.  I'm using Jam to compile, the only thing I did differently was to move the build files and the "mk" subdirectory that's normally under trunk/mk/build to /trunk/sources.

Another thing that I haven't done is figure out how to use valgrind :)
« Last Edit: 1 January 1970, 00:00:00 by daniel.santos »

hailstone

  • GAE Team
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
-
« Reply #4 on: 7 February 2008, 07:42:33 »
Thanks for the information.

I hadn't heard of valgrind before, it looks good from what I read on their website. I've been interested in getting an automated build server or build monkey setup for nightly builds and code review (email on change to repository). Do you know anything about them?

This one looks interesting:
Cabie Automated Build System

Here are some commercial ones:
Pulse
Automated Build Studio
Code: [Select]
[url=http://www.buildmonkey.com/]Build Monkey[/url]
« Last Edit: 16 April 2016, 08:15:13 by filux »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/