Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7690 in orxonox.OLD for branches/water/src/story_entities


Ignore:
Timestamp:
May 18, 2006, 3:31:04 PM (18 years ago)
Author:
patrick
Message:

water: some bugs fixed

Location:
branches/water/src/story_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/water/src/story_entities/game_world.cc

    r7686 r7690  
    3333#include "terrain.h"
    3434#include "playable.h"
    35 #include "mapped_water.h"
     35#include "environments/mapped_water.h"
    3636
    3737#include "light.h"
     
    445445  // clear buffer
    446446  glClear( GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);
    447   // draw world
    448   //   this->draw();
    449447
    450448  // render the reflection texture
     
    479477  MappedWater* mw;
    480478
    481   if( reflectedWaters = ClassList::getList(CL_MAPPED_WATER) != NULL)
     479  if( (reflectedWaters = ClassList::getList(CL_MAPPED_WATER)) != NULL)
    482480  {
    483481    std::list<BaseObject*>::const_iterator it;
     
    536534
    537535/**
    538  * @brief runs through all entities calling their draw() methods
    539  */
    540 void GameWorld::draw ()
    541 {
    542 
    543 }
    544 
    545 /**
    546536 *  shows the loading screen
    547537 */
  • branches/water/src/story_entities/game_world.h

    r7686 r7690  
    7474    virtual void renderPassRefraction();
    7575    virtual void renderPassAll();
    76     virtual void draw();
     76
    7777
    7878    virtual void display();
Note: See TracChangeset for help on using the changeset viewer.