Announcement

Collapse
No announcement yet.

PROJECT: Revision Reports 2

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #76
    Revision 995

    Fixed the slic message errors described in this post: http://apolyton.net/forums/showpost....7&postcount=56

    U trunk/ctp2_code/gs/gameobj/ArmyData.cpp
    Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
    CtP2 AE Wiki & Modding Reference
    One way to compile the CtP2 Source Code.

    Comment


    • #77
      Revision 996

      Made city icons for bio infect, nano infect, injoin and happiness attack have the background colour of the offending civ, as this was implied in the unfinished code.

      U trunk/ctp2_code/gfx/tilesys/tiledraw.cpp
      U trunk/ctp2_code/gs/gameobj/ArmyData.cpp
      U trunk/ctp2_code/gs/gameobj/CityData.cpp
      U trunk/ctp2_code/gs/gameobj/citydata.h
      U trunk/ctp2_code/gs/world/UnseenCell.cpp

      See here.
      Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
      CtP2 AE Wiki & Modding Reference
      One way to compile the CtP2 Source Code.

      Comment


      • #78
        Revision 997

        Fixed the EffectIncreaseScience feat not giving any science bonus. This bonus does not show in the empire manager yet. Cleaning up the empire manager will be a job by itself.

        Fixed the EffectIncreaseHitPoints feat not giving any hit points bonus. This now works the same way as the wonder hit points effect. When the feat is built existing units get added the extra HP. When the feat is in effect new units start with the extra HP. An "undocumented feature" of this and the HP wonder effect is that when a unit loses health lower than it's maximum HP in units.txt, it can only heal back to it's original HP from units.txt. (Unless of course you build another HP wonder or achieve another HP feat). TODO: Make this bonus maximum hit points permanent until the wonder or feat effect is gone, also modify the interface or the green HP bar not to overlap the interface.

        U trunk/ctp2_code/gs/gameobj/FeatTracker.cpp
        U trunk/ctp2_code/gs/gameobj/Player.cpp
        U trunk/ctp2_code/gs/gameobj/UnitData.cpp
        U trunk/ctp2_code/gs/gameobj/player.h
        Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
        CtP2 AE Wiki & Modding Reference
        One way to compile the CtP2 Source Code.

        Comment


        • #79
          Revision 998


          Added political map display and button to radar map.

          Strings for all languages except English still need to be added. (Left as "" for now)

          New button picture also needed, temporary one included.

          U trunk/ctp2_code/gs/database/profileDB.cpp
          U trunk/ctp2_code/gs/database/profileDB.h
          U trunk/ctp2_code/ui/aui_ctp2/radarmap.cpp
          U trunk/ctp2_code/ui/aui_ctp2/radarmap.h
          U trunk/ctp2_code/ui/interface/radarwindow.cpp
          A trunk/ctp2_data/default/graphics/pictures/upcb28.tga
          A trunk/ctp2_data/default/graphics/pictures/upcb28u.tga
          U trunk/ctp2_data/english/gamedata/ldl_str.txt
          U trunk/ctp2_data/english/gamedata/tips_str.txt
          U trunk/ctp2_data/english/uidata/layouts/controlpanel.ldl
          U trunk/ctp2_data/french/gamedata/ldl_str.txt
          U trunk/ctp2_data/french/gamedata/tips_str.txt
          U trunk/ctp2_data/french/uidata/layouts/controlpanel.ldl
          U trunk/ctp2_data/german/gamedata/ldl_str.txt
          U trunk/ctp2_data/german/gamedata/tips_str.txt
          U trunk/ctp2_data/german/uidata/layouts/controlpanel.ldl
          U trunk/ctp2_data/italian/gamedata/ldl_str.txt
          U trunk/ctp2_data/italian/gamedata/tips_str.txt
          U trunk/ctp2_data/italian/uidata/layouts/controlpanel.ldl
          U trunk/ctp2_data/japanese/gamedata/ldl_str.txt
          U trunk/ctp2_data/japanese/uidata/layouts/controlpanel.ldl
          U trunk/ctp2_data/spanish/gamedata/ldl_str.txt
          U trunk/ctp2_data/spanish/gamedata/tips_str.txt
          U trunk/ctp2_data/spanish/uidata/layouts/controlpanel.ldl
          "

          Comment


          • #80
            Revision 999

            Fixed possible crash in HasCity function
            gs/world/WrldCity.cpp

            Can only see political map on radar if certain conditions are met. (The same ones as needed to see national borders)
            With the political map on, units within their own borders will be displayed in their civ's 'dark' color.
            ui/aui_ctp2/radarmap.cpp

            U trunk/ctp2_code/gs/world/WrldCity.cpp
            U trunk/ctp2_code/ui/aui_ctp2/radarmap.cpp
            "

            Comment


            • #81
              Revision 1000: Fixed AI sea transporter pathing, and national borders for cities founded in foreign territory:

              Some cleanings:
              modified trunk/ctp2_code/gs/gameobj/CityInfluenceIterator.cpp

              When a new city is founded the national borders expand as they should be even if the city is founded in foreign territory. If a foreign city is killed the national borders of the surrounding cities will expand on city ring growth:
              modified trunk/ctp2_code/gs/gameobj/CityData.cpp

              The sea pathes of transporters are snipped one tile before land instead of two tiles beofore:
              modified trunk/ctp2_code/robot/pathing/Path.cpp

              The pathes of AI transporters do not leave anymore the target continent once they hit the target continent:
              modified trunk/ctp2_code/robot/pathing/robotastar2.cpp
              Civ2 military advisor: "No complaints, Sir!"

              Comment


              • #82
                Revision 1001

                Fixed assertion error
                ctp2_code/ui/aui_ctp2/radarmap.cpp

                Unit support percent will now show up as 0% instead of 100% when production is 0 and unit support costs are 0.
                ctp2_code/ui/interface/unitmanager.cpp

                U trunk/ctp2_code/ui/aui_ctp2/radarmap.cpp
                U trunk/ctp2_code/ui/interface/unitmanager.cpp
                "

                Comment


                • #83
                  Revision 1002

                  Fixed disbanding in the city window to now give the shields. And fixed updating of the city control panel progress bar, and city window turn count.

                  citywindow.cpp
                  CityControlPanel.cpp
                  ArmyData.cpp

                  Added new slic function to get the stored shields of a city: GetStoredProduction(city_t)

                  SlicEngine.cpp
                  slicfunc.cpp
                  SlicFunc.h

                  Resized the icon for the political map button:

                  upcb28u.tga
                  upcb28.tga

                  Fixed spelling mistake of "Cilli":

                  english\gamedata\gl_str.txt

                  ---

                  U trunk/ctp2_code/gs/gameobj/ArmyData.cpp
                  U trunk/ctp2_code/gs/slic/SlicEngine.cpp
                  U trunk/ctp2_code/gs/slic/SlicFunc.h
                  U trunk/ctp2_code/gs/slic/slicfunc.cpp
                  U trunk/ctp2_code/ui/interface/CityControlPanel.cpp
                  U trunk/ctp2_code/ui/interface/citywindow.cpp
                  U trunk/ctp2_data/default/graphics/pictures/upcb28.tga
                  U trunk/ctp2_data/default/graphics/pictures/upcb28u.tga
                  U trunk/ctp2_data/english/gamedata/gl_str.txt
                  Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
                  CtP2 AE Wiki & Modding Reference
                  One way to compile the CtP2 Source Code.

                  Comment


                  • #84
                    Revision 1003

                    Repaired center of "half value" settle value computation in CityGrowth.
                    ctp2_code\ai\mapanalysis\settlemap.cpp

                    Comment


                    • #85
                      Revision 1004

                      Added some translations for the German version and did some of EPW's work.
                      modified trunk/ctp2_data/english/gamedata/ldl_str.txt
                      modified trunk/ctp2_data/english/gamedata/tips_str.txt
                      modified trunk/ctp2_data/french/gamedata/ldl_str.txt
                      modified trunk/ctp2_data/french/gamedata/tips_str.txt
                      modified trunk/ctp2_data/german/gamedata/add_str.txt
                      modified trunk/ctp2_data/german/gamedata/ldl_str.txt
                      modified trunk/ctp2_data/german/gamedata/tips_str.txt
                      modified trunk/ctp2_data/italian/gamedata/ldl_str.txt
                      modified trunk/ctp2_data/italian/gamedata/tips_str.txt
                      modified trunk/ctp2_data/spanish/gamedata/ldl_str.txt
                      modified trunk/ctp2_data/spanish/gamedata/tips_str.txt
                      Civ2 military advisor: "No complaints, Sir!"

                      Comment


                      • #86
                        Revision 1005

                        Added VictoryEnslavementChance and VictoryEnslavementStacks flags.
                        VictoryEnslavementChance: The chance of enslaving an enemy on victory
                        VictoryEnslavementStacks: If there is more than one VictoryEnslavement Unit in a victorious stack, this lets all the ones with with this flag a chance to enslave.
                        You cannot capture more slaves than the number of units in the defeated stack.
                        ctp2_code/gs/gameobj/armyevent.cpp
                        ctp2_code/gs/newdb/unit.cdb
                        ctp2_code/gs/newdb/unitpromotion.cdb
                        ctp2_code/gs/world/cellunitlist.cpp
                        ctp2_code/gs/world/cellunitlist.h

                        Added GovernmentOnly flag. If a unit has this flag, it can only be built while in the corresponding government. Unlike GovernmentType, the units are not killed when you change governments.
                        ctp2_code/gs/newdb/unit.cdb
                        ctp2_code/gs/newdb/unitpromotion.cdb
                        ctp2_code/gs/gameobj/Player.cpp

                        U trunk/ctp2_code/gs/gameobj/Player.cpp
                        U trunk/ctp2_code/gs/gameobj/armyevent.cpp
                        U trunk/ctp2_code/gs/newdb/unit.cdb
                        U trunk/ctp2_code/gs/newdb/unitpromotion.cdb
                        U trunk/ctp2_code/gs/world/cellunitlist.cpp
                        U trunk/ctp2_code/gs/world/cellunitlist.h
                        "

                        Comment


                        • #87
                          Revision 1006

                          Redesigned empire manager to show more information, and cleaned up some calculations with new stuff like unit and city gold support:
                          modified trunk/ctp2_code/gs/gameobj/player.h
                          modified trunk/ctp2_code/gs/gameobj/PlayerEvent.cpp
                          modified trunk/ctp2_code/gs/gameobj/Player.cpp
                          modified trunk/ctp2_code/gs/gameobj/citydata.h
                          modified trunk/ctp2_code/gs/gameobj/CityData.cpp
                          modified trunk/ctp2_code/ui/interface/CauseAndEffectTab.h
                          modified trunk/ctp2_code/ui/interface/CauseAndEffectTab.cpp
                          added trunk/ctp2_data/default/graphics/pictures/em_bg.tga
                          added trunk/ctp2_data/default/graphics/pictures/em_lb.tga
                          added trunk/ctp2_data/default/graphics/pictures/em_ltaboff.tga
                          added trunk/ctp2_data/default/graphics/pictures/em_ltabon.tga
                          added trunk/ctp2_data/default/graphics/pictures/em_rb.tga
                          added trunk/ctp2_data/default/graphics/pictures/em_rtaboff.tga
                          added trunk/ctp2_data/default/graphics/pictures/em_rtabon.tga
                          modified trunk/ctp2_data/english/gamedata/add_str.txt
                          modified trunk/ctp2_data/english/gamedata/ldl_str.txt
                          modified trunk/ctp2_data/english/uidata/layouts/civstatus.ldl
                          modified trunk/ctp2_data/french/gamedata/add_str.txt
                          modified trunk/ctp2_data/french/gamedata/ldl_str.txt
                          modified trunk/ctp2_data/french/uidata/layouts/civstatus.ldl
                          modified trunk/ctp2_data/german/gamedata/add_str.txt
                          modified trunk/ctp2_data/german/gamedata/ldl_str.txt
                          modified trunk/ctp2_data/german/uidata/layouts/civstatus.ldl
                          modified trunk/ctp2_data/italian/gamedata/add_str.txt
                          modified trunk/ctp2_data/italian/gamedata/ldl_str.txt
                          modified trunk/ctp2_data/italian/uidata/layouts/civstatus.ldl
                          modified trunk/ctp2_data/japanese/gamedata/add_str.txt
                          modified trunk/ctp2_data/japanese/gamedata/ldl_str.txt
                          modified trunk/ctp2_data/japanese/uidata/layouts/civstatus.ldl
                          modified trunk/ctp2_data/spanish/gamedata/add_str.txt
                          modified trunk/ctp2_data/spanish/gamedata/ldl_str.txt
                          modified trunk/ctp2_data/spanish/uidata/layouts/civstatus.ldl

                          Changed science formula to deduct crime after the government coefficient like all other resources:
                          modified trunk/ctp2_code/ai/CityManagement/governor.cpp
                          modified trunk/ctp2_code/gs/gameobj/citydata.h
                          modified trunk/ctp2_code/gs/gameobj/CityData.cpp

                          Fixed food wonder effect to give flat food "units" rather than an additional % of food, as described in the GL under the Penicillin wonder:
                          modified trunk/ctp2_code/gs/gameobj/CityData.cpp

                          Changed labourers to benefit from government coefficient like all other specialists:
                          modified trunk/ctp2_code/gs/gameobj/CityData.cpp

                          Reimplemented CHANGE_CURRENTLY_BUILDING_ITEM_PENALTY from const.txt. You lose this % of stored production when changing the top item of a queue to a different type (types being: units, buildings, and wonders). A warning will only appear when editing a single queue:
                          modified trunk/ctp2_code/gs/gameobj/bldque.cpp
                          modified trunk/ctp2_code/gs/gameobj/citydata.h
                          modified trunk/ctp2_code/gs/gameobj/CityData.cpp
                          modified trunk/ctp2_code/ui/interface/EditQueue.h
                          modified trunk/ctp2_code/ui/interface/EditQueue.cpp

                          Removed obsolete comments:
                          modified trunk/ctp2_code/gs/gameobj/Advances.cpp
                          Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
                          CtP2 AE Wiki & Modding Reference
                          One way to compile the CtP2 Source Code.

                          Comment


                          • #88
                            Revision 1007

                            Cleaned up the alignment of the labels above the empire manager sliders:

                            modified trunk/ctp2_data/english/uidata/layouts/civstatus.ldl
                            modified trunk/ctp2_data/french/uidata/layouts/civstatus.ldl
                            modified trunk/ctp2_data/german/uidata/layouts/civstatus.ldl
                            modified trunk/ctp2_data/italian/uidata/layouts/civstatus.ldl
                            modified trunk/ctp2_data/japanese/uidata/layouts/civstatus.ldl
                            modified trunk/ctp2_data/spanish/uidata/layouts/civstatus.ldl

                            An update to the AE Mod scenario. Lots of unit fixes to match the GL and lowering of all goldhunger costs. And a big update to the GL itself:

                            modified trunk/Scenarios/AE_Mod/packlist.txt
                            modified trunk/Scenarios/AE_Mod/scen0000/ae_mod_readme.txt
                            modified trunk/Scenarios/AE_Mod/scen0000/default/aidata/UnitBuildLists.txt
                            modified trunk/Scenarios/AE_Mod/scen0000/default/gamedata/buildings.txt
                            added trunk/Scenarios/AE_Mod/scen0000/default/gamedata/concept.txt
                            modified trunk/Scenarios/AE_Mod/scen0000/default/gamedata/uniticon.txt
                            modified trunk/Scenarios/AE_Mod/scen0000/default/gamedata/Units.txt
                            modified trunk/Scenarios/AE_Mod/scen0000/default/gamedata/Wonder.txt
                            modified trunk/Scenarios/AE_Mod/scen0000/english/gamedata/gl_str.txt
                            modified trunk/Scenarios/AE_Mod/scen0000/english/gamedata/Great_Library.txt
                            modified trunk/Scenarios/AE_Mod/scen0000/scenario.txt
                            Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
                            CtP2 AE Wiki & Modding Reference
                            One way to compile the CtP2 Source Code.

                            Comment


                            • #89
                              Revision 1008 & 1009

                              Removed VictoryEnslavementStacks flag functionality. Not functioning properly and causing the occasional crash. I'll be more thorough with my testing in the future.
                              gs/gameobj/armyevent.cpp
                              gs/world/cellunitlist.cpp
                              gs/world/cellunitlist.h

                              U trunk/ctp2_code/gs/gameobj/armyevent.cpp
                              U trunk/ctp2_code/gs/world/cellunitlist.cpp
                              U trunk/ctp2_code/gs/world/cellunitlist.h
                              "

                              Comment


                              • #90
                                Revision 1010

                                Added production roll over in cities. Stored roll over production will decrease a % (currently the same as switch production penalty in const.txt) each turn the city's queue is empty:
                                modified trunk/ctp2_code/gs/events/GameEventDescription.h
                                modified trunk/ctp2_code/gs/gameobj/bldque.cpp
                                modified trunk/ctp2_code/gs/gameobj/CityData.cpp
                                modified trunk/ctp2_code/gs/gameobj/CityEvent.cpp
                                modified trunk/ctp2_code/ui/interface/EditQueue.cpp
                                modified trunk/ctp2_code/ui/interface/interfaceevent.cpp

                                Capturing a city now clears the stored production:
                                modified trunk/ctp2_code/gs/gameobj/CityEvent.cpp

                                Simplified display of resources per specialist type. We should change it back once the resource process has been cleaned up (and the city window is able to show the finer details, like exact losses of each resource to crime):
                                modified trunk/ctp2_code/ui/interface/citywindow.cpp
                                Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
                                CtP2 AE Wiki & Modding Reference
                                One way to compile the CtP2 Source Code.

                                Comment

                                Working...
                                X