Announcement

Collapse
No announcement yet.

PROJECT: Altered source files

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

  • Originally posted by Fromafar
    Bug fix: prevent incorrect city production when pressing F3 after end of turn. Reported by Lui2 for MP. Only tested for SP, where it was reproducible as well.

    ui\interface\interfaceevent.cpp
    ui\interface\screenutils.cpp
    Tested this in multiplayer. The origin error seems fixed, but the game is no more playable. The Client (or second player) can't do any actions in his turn.

    If player 1 (the host) finishes its turn, on his screen will be shown player 2 (the client) as active player. On the screen of the client stays the host as activ player and he cant't do no actions. He can only call the buildmanager, and this finishes the turn of player 2, but without the change to do something. And it's again the turn of player 1.
    Ludwig

    Comment


    • Key mapping

      14.06.2006
      ctp2_code/ui/aui_ctp2/keymap.h
      ctp2_code/ui/aui_ctp2/keymap.cpp
      ctp2_code/ui/interface/km_screen.cpp

      ctp2_data/xxxxx/gamedata/ldl_str.txt
      ctp2_data/german/uidata/layouts/km_screen.ldl

      This changes fix the currently wrong displayed key mapping of the map and option section.

      I also added all usefull commands, that where not supported before for the keymapping dialog.

      Where xxxxx is the english, french, german, italien and japanese ldl_str.txt file. (I don't have a spanish file). Added the textstring in german and in english for all versions other than the german. That must be translated .

      Because I only have the german km_screen.ldl file, I only added this version. I think the versions for the other languages must be identical. If someone can please check this and add the changes to the files for the other languages.

      The following commands are now also supported for the keymapping dialog:
      EXECUTE_EYEPOINT
      MOVE_ORDER
      YES
      NO
      END_UNIT_TURN
      EXECUTE_ORDERS
      PROCESS_UNIT_ORDERS
      GROUP_ARMY
      UNGROUP_ARMY
      DECEND
      PARADROP

      also the following commands for _PLAYTEST flag mode:
      TOGGLE_SPACE (that only seems to remove the fog of war)
      GAMESTATE_DEBUG
      RAND_TEST
      ENTER_COMMAND
      ENTER_COMMAND_ALTERNATE
      Ludwig

      Comment


      • key mapping

        And the zip file with the changes:
        see previous post.
        Attached Files
        Ludwig

        Comment


        • Re: Key mapping

          Originally posted by Lui2
          Because I only have the german km_screen.ldl file, I only added this version. I think the versions for the other languages must be identical. If someone can please check this and add the changes to the files for the other languages.
          I wouldn't bother with this problem, actual I think it can be done so that the GUI fits for all languages, the other *ldl files from the code pack are also taken from the German version.

          Originally posted by Lui2
          Where xxxxx is the english, french, german, italien and japanese ldl_str.txt file. (I don't have a spanish file). Added the textstring in german and in english for all versions other than the german. That must be translated .
          Post everything here that needs to be translated. At best provide the German and English versions of the text that needs to be translated.

          -Martin
          Civ2 military advisor: "No complaints, Sir!"

          Comment


          • Re: Re: Key mapping

            Originally posted by Martin Gühmann
            Post everything here that needs to be translated. At best provide the German and English versions of the text that needs to be translated.

            -Martin
            Thanks Martin, I was about to write it!

            I am ready to translate the new strings in French but I must admit I like to work Martin's way as far as translation are concerned.

            Waiting for the new strings...
            "Democracy is the worst form of government there is, except for all the others that have been tried." Sir Winston Churchill

            Comment


            • National Manager

              19.06.2004
              ctp2_code/ui/interface/NationalDialog.h
              ctp2_code/ui/interface/NationalDialog.cpp

              ctp2_data/xxxxx/gamedata/ldl_str.txt
              ctp2_data/xxxxx/gamedata/tips_str.txt
              ctp2_data/xxxxx/uidata/layouts/citystatus.ldl


              Where xxxxx stands for the german and english directories. I will post the strings that must be translated, in the specific TranslationCenter Thread.


              Added to the NationalManager window a third tab.
              This tab shows the number of slaves, the different experts and the number of combat units in each city. I was tired of switching through all the cities to see how many experts in each city are set up.

              Example of the modified window:
              Attached Files
              Ludwig

              Comment


              • And the source files to the change of the "National Manager" window.
                Attached Files
                Last edited by Lui2; June 21, 2004, 18:56.
                Ludwig

                Comment


                • 2004.06.19
                  ..\ctp2_data\gs\fileio\civscenarios.cpp

                  Bug fix by Martin Gühmann: Fixed a memory leak in CivScenarios::LoadScenarioPackData, now if you leave the game from the first screen after you started the debug program, you just find in the first line of the CTP_LEAKS_99999 the word: "None." Well there are still a lot of memory leaks to fix.

                  -Martin

                  Edit: Corrected the date format to YYYY.MM.DD
                  Attached Files
                  Last edited by Martin Gühmann; June 26, 2004, 15:07.
                  Civ2 military advisor: "No complaints, Sir!"

                  Comment


                  • 2004.06.19
                    ..\ctp2_code\ui\interface\scenarioeditor.cpp

                    Bug fix by Martin Gühmann: Avoids a crash if you select a city change the civ via the Scenario Editor and the previous selected city gets destroyed by anything else then the erase function of the Scenario Editor, like slic, conquest or stavation. At least when I will tough the enslave feature of my city capture option again, it will save me a lot of crashes.

                    -Martin

                    Edit: Corrected the date format to YYYY.MM.DD
                    Attached Files
                    Last edited by Martin Gühmann; June 26, 2004, 15:07.
                    Civ2 military advisor: "No complaints, Sir!"

                    Comment


                    • Re: National Manager

                      Originally posted by Lui2
                      Added to the NationalManager window a third tab.
                      Thanks!
                      ·Circuit·Boi·wannabe·
                      "Evil reptilian kitten-eater from another planet."
                      Call to Power 2 Source Code Project 2005.06.28 Apolyton Edition

                      Comment


                      • Bug fixes: repaired memory leaks and corrected some Gaia Controller messages.

                        gs\gameobj\CityEvent.cpp
                        gs\gameobj\PlayerEvent.cpp

                        Lui2: Nice job on the National manager tab .
                        Just some minor gripes on your files though: the ldl_str.txt files contain old - and even different - "version" dates, and your .zip-file is not a zip-file. My Winzip version reports it as invalid and suggests downloading it again. When this didn't do any good , I remembered you had used rar-files in the past. It would have been clearer if you had used a .rar file extension.

                        [Edit: link removed. Replaced with improved version 2004.07.13]
                        Last edited by Fromafar; July 13, 2004, 15:23.

                        Comment


                        • Originally posted by Fromafar
                          Just some minor gripes on your files though: the ldl_str.txt files contain old - and even different - "version" dates, and your .zip-file is not a zip-file. My Winzip version reports it as invalid and suggests downloading it again. When this didn't do any good , I remembered you had used rar-files in the past. It would have been clearer if you had used a .rar file extension.
                          Thanks, your right. I took the ldl-files from the 2004.06.15 playtest version without checking them in detail. And with the archiv I was under the impression creating a zip file, but i was wrong. Corrected both now in the original attachment.
                          Ludwig

                          Comment


                          • The specialist tab is great!

                            Now, if someone can think of a way to also make it possible to actually *change* the specialist settings from the national manager, my gratitude would be beyond words...
                            Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

                            Comment


                            • Originally posted by Locutus
                              The specialist tab is great!

                              Now, if someone can think of a way to also make it possible to actually *change* the specialist settings from the national manager, my gratitude would be beyond words...
                              how about double-click on a city to open the city manager
                              ·Circuit·Boi·wannabe·
                              "Evil reptilian kitten-eater from another planet."
                              Call to Power 2 Source Code Project 2005.06.28 Apolyton Edition

                              Comment


                              • I was more thinking along the lines of being able to edit multiple cities at once, as with the build manager and rush-buying, etc. Currently specialists are the only part of city management that can't be handled on a national basis and I hate having to manually cycle through all my cities every few turns just to make sure the specialist settings are still optimal. If this could all be done from the National Manager (or a screen similar to the Build Manager), I would be *extremely* happy as this is my biggest frustration when playing CtP2.
                                Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

                                Comment

                                Working...
                                X