Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 28, 2011, 7:15:14 AM (14 years ago)
Author:
rgrieder
Message:

Merged kicklib2 branch back to trunk (includes former branches ois_update, mac_osx and kicklib).

Notes for updating

Linux:
You don't need an extra package for CEGUILua and Tolua, it's already shipped with CEGUI.
However you do need to make sure that the OgreRenderer is installed too with CEGUI 0.7 (may be a separate package).
Also, Orxonox now recognises if you install the CgProgramManager (a separate package available on newer Ubuntu on Debian systems).

Windows:
Download the new dependency packages versioned 6.0 and use these. If you have problems with that or if you don't like the in game console problem mentioned below, you can download the new 4.3 version of the packages (only available for Visual Studio 2005/2008).

Key new features:

  • *Support for Mac OS X*
  • Visual Studio 2010 support
  • Bullet library update to 2.77
  • OIS library update to 1.3
  • Support for CEGUI 0.7 —> Support for Arch Linux and even SuSE
  • Improved install target
  • Compiles now with GCC 4.6
  • Ogre Cg Shader plugin activated for Linux if available
  • And of course lots of bug fixes

There are also some regressions:

  • No support for CEGUI 0.5, Ogre 1.4 and boost 1.35 - 1.39 any more
  • In game console is not working in main menu for CEGUI 0.7
  • Tolua (just the C lib, not the application) and CEGUILua libraries are no longer in our repository. —> You will need to get these as well when compiling Orxonox
  • And of course lots of new bugs we don't yet know about
Location:
code/trunk/src/modules
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/designtools/CreateStars.cc

    r7184 r8351  
    8888            while(1)
    8989            {
    90                 phi = rnd(2*math::pi);
     90                phi = rnd(math::twoPi);
    9191                teta = rnd(math::pi);
    9292                float random = rnd(1);
  • code/trunk/src/modules/designtools/DesignToolsPrereqs.h

    r7163 r8351  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _DesignToolsPrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _DesignToolsExport  __attribute__ ((visibility("default")))
     58#  define _DesignToolsPrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _DesignToolsExport
     61#  define _DesignToolsPrivate
    5962#endif
    6063
  • code/trunk/src/modules/designtools/ScreenshotManager.cc

    r8297 r8351  
    4545#include "core/GraphicsManager.h"
    4646#include "core/PathConfig.h"
     47#include "core/Resource.h"
    4748#include "core/command/ConsoleCommand.h"
    4849#include "util/ScopedSingletonManager.h"
     
    111112
    112113            // Create temporary texture
    113             this->tempTexture_ = Ogre::TextureManager::getSingleton().createManual("ScreenShotTex", Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, Ogre::TEX_TYPE_2D, this->windowWidth_, this->windowHeight_, 0, Ogre::PF_B8G8R8, Ogre::TU_RENDERTARGET);
     114            this->tempTexture_ = Ogre::TextureManager::getSingleton().createManual("ScreenShotTex",
     115                Resource::getDefaultResourceGroup(), Ogre::TEX_TYPE_2D, this->windowWidth_,
     116                this->windowHeight_, 0, Ogre::PF_B8G8R8, Ogre::TU_RENDERTARGET);
    114117
    115118            // Get the current render target of the temporary texture
  • code/trunk/src/modules/designtools/SkyboxGenerator.cc

    r8297 r8351  
    173173                this->setupRenderWindow(renderWindow);
    174174                // Add the log path to the standard resource group.
    175                 Ogre::ResourceGroupManager::getSingleton().addResourceLocation(PathConfig::getInstance().getLogPathString(), "FileSystem", Resource::DEFAULT_GROUP);
     175                Ogre::ResourceGroupManager::getSingleton().addResourceLocation(PathConfig::getInstance().getLogPathString(), "FileSystem", Resource::getDefaultResourceGroup());
    176176               
    177177                COUT(4) << "Setting up SkyboxGenerator..." << endl;
     
    208208                this->restoreRenderWindow(renderWindow);
    209209                // Remove the log path from the standard resource group.
    210                 Ogre::ResourceGroupManager::getSingleton().removeResourceLocation(PathConfig::getInstance().getLogPathString(), Resource::DEFAULT_GROUP);
     210                Ogre::ResourceGroupManager::getSingleton().removeResourceLocation(PathConfig::getInstance().getLogPathString(), Resource::getDefaultResourceGroup());
    211211               
    212212                // Reset the flow parameters for the next skybox generation.
     
    311311        // If someone figures this out, feel free to adjust.
    312312        image = new Ogre::Image();
    313         image->load(name, Resource::DEFAULT_GROUP);
     313        image->load(name, Resource::getDefaultResourceGroup());
    314314        image->resize(this->size_, this->size_);
    315315        image->save(PathConfig::getInstance().getLogPathString()+name);
  • code/trunk/src/modules/notifications/NotificationsPrereqs.h

    r7403 r8351  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _NotificationsPrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _NotificationsExport  __attribute__ ((visibility("default")))
     58#  define _NotificationsPrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _NotificationsExport
     61#  define _NotificationsPrivate
    5962#endif
    6063
  • code/trunk/src/modules/objects/ObjectsPrereqs.h

    r7601 r8351  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _ObjectsPrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _ObjectsExport  __attribute__ ((visibility("default")))
     58#  define _ObjectsPrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _ObjectsExport
     61#  define _ObjectsPrivate
    5962#endif
    6063
  • code/trunk/src/modules/overlays/OverlaysPrereqs.h

    r8079 r8351  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _OverlaysPrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _OverlaysExport  __attribute__ ((visibility("default")))
     58#  define _OverlaysPrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _OverlaysExport
     61#  define _OverlaysPrivate
    5962#endif
    6063
  • code/trunk/src/modules/overlays/hud/LastTeamStandingInfos.cc

    • Property svn:eol-style set to native
  • code/trunk/src/modules/pickup/PickupPrereqs.h

    r7163 r8351  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _PickupPrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _PickupExport  __attribute__ ((visibility("default")))
     58#  define _PickupPrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _PickupExport
     61#  define _PickupPrivate
    5962#endif
    6063
  • code/trunk/src/modules/pong/Pong.h

    r8108 r8351  
    4141
    4242#include "gametypes/Deathmatch.h"
     43#include "PongCenterpoint.h"
    4344
    4445namespace orxonox
  • code/trunk/src/modules/pong/PongPrereqs.h

    r7163 r8351  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _PongPrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _PongExport  __attribute__ ((visibility("default")))
     58#  define _PongPrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _PongExport
     61#  define _PongPrivate
    5962#endif
    6063
  • code/trunk/src/modules/questsystem/QuestEffect.cc

    r7456 r8351  
    6868    /*static*/ bool QuestEffect::invokeEffects(PlayerInfo* player, std::list<QuestEffect*> & effects)
    6969    {
    70         bool check = true;
     70        bool temp = true;
    7171
    7272        COUT(4) << "Invoking QuestEffects on player: " << player << " ."  << std::endl;
    7373
    7474        for (std::list<QuestEffect*>::iterator effect = effects.begin(); effect != effects.end(); effect++)
    75             check = check && (*effect)->invoke(player);
     75            temp = temp && (*effect)->invoke(player);
    7676
    77         return check;
     77        return temp;
    7878    }
    7979
  • code/trunk/src/modules/questsystem/QuestEffectBeacon.cc

    r7552 r8351  
    143143        COUT(4) << "QuestEffectBeacon executed on player: " << player << " ." << std::endl;
    144144
    145         bool check = QuestEffect::invokeEffects(player, this->effects_); // Invoke the QuestEffects on the PlayerInfo.
    146         if(check)
     145        bool temp = QuestEffect::invokeEffects(player, this->effects_); // Invoke the QuestEffects on the PlayerInfo.
     146        if(temp)
    147147        {
    148148            this->decrementTimes(); // Decrement the number of times the beacon can be used.
  • code/trunk/src/modules/questsystem/QuestsystemPrereqs.h

    r7474 r8351  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _QuestsystemPrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _QuestsystemExport  __attribute__ ((visibility("default")))
     58#  define _QuestsystemPrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _QuestsystemExport
     61#  define _QuestsystemPrivate
    5962#endif
    6063
  • code/trunk/src/modules/questsystem/effects/AddReward.cc

    r7456 r8351  
    105105        COUT(5) << "AddReward on player: " << player << " ." << std::endl;
    106106
    107         bool check = true;
     107        bool temp = true;
    108108        for ( std::list<Rewardable*>::iterator reward = this->rewards_.begin(); reward != this->rewards_.end(); ++reward )
    109             check = check && (*reward)->reward(player);
     109            temp = temp && (*reward)->reward(player);
    110110
    111111        COUT(4) << "Rewardable successfully added to player." << player << " ." << std::endl;
    112112
    113         return check;
     113        return temp;
    114114    }
    115115
  • code/trunk/src/modules/questsystem/effects/CMakeLists.txt

    • Property svn:eol-style set to native
  • code/trunk/src/modules/weapons/WeaponsPrereqs.h

    r7846 r8351  
    5353#    endif
    5454#  endif
    55 #elif defined ( ORXONOX_GCC_VISIBILITY )
     55#  define _WeaponsPrivate
     56#elif defined (ORXONOX_GCC_VISIBILITY)
    5657#  define _WeaponsExport  __attribute__ ((visibility("default")))
     58#  define _WeaponsPrivate __attribute__ ((visibility("hidden")))
    5759#else
    5860#  define _WeaponsExport
     61#  define _WeaponsPrivate
    5962#endif
    6063
Note: See TracChangeset for help on using the changeset viewer.