Announcement

Collapse
No announcement yet.

PROJECT: Playtest Thread III

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

  • I'm already making some tweaks to it, especially lining up obsolete techs with available techs. knights shouldnt still be around until tanks arrive they should vanish with cavalry etc. Also I'm reducing the movement for balance and because the AI, so I'm told, does make decisions with high mvmt units as well as the human. So mounted units are going down to 2 (similar to balances learned in civ3) and I'm increasing naval movements. That first ship is so uneventful in ctp2, it had no attack and little move. so I'm increasing it to 3 and keeping its attack. will post changes soon, but in the meanwhile I'm still coding too and I'm looking to add an early tile imp, the "claim" which allows you to take one tile for pw, it has no bonuses except claiming territory (I tried it in an earlier game with roads and its differnt to expand territory this way, a little more fun to define the shape of your empire).
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

    Comment


    • I had a couple of problems in my game. First the screenshot below after about 10 turns after i tipped a goody hut, this problem disappeared completely after that.... then about 30 turns later when i ended the turn my PC reset Id say with a fair amount of certainty it was the game and not some other event on my PC. It didnt generate a crash.txt though...
      Attached Files
      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


      • I had the same problem with the invisible units (only occurring intermittently), and have made some changes to the animation handling to repair it. It seems to work well: I haven't seen the problem since.

        Committing the changes to the SVN archive just failed. Is the server down, or is it a problem at my end?

        Comment


        • Originally posted by Fromafar
          Committing the changes to the SVN archive just failed. Is the server down, or is it a problem at my end?
          There are some DNS problems obviously, I had also some trouble with the server when I tried to upload the last revision, just try it repetively.

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

          Comment


          • Martin,

            rsewar2 was showing interesting in the code but hadnt heard from kaan. IRC you uploaded a bunch of the source files for someone else. Maybe you can point him in the direction so he can download it?

            also if kaan continues to be gone for awhile any chance you and fromafar can post your lastest revision files so I can update mine?

            thanks


            PS your PM box is full
            Formerly known as "E" on Apolyton

            See me at Civfanatics.com

            Comment


            • Originally posted by E
              rsewar2 was showing interesting in the code but hadnt heard from kaan. IRC you uploaded a bunch of the source files for someone else. Maybe you can point him in the direction so he can download it?
              The link is now in the directory, and I thouht someone would move it, as it has been done in the past.

              Originally posted by E
              also if kaan continues to be gone for awhile any chance you and fromafar can post your lastest revision files so I can update mine?
              For now I don't have changes to post, last weekend I played Civ4, was then ill, and the best is that I should have done some other things for university.

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

              Comment


              • I have uploaded the files changed in revision 479. Are there other ones you are missing?

                Comment


                • thanks Fromafar, my last update was 476. i think I need Martin's 477 stuff. but Jbytheways 478 looks like it was manual and readme stuff so not critical.

                  Thanks!
                  Formerly known as "E" on Apolyton

                  See me at Civfanatics.com

                  Comment


                  • Enjoying the lastest playtest. After 127 turns only had some units turn invisible for a short time . Have to try Fromafar,s quick fix .But other than that there were no CTD,s to report.

                    Playing on impossible -gigantic map-8 civs. Aztecs.

                    The AI,s are very balanced in the way they build up their empire. Most are between 10 to 14 cities with a good blend of units and buildings-the best I have seen of any mods.
                    Been at war with one AI faction who happens to have the strongest military.45 units . The AI unit movement is a kind of harrassing or roving around your cities before attacking. Using 6 -8- stacks somtimes more to keep you in a defensive postion. What I note is that the AI will not attack if it will lose all it units. A kind of spreding line of force that encircles you. See this in Hearts of Iron 2
                    Is that something you programed the AI to do Martin?

                    Comment


                    • Originally posted by Fromafar
                      I have uploaded the http://apolyton.net/upload/view.php?file=32273_revision479.zip]files changed in revision 479[/url]. Are there other ones you are missing?

                      FROMAFAR I was getting these errors when I downloaded your files, but I just got a pm from kaan that the SVN is update so I'll update it.



                      F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\TileSet.cpp(506) : error C2664: 'c3files_fopen' : cannot convert parameter 2 from 'const char *' to 'char *'
                      Conversion loses qualifiers
                      F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\TileSet.cpp(658) : error C2664: 'c3files_fopen' : cannot convert parameter 2 from 'const char *' to 'char *'
                      Conversion loses qualifiers
                      F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\TileSet.cpp(722) : error C2664: 'FindFile' : cannot convert parameter 2 from 'const char *' to 'char *'
                      Conversion loses qualifiers
                      Error executing cl.exe.
                      Last edited by Martin Gühmann; May 23, 2008, 18:19.
                      Formerly known as "E" on Apolyton

                      See me at Civfanatics.com

                      Comment


                      • FROMAFAR,

                        I just updated my svn and tried to compile and I got this:

                        .\gfx\tilesys\resourcemap.h(168) : error C2555: 'ResourceMap::MouseLGrabInside' : overriding virtual function differs from 'aui_Region::MouseLGrabInside' only by return type or calling convention
                        ..\ui\aui_common\aui_region.h(113) : see declaration of 'aui_Region'
                        ..\gfx\tilesys\resourcemap.h(169) : error C2555: 'ResourceMap::MouseMoveInside' : overriding virtual function differs from 'aui_Control::MouseMoveInside' only by return type or calling convention
                        ..\ui\aui_common\aui_control.h(75) : see declaration of 'aui_Control'
                        ..\gfx\tilesys\resourcemap.h(170) : error C2555: 'ResourceMap::MouseMoveAway' : overriding virtual function differs from 'aui_Control::MouseMoveAway' only by return type or calling convention
                        ..\ui\aui_common\aui_control.h(75) : see declaration of 'aui_Control'
                        radarmap.cpp
                        SelItem.cpp
                        ..\gfx\tilesys\resourcemap.h(168) : error C2555: 'ResourceMap::MouseLGrabInside' : overriding virtual function differs from 'aui_Region::MouseLGrabInside' only by return type or calling convention
                        ..\ui\aui_common\aui_region.h(113) : see declaration of 'aui_Region'
                        ..\gfx\tilesys\resourcemap.h(169) : error C2555: 'ResourceMap::MouseMoveInside' : overriding virtual function differs from 'aui_Control::MouseMoveInside' only by return type or calling convention
                        ..\ui\aui_common\aui_control.h(75) : see declaration of 'aui_Control'
                        ..\gfx\tilesys\resourcemap.h(170) : error C2555: 'ResourceMap::MouseMoveAway' : overriding virtual function differs from 'aui_Control::MouseMoveAway' only by return type or calling convention
                        ..\ui\aui_common\aui_control.h(75) : see declaration of 'aui_Control'
                        thumbnailmap.cpp
                        tilecontrol.cpp
                        workmap.cpp
                        F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\workmap.h(202) : error C2555: 'WorkMap::MouseLGrabInside' : overriding virtual function differs from 'aui_Region::MouseLGrabInside' only by return type or calling convention
                        ..\ui\aui_common\aui_region.h(113) : see declaration of 'aui_Region'
                        F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\workmap.h(203) : error C2555: 'WorkMap::MouseMoveInside' : overriding virtual function differs from 'aui_Control::MouseMoveInside' only by return type or calling convention
                        ..\ui\aui_common\aui_control.h(75) : see declaration of 'aui_Control'
                        F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\workmap.h(204) : error C2555: 'WorkMap::MouseMoveAway' : overriding virtual function differs from 'aui_Control::MouseMoveAway' only by return type or calling convention
                        ..\ui\aui_common\aui_control.h(75) : see declaration of 'aui_Control'
                        F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\workmap.cpp(1113) : error C2664: 'textutils_GetWidth' : cannot convert parameter 1 from 'class aui_Surface *' to 'class aui_DirectSurface *'
                        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                        F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\workmap.cpp(1114) : error C2664: 'textutils_GetHeight' : cannot convert parameter 1 from 'class aui_Surface *' to 'class aui_DirectSurface *'
                        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                        F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\workmap.cpp(1129) : error C2664: 'textutils_ColoredDropString' : cannot convert parameter 1 from 'class aui_Surface *' to 'class aui_DirectSurface *'
                        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                        F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\workmap.cpp(1138) : error C2664: 'textutils_GetWidth' : cannot convert parameter 1 from 'class aui_Surface *' to 'class aui_DirectSurface *'
                        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                        F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\workmap.cpp(1139) : error C2664: 'textutils_GetHeight' : cannot convert parameter 1 from 'class aui_Surface *' to 'class aui_DirectSurface *'
                        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                        F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\workmap.cpp(1164) : error C2664: 'textutils_CenteredColoredDropString' : cannot convert parameter 1 from 'class aui_Surface *' to 'class aui_DirectSurface *'
                        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                        CityControlPanel.cpp
                        ZoomPad.cpp
                        controlpanelwindow.cpp
                        backgroundwin.cpp
                        ChatBox.cpp
                        graphicsscreen.cpp
                        helptile.cpp
                        infowin.cpp
                        ..\gfx\tilesys\workmap.h(202) : error C2555: 'WorkMap::MouseLGrabInside' : overriding virtual function differs from 'aui_Region::MouseLGrabInside' only by return type or calling convention
                        ..\ui\aui_common\aui_region.h(113) : see declaration of 'aui_Region'
                        ..\gfx\tilesys\workmap.h(203) : error C2555: 'WorkMap::MouseMoveInside' : overriding virtual function differs from 'aui_Control::MouseMoveInside' only by return type or calling convention
                        ..\ui\aui_common\aui_control.h(75) : see declaration of 'aui_Control'
                        ..\gfx\tilesys\workmap.h(204) : error C2555: 'WorkMap::MouseMoveAway' : overriding virtual function differs from 'aui_Control::MouseMoveAway' only by return type or calling convention
                        ..\ui\aui_common\aui_control.h(75) : see declaration of 'aui_Control'
                        scenarioeditor.cpp
                        sciencewin.cpp
                        Generating Code...
                        Compiling...
                        spriteeditor.cpp
                        statswindow.cpp
                        trademanager.cpp
                        victorywin.cpp
                        workwin.cpp
                        ..\gfx\tilesys\resourcemap.h(168) : error C2555: 'ResourceMap::MouseLGrabInside' : overriding virtual function differs from 'aui_Region::MouseLGrabInside' only by return type or calling convention
                        ..\ui\aui_common\aui_region.h(113) : see declaration of 'aui_Region'
                        ..\gfx\tilesys\resourcemap.h(169) : error C2555: 'ResourceMap::MouseMoveInside' : overriding virtual function differs from 'aui_Control::MouseMoveInside' only by return type or calling convention
                        ..\ui\aui_common\aui_control.h(75) : see declaration of 'aui_Control'
                        ..\gfx\tilesys\resourcemap.h(170) : error C2555: 'ResourceMap::MouseMoveAway' : overriding virtual function differs from 'aui_Control::MouseMoveAway' only by return type or calling convention
                        ..\ui\aui_common\aui_control.h(75) : see declaration of 'aui_Control'
                        ..\gfx\tilesys\workmap.h(202) : error C2555: 'WorkMap::MouseLGrabInside' : overriding virtual function differs from 'aui_Region::MouseLGrabInside' only by return type or calling convention
                        ..\ui\aui_common\aui_region.h(113) : see declaration of 'aui_Region'
                        ..\gfx\tilesys\workmap.h(203) : error C2555: 'WorkMap::MouseMoveInside' : overriding virtual function differs from 'aui_Control::MouseMoveInside' only by return type or calling convention
                        ..\ui\aui_common\aui_control.h(75) : see declaration of 'aui_Control'
                        ..\gfx\tilesys\workmap.h(204) : error C2555: 'WorkMap::MouseMoveAway' : overriding virtual function differs from 'aui_Control::MouseMoveAway' only by return type or calling convention
                        ..\ui\aui_common\aui_control.h(75) : see declaration of 'aui_Control'
                        workwindow.cpp
                        citywindow.cpp
                        ..\gfx\tilesys\resourcemap.h(168) : error C2555: 'ResourceMap::MouseLGrabInside' : overriding virtual function differs from 'aui_Region::MouseLGrabInside' only by return type or calling convention
                        ..\ui\aui_common\aui_region.h(113) : see declaration of 'aui_Region'
                        ..\gfx\tilesys\resourcemap.h(169) : error C2555: 'ResourceMap::MouseMoveInside' : overriding virtual function differs from 'aui_Control::MouseMoveInside' only by return type or calling convention
                        ..\ui\aui_common\aui_control.h(75) : see declaration of 'aui_Control'
                        ..\gfx\tilesys\resourcemap.h(170) : error C2555: 'ResourceMap::MouseMoveAway' : overriding virtual function differs from 'aui_Control::MouseMoveAway' only by return type or calling convention
                        ..\ui\aui_common\aui_control.h(75) : see declaration of 'aui_Control'
                        BattleViewWindow.cpp
                        CtpAi.cpp
                        Generating Code...
                        Error executing cl.exe.

                        ctp2.exe - 33 error(s), 6 warning(s)
                        Last edited by Martin Gühmann; May 23, 2008, 18:19.
                        Formerly known as "E" on Apolyton

                        See me at Civfanatics.com

                        Comment


                        • FROMAFAR,

                          I'm getting a lot of errors, about 1200, I posted the txt file because its HUGE. but most of the errors are like this:


                          F:\SVN-Code\trunk\ctp2_code\ui\slic_debug\sourcelist.cpp( 90) : error C2555: 'SourceListItemContinueAction::Execute' : overriding virtual function differs

                          from 'aui_Action::Execute' only by return type or calling convention
                          ..\ui\aui_common\aui_action.h(85) : see declaration of 'aui_Action'
                          F:\SVN-Code\trunk\ctp2_code\ui\slic_debug\sourcelist.cpp( 541) : error C2555: 'KillConditionalPopupAction::Execute' : overriding virtual function differs

                          from 'aui_Action::Execute' only by return type or calling convention
                          ..\ui\aui_common\aui_action.h(85) : see declaration of 'aui_Action'
                          Attached Files
                          Last edited by Martin Gühmann; May 23, 2008, 18:20.
                          Formerly known as "E" on Apolyton

                          See me at Civfanatics.com

                          Comment


                          • FROMAFAR,

                            Are you still working on updates? I still get about 20 errors

                            F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\TileHighlight.cpp (744) : error C2664: 'textutils_GetWidth' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                            F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\TileHighlight.cpp (745) : error C2664: 'textutils_GetHeight' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                            F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\TileHighlight.cpp (749) : error C2664: 'primitives_DrawText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                            F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\TileHighlight.cpp (797) : error C2664: 'textutils_GetWidth' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                            F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\TileHighlight.cpp (798) : error C2664: 'textutils_GetHeight' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                            F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\TileHighlight.cpp (802) : error C2664: 'primitives_DrawText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                            F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\TileHighlight.cpp (1087) : error C2664: 'textutils_GetWidth' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                            F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\TileHighlight.cpp (1088) : error C2664: 'textutils_GetHeight' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                            F:\SVN-Code\trunk\ctp2_code\gfx\tilesys\TileHighlight.cpp (1093) : error C2664: 'primitives_DrawText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                            DataCheck.cpp
                            F:\SVN-Code\trunk\ctp2_code\gs\utility\DataCheck.cpp(655) : error C2664: 'primitives_DrawText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                            F:\SVN-Code\trunk\ctp2_code\gs\utility\DataCheck.cpp(660) : error C2664: 'primitives_DrawText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                            F:\SVN-Code\trunk\ctp2_code\gs\utility\DataCheck.cpp(664) : error C2664: 'primitives_DrawText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                            F:\SVN-Code\trunk\ctp2_code\gs\utility\DataCheck.cpp(680) : error C2664: 'primitives_DrawText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                            gameinit.cpp
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(370) : error C2059: syntax error : '=='
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                            rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                            const'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(370) : error C2039: '_N' : is not a member of 'ctype'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocale(519) : see declaration of 'ctype'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                            rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                            const'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(370) : error C2143: syntax error : missing ';' before ')'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                            rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                            const'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(372) : error C2039: 'string_type' : is not a member of 'ctype'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocale(519) : see declaration of 'ctype'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                            rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                            const'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(372) : error C2146: syntax error : missing ';' before identifier '_D2'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                            rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                            const'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(372) : error C2039: '_D2' : is not a member of 'ctype'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocale(519) : see declaration of 'ctype'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                            rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                            const'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(372) : error C2039: '_S' : is not a member of 'ctype'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocale(519) : see declaration of 'ctype'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                            rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                            const'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(372) : error C2039: '_N' : is not a member of 'ctype'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocale(519) : see declaration of 'ctype'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                            rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                            const'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(373) : error C2039: '_N' : is not a member of 'ctype'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocale(519) : see declaration of 'ctype'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                            rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                            const'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(374) : error C2039: '_D2' : is not a member of 'ctype'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocale(519) : see declaration of 'ctype'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                            rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                            const'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(374) : error C2039: 'append' : is not a member of 'ctype'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocale(519) : see declaration of 'ctype'
                            C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                            rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                            const'
                            aui_ldl.cpp
                            F:\SVN-Code\trunk\ctp2_code\ui\aui_common\aui_ldl.cpp(148 ) : error C2664: '__thiscall ldl::ldl(char *,char *,int)' : cannot convert parameter 1 from 'const char *' to 'char *'
                            Conversion loses qualifiers
                            InfoBar.cpp
                            F:\SVN-Code\trunk\ctp2_code\ui\aui_ctp2\InfoBar.cpp(165) : error C2664: 'primitives_DropText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                            Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                            thumbnailmap.cpp
                            F:\SVN-Code\trunk\ctp2_code\ui\aui_ctp2\thumbnailmap.h(16 5) : error C2079: 'm_clickedCell' uses undefined class 'MapPoint'
                            Battle.cpp
                            F:\SVN-Code\trunk\ctp2_code\ui\interface\Battle.cpp(263) : error C2662: 'GetSpriteState' : cannot convert 'this' pointer from 'const class Unit' to 'class Unit &'
                            Conversion loses qualifiers
                            F:\SVN-Code\trunk\ctp2_code\ui\interface\Battle.cpp(281) : error C2662: 'GetSpriteState' : cannot convert 'this' pointer from 'const class Unit' to 'class Unit &'
                            Conversion loses qualifiers
                            Generating Code...
                            Error executing cl.exe.
                            Last edited by Martin Gühmann; May 23, 2008, 18:20.
                            Formerly known as "E" on Apolyton

                            See me at Civfanatics.com

                            Comment


                            • Same here.
                              C:\source\ctp2svn\trunk\ctp2_code\gfx\tilesys\Tile Highlight.cpp(744) : error C2664: 'textutils_GetWidth' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                              C:\source\ctp2svn\trunk\ctp2_code\gfx\tilesys\Tile Highlight.cpp(745) : error C2664: 'textutils_GetHeight' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                              C:\source\ctp2svn\trunk\ctp2_code\gfx\tilesys\Tile Highlight.cpp(749) : error C2664: 'primitives_DrawText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                              C:\source\ctp2svn\trunk\ctp2_code\gfx\tilesys\Tile Highlight.cpp(797) : error C2664: 'textutils_GetWidth' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                              C:\source\ctp2svn\trunk\ctp2_code\gfx\tilesys\Tile Highlight.cpp(798) : error C2664: 'textutils_GetHeight' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                              C:\source\ctp2svn\trunk\ctp2_code\gfx\tilesys\Tile Highlight.cpp(802) : error C2664: 'primitives_DrawText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                              C:\source\ctp2svn\trunk\ctp2_code\gfx\tilesys\Tile Highlight.cpp(1087) : error C2664: 'textutils_GetWidth' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                              C:\source\ctp2svn\trunk\ctp2_code\gfx\tilesys\Tile Highlight.cpp(1088) : error C2664: 'textutils_GetHeight' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                              C:\source\ctp2svn\trunk\ctp2_code\gfx\tilesys\Tile Highlight.cpp(1093) : error C2664: 'primitives_DrawText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                              CityData.cpp
                              C:\source\ctp2svn\trunk\ctp2_code\gs\gameobj\CityD ata.cpp(3979) : error C2065: 'ing' : undeclared identifier
                              DataCheck.cpp
                              C:\source\ctp2svn\trunk\ctp2_code\gs\utility\DataC heck.cpp(655) : error C2664: 'primitives_DrawText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                              C:\source\ctp2svn\trunk\ctp2_code\gs\utility\DataC heck.cpp(660) : error C2664: 'primitives_DrawText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                              C:\source\ctp2svn\trunk\ctp2_code\gs\utility\DataC heck.cpp(664) : error C2664: 'primitives_DrawText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                              C:\source\ctp2svn\trunk\ctp2_code\gs\utility\DataC heck.cpp(680) : error C2664: 'primitives_DrawText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                              gameinit.cpp
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(370) : error C2059: syntax error : '=='
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                              rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                              const'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(370) : error C2039: '_N' : is not a member of 'ctype'
                              c:\program files\microsoft visual studio\vc98\include\xlocale(519) : see declaration of 'ctype'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                              rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                              const'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(370) : error C2143: syntax error : missing ';' before ')'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                              rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                              const'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(372) : error C2039: 'string_type' : is not a member of 'ctype'
                              c:\program files\microsoft visual studio\vc98\include\xlocale(519) : see declaration of 'ctype'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                              rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                              const'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(372) : error C2146: syntax error : missing ';' before identifier '_D2'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                              rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                              const'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(372) : error C2039: '_D2' : is not a member of 'ctype'
                              c:\program files\microsoft visual studio\vc98\include\xlocale(519) : see declaration of 'ctype'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                              rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                              const'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(372) : error C2039: '_S' : is not a member of 'ctype'
                              c:\program files\microsoft visual studio\vc98\include\xlocale(519) : see declaration of 'ctype'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                              rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                              const'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(372) : error C2039: '_N' : is not a member of 'ctype'
                              c:\program files\microsoft visual studio\vc98\include\xlocale(519) : see declaration of 'ctype'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                              rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                              const'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(373) : error C2039: '_N' : is not a member of 'ctype'
                              c:\program files\microsoft visual studio\vc98\include\xlocale(519) : see declaration of 'ctype'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                              rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                              const'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(374) : error C2039: '_D2' : is not a member of 'ctype'
                              c:\program files\microsoft visual studio\vc98\include\xlocale(519) : see declaration of 'ctype'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                              rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                              const'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(374) : error C2039: 'append' : is not a member of 'ctype'
                              c:\program files\microsoft visual studio\vc98\include\xlocale(519) : see declaration of 'ctype'
                              c:\program files\microsoft visual studio\vc98\include\xlocmon(364) : while compiling class-template member function 'class std:streambuf_iterator > __thiscall std::money_putstreambuf_ite
                              rator > >::do_put(class std:streambuf_iterator >,bool,class std::ios_base &,char,const class std::basic_string,class std::allocator > &)
                              const'
                              network.cpp
                              C:\source\ctp2svn\trunk\ctp2_code\net\general\netw ork.cpp(2712) : error C2664: 'primitives_DrawText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                              C:\source\ctp2svn\trunk\ctp2_code\net\general\netw ork.cpp(2724) : error C2664: 'primitives_DrawText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                              C:\source\ctp2svn\trunk\ctp2_code\net\general\netw ork.cpp(2728) : error C2664: 'primitives_DrawText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                              aui_ldl.cpp
                              C:\source\ctp2svn\trunk\ctp2_code\ui\aui_common\au i_ldl.cpp(148) : error C2664: '__thiscall ldl::ldl(char *,char *,int)' : cannot convert parameter 1 from 'const char *' to 'char *'
                              Conversion loses qualifiers
                              InfoBar.cpp
                              C:\source\ctp2svn\trunk\ctp2_code\ui\aui_ctp2\Info Bar.cpp(165) : error C2664: 'primitives_DropText' : cannot convert parameter 1 from 'class aui_DirectSurface *' to 'class aui_Surface *'
                              Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
                              thumbnailmap.cpp
                              c:\source\ctp2svn\trunk\ctp2_code\ui\aui_ctp2\thum bnailmap.h(165) : error C2079: 'm_clickedCell' uses undefined class 'MapPoint'
                              Battle.cpp
                              C:\source\ctp2svn\trunk\ctp2_code\ui\interface\Bat tle.cpp(263) : error C2662: 'GetSpriteState' : cannot convert 'this' pointer from 'const class Unit' to 'class Unit &'
                              Conversion loses qualifiers
                              C:\source\ctp2svn\trunk\ctp2_code\ui\interface\Bat tle.cpp(281) : error C2662: 'GetSpriteState' : cannot convert 'this' pointer from 'const class Unit' to 'class Unit &'
                              Conversion loses qualifiers
                              Generating Code...
                              Error executing cl.exe.

                              CivCTP_dbg.exe - 33 error(s), 0 warning(s)
                              [/code]

                              I also got an error about this piece of code, but I think I did that accidentally. Can anybody tell me what it should be?
                              [code]
                              BOOL CityData::BuildImprovement(sint32 type)
                              {
                              Assert(
                              ing(type));
                              Last edited by Martin Gühmann; May 23, 2008, 18:21.
                              Caution! Under no circumstances confuse the mesh with the interleave operator, except under confusing circumstances!
                              -Intercal reference manual

                              People often remark of me, "You say sorry far to much!". To which my common-sense reply is "I apologise".

                              Comment


                              • Still busy. Not all of my changes have been committed yet.

                                The Assert should be Assert(CanBuildBuilding(type)). I got the same error - looks like some text got removed in revision 485.

                                Comment

                                Working...
                                X