Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2823 in orxonox.OLD


Ignore:
Timestamp:
Nov 12, 2004, 2:07:35 AM (20 years ago)
Author:
bensch
Message:

orxonox/trunk/importer: now uses c++ lib <fstream>, and added the OrxOnoX Headers

Location:
orxonox/trunk/importer
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/importer/array.cc

    r2812 r2823  
     1/*
     2   orxonox - the future of 3D-vertical-scrollers
     3
     4   Copyright (C) 2004 orx
     5
     6   This program is free software; you can redistribute it and/or modify
     7   it under the terms of the GNU General Public License as published by
     8   the Free Software Foundation; either version 2, or (at your option)
     9   any later version.
     10
     11   ### File Specific:
     12   main-programmer: Benjamin Grauer
     13   co-programmer: ...
     14*/
     15
    116#include "array.h"
    217
  • orxonox/trunk/importer/array.h

    r2812 r2823  
    66#include <GL/gl.h>
    77#include <GL/glu.h>
    8 #include <fstream.h>
     8#include <fstream>
    99class Array
    1010{
  • orxonox/trunk/importer/material.cc

    r2804 r2823  
     1/*
     2   orxonox - the future of 3D-vertical-scrollers
     3
     4   Copyright (C) 2004 orx
     5
     6   This program is free software; you can redistribute it and/or modify
     7   it under the terms of the GNU General Public License as published by
     8   the Free Software Foundation; either version 2, or (at your option)
     9   any later version.
     10
     11   ### File Specific:
     12   main-programmer: Benjamin Grauer
     13   co-programmer: ...
     14*/
     15
    116#include "material.h"
    217
  • orxonox/trunk/importer/material.h

    r2804 r2823  
    77#include <GL/glu.h>
    88#include <stdlib.h>
    9 #include <fstream.h>
     9#include <fstream>
    1010
    1111class Material
  • orxonox/trunk/importer/object.cc

    r2821 r2823  
     1/*
     2   orxonox - the future of 3D-vertical-scrollers
     3
     4   Copyright (C) 2004 orx
     5
     6   This program is free software; you can redistribute it and/or modify
     7   it under the terms of the GNU General Public License as published by
     8   the Free Software Foundation; either version 2, or (at your option)
     9   any later version.
     10
     11   ### File Specific:
     12   main-programmer: Benjamin Grauer
     13   co-programmer: ...
     14*/
     15
    116#include "object.h"
    217
     
    7186bool Object::readFromObjFile (char* fileName)
    7287{
    73   OBJ_FILE = new ifstream (fileName);
     88  OBJ_FILE = new ifstream(fileName);
    7489  if (!OBJ_FILE->is_open())
    7590    {
  • orxonox/trunk/importer/object.h

    r2821 r2823  
     1/*!
     2 \file object.h
     3 \brief Contains the Object Class that handles 3D-Objects
     4*/
     5
    16#ifndef _OBJECT_H
    27#define _OBJECT_H
     
    712#include "array.h"
    813#include "material.h"
    9 #include <fstream.h>
     14#include <fstream>
    1015
     16using namespace std;
    1117extern int verbose;
    1218
     19//! Class that handles 3D-Objects. it can also read them in and display them.
    1320class Object
    1421{
Note: See TracChangeset for help on using the changeset viewer.