FreeOrion

Forums for the FreeOrion project
It is currently Tue May 21, 2013 1:08 pm

All times are UTC




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 105 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7
Author Message
 Post subject:
PostPosted: Sun Feb 29, 2004 3:07 pm 
Offline
Vacuum Dragon
User avatar

Joined: Fri Dec 26, 2003 12:42 pm
Posts: 872
Location: Germany, Berlin
Files affected:

UI/FleetWindow.cpp


Purpose:

UI/FleetWindow.cpp
- fixed a crash, in FleetDetailWndClosing(FleetDetailWnd* wnd) wnd was deleted twice if you press NewFleet, drop a ship into that window and remove it via drag&drop (wnd is deleted in DeleteFleet() and FleetDetailWnd::CloseClicked())


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 07, 2004 12:34 am 
Offline
Vacuum Dragon
User avatar

Joined: Fri Dec 26, 2003 12:42 pm
Posts: 872
Location: Germany, Berlin
Files Affected:

universe/Universe.cpp
universe/Universe.h

UI/FleetWindow.cpp
UI/FleetWindow.h


Purpose of Change:

universe/Universe.cpp
universe/Universe.h
- added a signal which is fired when a universe object is about to be deleted


UI/FleetWindow.cpp
UI/FleetWindow.h
- added code to handle situations in which a fleet is deleted from outside
- this fixed the crash when colonizing a planet with a fleet which is empty after removing the colony ship


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 07, 2004 1:20 pm 
Offline
Vacuum Dragon
User avatar

Joined: Fri Dec 26, 2003 12:42 pm
Posts: 872
Location: Germany, Berlin
Files Affected:

UI/CUI_Wnd.cpp
UI/CUI_Wnd.h

UI/InGameOptions.cpp
UI/InGameOptions.h


Purpose of Change:

UI/CUI_Wnd.cpp
UI/CUI_Wnd.h
- now using MinimizedLength to determine minimum window width and made it virtual to handle different minimum window widths
- added ifdefs to handle an error on windows build (CloseClicked)

UI/InGameOptions.cpp
UI/InGameOptions.h
- InGameOptions window now uses it's own minimum width (which is lower than the default)
- fixed the resize InGameOptions window when moving it


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 07, 2004 1:56 pm 
Offline
Programmer
User avatar

Joined: Sat Jun 28, 2003 8:17 pm
Posts: 376
Location: Heidelberg, Germany
Note that this commit was made before Ronalds last two commits, therefore, those aren't in the Windows-binary while this commit made it into the installer...
Files affected:
All .dev-files
client/human/HumanClient.ico
client/human/HumanClientApp.cpp
client/human/camain.cpp
Installer/Installer.nsi
root Makefile.am (The Installer contains the older revision)

Purpose:
  • Added Icon
  • Dev-Cpp now builds with "-O3 -fexpensive-optimizations", increasing the build-time. If you want to revert it, you can do as follows (off-memory): under Dev-Cpp, select Options/Project Options -> optimizations (there are two settings you have to modify, one is hidden in a subtree)
  • Added "-f" = "--fullscreen" option, I noticed later that another option also had "-f" as shorthand, I will fix this later
  • Updated installer-script for the release


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 07, 2004 6:51 pm 
Offline
Vacuum Dragon
User avatar

Joined: Fri Dec 26, 2003 12:42 pm
Posts: 872
Location: Germany, Berlin
Files Affected:

UI/FleetWindow.cpp

UI/ClientUI.cpp

UI/MapWnd.h

Purpose of Change:

UI/FleetWindow.cpp
- fixed context menu bug - renaming dlg now only popup if >rename< was selected
- fixed drop ship bug - it's only allowed to drop ships between fleets at the same system (this applies also to new fleets ;-) )
- added context menu to ship-list (rename, colonize planet)
- if we have colonized a planet, mapwnd::sidepanel is set to the corresponding system

UI/ClientUI.cpp
- hiding mapwnd::sidepanel when picking a planet

UI/MapWnd.h
- added code to access mapwnd::sidepanel


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 08, 2004 4:37 pm 
Offline
Programmer
User avatar

Joined: Sat Jun 28, 2003 8:17 pm
Posts: 376
Location: Heidelberg, Germany
Files affected:
WindowsKit.zip

Purpose:
Updated GG, now Dev-Cpp builds work again


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 10, 2004 7:14 pm 
Offline
Vacuum Dragon
User avatar

Joined: Fri Dec 26, 2003 12:42 pm
Posts: 872
Location: Germany, Berlin
Files Affected:

util/Order.cpp

universe/UniverseObject.cpp

Purpose of Change:

util/Order.cpp
- fixed another bug which belongs to FleetColonizeOrder: if we delete a fleet we must FIRST remove the fleet from empire and then from universe

universe/UniverseObject.cpp
- in owner enumeration every entry must have it own unique name
- fixed the system color bug reported by vorenhutz


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 12, 2004 10:36 pm 
Offline
Programmer
User avatar

Joined: Sat Jun 28, 2003 8:17 pm
Posts: 376
Location: Heidelberg, Germany
Files added:
util/GZStream.{cpp,h}

Files modified:
Server.dev
HumanClient.dev
AIClient.dev
WindowsKit.zip

Purpose:
  • Updated GiGi
  • Dev-Cpp project files now use just "-O" instead of "-O3 -fexpensive-optimizations"
  • Added the GZStream-wrapper to save games in gzip format


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 16, 2004 1:29 pm 
Offline
Programming Lead Emeritus
User avatar

Joined: Thu Jun 26, 2003 1:33 pm
Posts: 1092
Files updated:
WindowsKit.zip

Purpose:
I've been making a LOT of changes to GG lately, and now my TODO list is mostly empty. The things that are left will not cause any changes to the API, so at long last I have updated GG in the WindowsKit.zip. Let me know if there are problems, since I couldn't compile FO under DevC++ and so I'm not 100% sure that the DLLs work correctly.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 19, 2004 9:29 pm 
Offline
Programming Lead Emeritus
User avatar

Joined: Thu Jun 26, 2003 1:33 pm
Posts: 1092
I've just committed a whole bunch of files. Much of the work represented by these commits was done by Greg (vorenhutz). I'm not listing individual files, since that's available on the cvs mailing list and its archives.

The new stuff includes:

- Universe and System used to return std::vectors of UniverseObject*s, but now you can get all objects of type T using FindObjects<T>() (no predicate), and you'll get a std::vector of T*s, so you don't have to do a dynamic_cast on each element of the vector before you use it.

- GG now supports a slightly more natural way of creating XMLElements, and a MUCH more natural way of representing objects in XML text. Check out PopCenter::XMLEncode() for a before-and-after look at the code. The representational difference is this:

Before:
Code:
        <PopCenter>
          <m_pop value="0"/>
          <m_max_pop value="8"/>
          <m_growth value="0"/>
          <m_race value="-1"/>
        </PopCenter>


After:
Code:
        <PopCenter>
          <m_pop>0</m_pop>
          <m_max_pop>8</m_max_pop>
          <m_growth>0</m_growth>
          <m_race>-1</m_race>
        </PopCenter>


You can see the code difference for yourself. Try to use the new style of XMLEncode code in the future.

- The new v0.2 universe generation code is in place, including starlanes. The starlanes are only tentative, since I have asked Aq about changing the starlane aglorithm. Every star is not guaranteed to have at least one starlane, but this code is otherwise compliant with the v0.2 spec.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 21, 2004 7:57 am 
Offline
Programming Lead Emeritus
User avatar

Joined: Thu Jun 26, 2003 1:33 pm
Posts: 1092
The other major thing I forgot to mention is that you can now load up tables of integers from text files. Look at util/DataTable.h and default/universe_tables.txt for more info. This is useful because XML is notoriously bad for reresenting big sets of uniform data.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 31, 2004 9:50 pm 
Offline
Programmer
User avatar

Joined: Sat Jun 28, 2003 8:17 pm
Posts: 376
Location: Heidelberg, Germany
File changed:client/human/Makefile.am
Purpose:Re-ordered linking to make ld happy. Note to self: I *really* have to find a different way to speed up compilation time. Or write a small tool that shuffles lines in Makefile.am and retries ;)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 12, 2004 7:07 pm 
Offline
Vacuum Dragon
User avatar

Joined: Fri Dec 26, 2003 12:42 pm
Posts: 872
Location: Germany, Berlin
I just did a checkin for my last changes on SidePlanel. It's only a first working sketch and i decided todo the checking mainly because several people are eager to play around with planet rotation.

PLEASE DON'T CHANGE SidePanel.cpp/h because im still working on it.

It would be nice if someone could verify that i didn't missed something.

planets.xml in Art/small/planets is used for defining the planet rotation. You have to do a separate download for the planet rotation frames. Ask pd!

if you remove planets.xml there is a fallback on the old static planet images. This is also true, if the defined frames in planets.xml couldn't be found.

@zach, you might want to have a look. I'm thankful for general suggestions, but remember, it's a first sketch.

Ronald.

PS: I hope i didn't break the linux build.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 24, 2004 8:06 pm 
Offline
Programmer
User avatar

Joined: Sat Jun 28, 2003 8:17 pm
Posts: 376
Location: Heidelberg, Germany
Files modified:
configure.ac
Makefile.am

Files added:
create_commonfiles.pl

Files deleted:
createMakefile.pl
every other Makefile.am

Purpose:
New, better, faster, shiny build-system. No more linking errors, and re-compilation sould be much faster than before.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 22, 2004 10:35 pm 
Offline
Programmer
User avatar

Joined: Sat Jun 28, 2003 8:17 pm
Posts: 376
Location: Heidelberg, Germany
Please subscribe to freeorion-cvs or browse the archives for recent cvs commits.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 105 posts ]  Go to page Previous  1 ... 3, 4, 5, 6, 7

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group