FreeOrion

Forums for the FreeOrion project
It is currently Wed May 22, 2013 3:29 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  Next
Author Message
 Post subject:
PostPosted: Thu Jan 29, 2004 2:17 am 
Offline
Programmer
User avatar

Joined: Sat Jun 28, 2003 8:17 pm
Posts: 376
Location: Heidelberg, Germany
Files Added:
remake_libs.mak

Files changed:
All Makefile.am's

Purpose:
  • combat directory included
  • The convenience libraries are now correctly when make is called from the client or server sub-directories

    eg. Empire/PopCenter.cpp was changed; (cd client;make) would now recompile PopCenter.cpp

    BTW: This might be a bad idea, as client and server might come out-of-sync.
    Maybe I should force the server also to be rebuilt in this case?

FO-autotools.tar.bz2 has also been updated and uploaded


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 31, 2004 1:22 pm 
Offline
Programmer
User avatar

Joined: Sat Jun 28, 2003 8:17 pm
Posts: 376
Location: Heidelberg, Germany
As you probably have noticed, changes to CVS are now automatically mailed to freeorion-programmers, so you wont need to post here.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 03, 2004 7:48 pm 
Offline
Vacuum Dragon
User avatar

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

combat\CombatSystem.h
combat\CombatSystem.cpp

universe\Planet.h
universe\Planet.cpp
universe\Universe.cpp
universe\Fleet.cpp

server\ServerApp.cpp



Purpose of Change:

combat\CombatSystem.h
combat\CombatSystem.cpp
- added combat v0.1 code

universe\Planet.h
- added void AddOwnerExt(int nID) and void RemoveOwnerExt(int nID)
which now also update system ownership and empire planet list

universe\Planet.cpp
- added void AddOwnerExt(int nID) and void RemoveOwnerExt(int nID)
which now also update system ownership and empire planet list
- filled void Conquer(int conquerer) with live

universe\Universe.cpp
- gave scout and colony ship one defense point

universe\Fleet.cpp
- added setting fleet position on arrival (otherwise lost in space :-))

server\ServerApp.cpp
- added combat resolution

PS: You should give scout ship one attack point to get into combat :-)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 08, 2004 5:50 pm 
Offline
Vacuum Dragon
User avatar

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

client/human/HumanClientApp.cpp

combat/CombatSystem.h
combat/CombatSystem.cpp

default/eng_stringtable.txt

universe/Planet.h
universe/Planet.cpp

universe/UniverseObject.h
universe/UniverseObject.cpp

universe/System.h
universe/System.cpp


util/SitRepEntry.h

util/ClientUI.cpp

server/ServerApp.cpp



Purpose of Change:

client/human/HumanClientApp.cpp
- added SDL_BUTTON_WHEELUP/DOWN on SDL_MOUSEBUTTONUP in HandleSDLEvent


combat/CombatSystem.h
- changed arguments of CombatSystem::ResolveCombat added system_id

combat/CombatSystem.cpp
- moved CombatAssetsHitPoints into a local namespace
- made all local functions static
- changed use of itoa to boost::lexical_cast<std::string,int>
- changed use of rand() to util/Random.h
- added some information to sitreport
- changed bug when adjusting planet defense bases

default/eng_stringtable.txt
- added resourece strings for SITREP_COMBAT_SYSTEM_WON, SITREP_COMBAT_SYSTEM_LOST and SITREP_COMBAT_SYSTEM_NO_VICTOR


universe/Planet.h
- renamed AddOwnerExt to AddOwner and RemoveOwnerExt to RemoveOwner

universe/Planet.cpp
- renamed AddOwnerExt to AddOwner and RemoveOwnerExt to RemoveOwner
- call to UniverseObject::AddOwner now last command in AddOwner (same to RemoveOwner)

universe/System.h
universe/System.cpp
- added AddOwner and RemoveOwner todo nothing, System owners are defined by planet owners


universe/UniverseObject.h
universe/UniverseObject.cpp
- made AddOwner and RemoveOwner virtual

util/SitRepEntry.h
- added EntryType's COMBAT_SYSTEM_WON, COMBAT_SYSTEM_LOST and COMBAT_SYSTEM_NO_VICTOR
- added CreateCombatSitRep

util/SitRepEntry.cpp
- added CreateCombatSitRep

util/ClientUI.cpp
- added "SITREP_COMBAT_SYSTEM_WON", "SITREP_COMBAT_SYSTEM_LOST" and "SITREP_COMBAT_SYSTEM_NO_VICTOR" to g_string_id_lut

server/ServerApp.cpp
- planets without defenses are now also included into combat


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 08, 2004 6:46 pm 
Offline
Vacuum Dragon
User avatar

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

universe/System.h

universe/Universe.h
universe/Universe.cpp

UI/SystemIcon.cpp


Purpose of Change:

universe/System.h
- added a blue startype

universe/Universe.h
- removed the unused argument stars in GenerateHomeworlds

universe/Universe.cpp
- removed the unused argument stars in GenerateHomeworlds
- removed a crash in GenerateIrregularGalaxy when a system was placed exactly
on galaxy border (1000.0) in which case grid_box points to an invalid adjacency_grid index
- removed a inconsistency in GenerateIrregularGalaxy when handling (place-) attempts, moved
adding a placed system behind while {} and decided to remove a unplaced system
- removed all the empty lines i maybe introduces myself

UI/SystemIcon.cpp
- added a blue startype texture load


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 10, 2004 3:57 am 
Offline
FreeOrion Lead Emeritus
User avatar

Joined: Thu Jun 26, 2003 6:23 am
Posts: 883
Location: Australia
Files Affected:

universe/ProdCenter.cpp

Purpose of change:

Added the entries necessary to allow production of MARKI-IV ships.

I've recorded the change here, since few/none will have switched over to the new freeorion-cvs list yet.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 10, 2004 11:23 pm 
Offline
Vacuum Dragon
User avatar

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

universe/Universe.cpp


Purpose of Change:

universe/Universe.cpp
- moved the empty galaxy exception into players loop
- fixed GenerateHomeworlds: loop which aimed to look for homeworlds if the system has no planets or is nearby another homeworld didn't do anything because it used the same system_index
- fixed a crash in GenerateHomeworlds: if the system which becomes a homesystem has no planet (all attempts failed) RandSmallInt(0, system->Orbits() - 1) will crash.

PS: Is the new freeorion-cvs mailing-list broken?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 14, 2004 9:22 pm 
Offline
Vacuum Dragon
User avatar

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

universe/Universe.cpp


Purpose of Change:

universe/Universe.cpp
- added code for spiral galaxy generation


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 15, 2004 1:08 pm 
Offline
Vacuum Dragon
User avatar

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

util/Order.cpp


Purpose of Change:

util/Order.cpp
- ctor DeleteFleetOrder(const GG::XMLElement& elem) Order(elem.Child("Order")) was missing


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 15, 2004 4:18 pm 
Offline
Vacuum Dragon
User avatar

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

universe/Planet.cpp

UI/SidePanel.cpp
UI/SidePanel.h


Purpose of Change:

universe/Planet.cpp
- added add/remove planet from empire in add/RemoveOwner


UI/SidePanel.cpp
UI/SidePanel.h
- replaced m_planet by m_planet_id in SidePanel::PlanetPanel
(it's a real bad idea to >store< a reference to a dynamicly
allocated object, in this case when universe is updated in
turn processing, m_planet used invalid memory)

PS: Ten more post and i'm promoted. :-)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 21, 2004 4:44 pm 
Offline
Space Floater

Joined: Thu Sep 18, 2003 12:25 pm
Posts: 31
Location: Ottawa, Canada
This update contains colonization - now we can expand!. The UI for this is probably
temporary - when a fleet window is up one can right-click on a colony ship. This will change the cursor and open the side paenl of the system. When a planet that is unowned is selected, or the user right-clicks again, the UI will end.

UI/ClientUI.cpp
UI/ClientUI.h
Added cursor change support and UI handler for colonization

UI/FleetWindow.cpp
UI/FleetWindow.h
UI support for colonization

UI/SidePanel.cpp
UI/SidePanel.h
UI support for colonization

client/human/HumanClientApp.cpp
UI support for colonization

universe/Ship.cpp
Added XML encoding for colonize variable of ship design

util/Order.cpp
Fixed a few bugs in execute colinize order


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 22, 2004 1:44 pm 
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


Purpose of Change:

universe/Universe.cpp
universe/Universe.h
- added code for elliptical and cluster galaxies
cluster galaxy code might be ok, elliptical looks not so good


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 23, 2004 8:48 pm 
Offline
Vacuum Dragon
User avatar

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

universe/System.cpp
UI/SidePanel.cpp

Purpose of Change:

universe/System.cpp
- objects at system orbit (m_objects) are now named by object_id not by orbit_nr; this is the fix for error Item 2:#2 reported by tzlaine (should be mentioned where the bug was report, i'm not allowed to do so, it's locked :-))

UI/SidePanel.cpp
- sidepanel now also shows the rollover production points


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 25, 2004 5:13 am 
Offline
Programmer
User avatar

Joined: Sat Jun 28, 2003 8:17 pm
Posts: 376
Location: Heidelberg, Germany
Files affected:
default/credits.xml (now dead)
default/credits.txt (now again at revision 1.1)

Purpose:
Just some cosmetic changes: tyreth forgot to remove credits.xml when moving to a text-file format for credits and used credits.txt for testing cvs-mailings, resulting in 5 revisions without much change.

I removed these superflous ones; i just note it here in case someone gets confused that credits.txt is "upgraded" from 1.6 to 1.1


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 25, 2004 9:49 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 update bug in void FleetWnd::SystemClicked(int system_id) and also added code to update destination text for fleets in m_new_fleet_windows


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  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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