Announcement

Collapse
No announcement yet.

PROJECT: Altered source files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Time for a new complete file set, maybe? Lots of changes since the last one...
    Solver, WePlayCiv Co-Administrator
    Contact: solver-at-weplayciv-dot-com
    I can kill you whenever I please... but not today. - The Cigarette Smoking Man

    Comment


    • I did this a while back and forgot all about it. It should fix the scenario savegame bug (but not for autosave, that still needs to be done).
      Attached Files

      Comment


      • Originally posted by Peter Triggs
        I did this a while back and forgot all about it. It should fix the scenario savegame bug (but not for autosave, that still needs to be done).
        This changed file does not include the previous change to this file (Fixed autosave directory name for scenarios to match normal directory).

        I created a consolidated file and attched it!
        Attached Files
        Ludwig

        Comment


        • Thanks, Lui2.

          Comment


          • Radar map shifting

            26.06.2004
            ctp2_code/ui/aui_ctp2/radarmap.h
            ctp2_code/ui/aui_ctp2/radarmap.cpp


            Added a shifting possibility for the radar map (minimap).
            With a right click on the radar map, you can now center the point you clicked , on the radar map.

            It's nice to see your own empire in the center of the world!

            The change takes care if the world has x and / or y wrap and does only allow shifing in the axis that has also wrap.
            Attached Files
            Ludwig

            Comment


            • Cool!
              ·Circuit·Boi·wannabe·
              "Evil reptilian kitten-eater from another planet."
              Call to Power 2 Source Code Project 2005.06.28 Apolyton Edition

              Comment


              • Excellent! is there a race to see who can fix ctp2 first?
                Formerly known as "E" on Apolyton

                See me at Civfanatics.com

                Comment


                • Newer version (1.3.1) of the Freetype Library, compiled with the same compiler (MSVS 6.0 SP6) as the playtest releases.
                  This is an attempt to fix a problem on XP.

                  ui\freetype\freetype.h
                  ui\freetype\freetype.lib
                  ui\freetype\fterrid.h
                  ui\freetype\ftnameid.h

                  ui\freetype\announce
                  ui\freetype\license.txt
                  ui\freetype\patents
                  ui\freetype\readme.1st

                  (Legal) notes:
                  • The code to generate the Freetype Library has not been included. You have to go to www.freetype.org if you are interested.
                  • There are some patents issues that may apply to distribution outside Europe. But the same issues should have applied to the original game.
                  • The Freetype Library has not been created by Activision. Stripping the comments (with copyrights!) from the source files may have been in violation of the license . Well, at least these are back in now. And I think Activision should have mentioned these guys in the credits somewhere.

                  [Edit: file link removed. Included in the 2004.08.01 source collection.]
                  Last edited by Fromafar; August 3, 2004, 16:58.

                  Comment


                  • Erm... I have tried to compile all these into a new playtest version but something has caused all text in the game to vanish. Any ideas what I sould have done?..

                    Comment


                    • That's a weird effect. I've got a few strings of texts to disappear previously when compiling all versions, but nothing as far as this...
                      Solver, WePlayCiv Co-Administrator
                      Contact: solver-at-weplayciv-dot-com
                      I can kill you whenever I please... but not today. - The Cigarette Smoking Man

                      Comment


                      • Bombard information

                        27.06.2004
                        ctp2_code/gs/gameobj/ArmyData.cpp


                        Prevents to inform the supposed defending AI from a bombard order that was illegal (e.g. giving a canon the order to bombard a ship on the sea).
                        Attached Files
                        Ludwig

                        Comment


                        • Originally posted by J Bytheway
                          Erm... I have tried to compile all these into a new playtest version but something has caused all text in the game to vanish. Any ideas what I sould have done?..
                          Just a wild guess: could you try a full rebuild? Maybe the compiler gets confused by the "new" files from 1999 being older than the comment-stripped "old" files from 2003.

                          Comment


                          • Updated (much lower!) freight costs.
                            Attached Files
                            ·Circuit·Boi·wannabe·
                            "Evil reptilian kitten-eater from another planet."
                            Call to Power 2 Source Code Project 2005.06.28 Apolyton Edition

                            Comment


                            • Added user interface option: offer a choice between showing the intersection (default/original game) or the union of the possible orders of the units in an army, to make e.g. bombarding easier.

                              You may toggle this choice in-game through the Advanced options menu (Show All Army Orders), or edit the ShowOrderUnion line in your userprofile.txt.

                              ctp2_code\gs\database\ProfileDB.cpp
                              ctp2_code\gs\database\ProfileDB.h
                              ctp2_code\gs\gameobj\ArmyData.cpp
                              ctp2_code\gs\gameobj\ArmyData.h
                              ctp2_code\ui\interface\UnitControlPanel.cpp
                              ctp2_data\english\gamedata\ldl_str.txt
                              ctp2_data\german\gamedata\ldl_str.txt

                              [Edit: link removed. Included in the 2004.08.01 source collection.]
                              Last edited by Fromafar; August 3, 2004, 16:58.

                              Comment


                              • Originally posted by Fromafar
                                Added user interface option: offer a choice between showing the intersection (default/original game) or the union of the possible orders of the units in an army, to make e.g. bombarding easier.
                                ...

                                ctp2_code\gs\gameobj\ArmyData.cpp
                                ...
                                This change overlaps in source with the BombardCheck change. I created a consolidated "ArmyData.cpp" file and appended it.

                                EDIT: Corrected also a typo in the bombard information change!
                                Attached Files
                                Last edited by Lui2; July 4, 2004, 12:20.
                                Ludwig

                                Comment

                                Working...
                                X