Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4556 in orxonox.OLD


Ignore:
Timestamp:
Jun 8, 2005, 2:35:10 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: style

Location:
orxonox/trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/Makefile.am

    r4380 r4556  
    1 AUTOMAKE_OPTIONS = foreign no-installman no-installinfo 
     1AUTOMAKE_OPTIONS = foreign no-installman no-installinfo
    22
    3 SUBDIRS = src 
     3SUBDIRS = src
    44
    55EXTRA_DIST = CODING-STANDARDS \
    6              IDEAS \
    7              TASKS \
    8              doc/CREDITS \
    9              doc/doxyconf/build \
    10              doc/doxyconf/confopts \
    11              doc/doxyconf/input \
    12              doc/doxyconf/preprocessor \
    13              doc/doxyconf/progress \
    14              doc/doxyconf/project
     6             IDEAS \
     7             TASKS \
     8             doc/CREDITS \
     9             doc/doxyconf/build \
     10             doc/doxyconf/confopts \
     11             doc/doxyconf/input \
     12             doc/doxyconf/preprocessor \
     13             doc/doxyconf/progress \
     14             doc/doxyconf/project
    1515
    1616## doxygen stuff
     
    1919
    2020## Exclude the application wizard templates, and some file templates
    21 DOXYGEN_EXCLUDE = 
     21DOXYGEN_EXCLUDE =
    2222
    23 DOXYGEN_EXAMPLE_PATH = 
     23DOXYGEN_EXAMPLE_PATH =
    2424
    2525## Use Search engine (Versions 1.3.4 and above only!)
  • orxonox/trunk/Makefile.in

    r4380 r4556  
    180180target_os = @target_os@
    181181target_vendor = @target_vendor@
    182 AUTOMAKE_OPTIONS = foreign no-installman no-installinfo 
    183 SUBDIRS = src 
     182AUTOMAKE_OPTIONS = foreign no-installman no-installinfo
     183SUBDIRS = src
    184184EXTRA_DIST = CODING-STANDARDS \
    185              IDEAS \
    186              TASKS \
    187              doc/CREDITS \
    188              doc/doxyconf/build \
    189              doc/doxyconf/confopts \
    190              doc/doxyconf/input \
    191              doc/doxyconf/preprocessor \
    192              doc/doxyconf/progress \
    193              doc/doxyconf/project
     185             IDEAS \
     186             TASKS \
     187             doc/CREDITS \
     188             doc/doxyconf/build \
     189             doc/doxyconf/confopts \
     190             doc/doxyconf/input \
     191             doc/doxyconf/preprocessor \
     192             doc/doxyconf/progress \
     193             doc/doxyconf/project
    194194
    195195@DOXYGEN_TRUE@DOXYGEN_INPUT = "src"
  • orxonox/trunk/configure

    r4531 r4556  
    39423942
    39433943if test x$DEBUG = xno; then
    3944         echo "no"
    3945         echo " -> Setting debuglevel to 4. (orxonox is still in Development. It really is needed."
    3946         DEBUG=4
     3944        echo "no"
     3945        echo " -> Setting debuglevel to 4. (orxonox is still in Development. It really is needed."
     3946        DEBUG=4
    39473947elif test x$DEBUG = xyes; then
    3948         echo "yes"
    3949         echo " -> Setting debuglevel to 4. HARD DEBUG MODE!!."
    3950         DEBUG=4
    3951 else
    3952         echo "yes: setting debuglevel to to $DEBUG"
     3948        echo "yes"
     3949        echo " -> Setting debuglevel to 4. HARD DEBUG MODE!!."
     3950        DEBUG=4
     3951else
     3952        echo "yes: setting debuglevel to to $DEBUG"
    39533953fi
    39543954
     
    39733973
    39743974if test x$MODULAR_DEBUG = xno; then
    3975         echo "no"
     3975        echo "no"
    39763976elif test x$MODULAR_DEBUG = xyes; then
    3977         echo "yes"
     3977        echo "yes"
    39783978
    39793979cat >>confdefs.h <<_ACEOF
     
    42854285
    42864286# checking gl header
    4287         #done before loop
     4287        #done before loop
    42884288
    42894289# checking gl header
     
    45804580
    45814581    if test x$FOUND_opengl32 = xyes ; then
    4582         LIBS="$LIBS -lopengl32"
     4582        LIBS="$LIBS -lopengl32"
    45834583    else
    4584         echo "------------------"
    4585         echo "opengl not found."
    4586         echo "please install the opengl package which can be found at http://www.opengl.org"
    4587         echo "------------------"
    4588         exit -1
     4584        echo "------------------"
     4585        echo "opengl not found."
     4586        echo "please install the opengl package which can be found at http://www.opengl.org"
     4587        echo "------------------"
     4588        exit -1
    45894589    fi
    45904590
     
    48094809
    48104810    if test x$FOUND_glu32 = xyes ; then
    4811         LIBS="$LIBS -lGLU32"
     4811        LIBS="$LIBS -lGLU32"
    48124812    else
    4813         echo "------------------"
    4814         echo "GLU library not found."
    4815         echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org"
    4816         echo "------------------"
    4817         exit -1
     4813        echo "------------------"
     4814        echo "GLU library not found."
     4815        echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org"
     4816        echo "------------------"
     4817        exit -1
    48184818    fi
    48194819
     
    48824882
    48834883    if test x$FOUND_mingw32 = xyes; then
    4884         LIBS="$LIBS -lmingw32"
     4884        LIBS="$LIBS -lmingw32"
    48854885    fi
    48864886# checking for SDL-headers
     
    54235423     LIBS="$LIBS -lGL"
    54245424   else
    5425         echo "------------------"
    5426         echo "opengl not found."
    5427         echo "please install the opengl package which can be found at http://www.opengl.org"
    5428         echo "------------------"
    5429         exit -1
     5425        echo "------------------"
     5426        echo "opengl not found."
     5427        echo "please install the opengl package which can be found at http://www.opengl.org"
     5428        echo "------------------"
     5429        exit -1
    54305430   fi
    54315431
     
    56575657      LIBS="$LIBS -lGLU"
    56585658    else
    5659         echo "------------------"
    5660         echo "GLU library not found."
    5661         echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org"
    5662         echo "------------------"
    5663         exit -1
     5659        echo "------------------"
     5660        echo "GLU library not found."
     5661        echo "please install the GLU library, that should come with openGL, which can be found at http://www.opengl.org"
     5662        echo "------------------"
     5663        exit -1
    56645664    fi
    56655665
     
    58885888        echo "------------------"
    58895889        echo "SDL library not found."
    5890         echo "please install the SDL library, which can be found at http://www.libsdl.org"
     5890        echo "please install the SDL library, which can be found at http://www.libsdl.org"
    58915891        echo "------------------"
    58925892        exit -1
     
    64816481        echo "------------------"
    64826482        echo "openal library not found."
    6483         echo "please install the openal library, which can be found at http://www.openal.org"
     6483        echo "please install the openal library, which can be found at http://www.openal.org"
    64846484        echo "------------------"
    64856485        exit -1
     
    67126712        echo "------------------"
    67136713        echo "ogg library not found."
    6714         echo "please install the ogg library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"
     6714        echo "please install the ogg library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"
    67156715        echo "------------------"
    67166716        exit -1
     
    67886788        echo "------------------"
    67896789        echo "vorbis library not found."
    6790         echo "please install the vorbis library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"
     6790        echo "please install the vorbis library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"
    67916791        echo "------------------"
    67926792        exit -1
     
    70197019        echo "------------------"
    70207020        echo "vorbisfile library not found."
    7021         echo "please install the vorbisfile library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"
     7021        echo "please install the vorbisfile library, which can be found at http://www.xiph.org/ogg/vorbis/index.html"
    70227022        echo "------------------"
    70237023        exit -1
     
    72517251        echo "------------------"
    72527252        echo "SDL_ttf library not found."
    7253         echo "please install the SDL_ttf library, which can be found at http://www.libsdl.org/projects/SDL_ttf/"
     7253        echo "please install the SDL_ttf library, which can be found at http://www.libsdl.org/projects/SDL_ttf/"
    72547254        echo "------------------"
    72557255        exit -1
     
    74907490#-----#
    74917491if test x$def_gtk = xyes; then
    7492         #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no)
    7493         echo "$as_me:$LINENO: checking for gtk2.0" >&5
     7492        #PKG_CHECK_MODULES(GTK2, gtk+-2.0 >= 2.0.3 gthread-2.0 >= 2.0.3, have_gtk2=yes, have_gtk2=no)
     7493        echo "$as_me:$LINENO: checking for gtk2.0" >&5
    74947494echo $ECHO_N "checking for gtk2.0... $ECHO_C" >&6
    7495         if `$PKG_CONFIG --exists gtk+-2.0`; then
    7496                 echo "yes"
    7497                 have_gtk2=yes
    7498                 GTK2_LIBS=`$PKG_CONFIG --libs gtk+-2.0`
    7499                 GTK2_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0`
     7495        if `$PKG_CONFIG --exists gtk+-2.0`; then
     7496                echo "yes"
     7497                have_gtk2=yes
     7498                GTK2_LIBS=`$PKG_CONFIG --libs gtk+-2.0`
     7499                GTK2_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0`
    75007500
    75017501cat >>confdefs.h <<_ACEOF
     
    75037503_ACEOF
    75047504
    7505                 if test $DEBUG -ge 3; then
    7506                 echo "cflags: $GTK2_CFLAGS"
    7507                 echo "libs: $GTK2_LIBS"
    7508                 fi
    7509         else
    7510                 echo "no"
    7511         fi
     7505                if test $DEBUG -ge 3; then
     7506                echo "cflags: $GTK2_CFLAGS"
     7507                echo "libs: $GTK2_LIBS"
     7508                fi
     7509        else
     7510                echo "no"
     7511        fi
    75127512
    75137513fi
  • orxonox/trunk/src/Makefile.am

    r4539 r4556  
    66
    77
    8 bin_PROGRAMS = orxonox 
     8bin_PROGRAMS = orxonox
    99
    1010orxonox_DEPENDENCIES = lib/gui/libORXgui.a \
    11                        lib/sound/libORXsound.a \
    12                        lib/event/libORXevent.a \
    13                        lib/physics/libORXphysics.a \
    14                        lib/particles/libORXparticles.a \
    15                        lib/collision_detection/libORXcd.a \
    16                        lib/tinyxml/libtinyxml.a
     11                       lib/sound/libORXsound.a \
     12                       lib/event/libORXevent.a \
     13                       lib/physics/libORXphysics.a \
     14                       lib/particles/libORXparticles.a \
     15                       lib/collision_detection/libORXcd.a \
     16                       lib/tinyxml/libtinyxml.a
    1717
    1818orxonox_LDADD = lib/gui/libORXgui.a \
    19                 lib/sound/libORXsound.a \
    20                 lib/event/libORXevent.a \
    21                 lib/physics/libORXphysics.a \
    22                 lib/particles/libORXparticles.a \
    23                 lib/collision_detection/libORXcd.a \
     19                lib/sound/libORXsound.a \
     20                lib/event/libORXevent.a \
     21                lib/physics/libORXphysics.a \
     22                lib/particles/libORXparticles.a \
     23                lib/collision_detection/libORXcd.a \
    2424                lib/tinyxml/libtinyxml.a \
    2525                $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS)
    2626
    2727
    28 orxonox_SOURCES= orxonox.cc \
    29                 util/loading/game_loader.cc \
    30                 util/track/track_manager.cc \
    31                 util/track/track_node.cc \
    32                 util/track/pilot_node.cc \
    33                 util/animation/animation.cc \
    34                 util/animation/animation3d.cc \
    35                 util/animation/animation_player.cc \
    36                 util/object_manager.cc \
    37                 util/garbage_collector.cc \
    38                 util/resource_manager.cc \
    39                 util/loading/factory.cc \
    40                 util/loading/load_param.cc \
    41                 util/state.cc \
    42                 story_entities/story_entity.cc \
    43                 story_entities/campaign.cc \
    44                 story_entities/world.cc \
    45                 world_entities/world_entity.cc \
    46                 world_entities/camera.cc \
    47                 world_entities/player.cc \
    48                 world_entities/environment.cc \
    49                 world_entities/skysphere.cc \
    50                 world_entities/skybox.cc \
    51                 world_entities/terrain.cc \
    52                 world_entities/weapon.cc \
    53                 world_entities/projectile.cc \
    54                 world_entities/satellite.cc \
    55                 world_entities/character_attributes.cc \
    56                 world_entities/test_gun.cc \
    57                 world_entities/test_bullet.cc \
    58                 world_entities/test_entity.cc \
    59                 lib/coord/p_node.cc \
    60                 lib/coord/null_parent.cc \
    61                 lib/coord/helper_parent.cc \
    62                 lib/graphics/graphics_engine.cc \
    63                 lib/graphics/light.cc \
    64                 lib/graphics/text_engine.cc \
    65                 lib/graphics/importer/array.cc \
    66                 lib/graphics/importer/objModel.cc \
    67                 lib/graphics/importer/md2Model.cc \
    68                 lib/graphics/importer/primitive_model.cc \
    69                 lib/graphics/importer/model.cc \
    70                 lib/graphics/importer/material.cc \
    71                 lib/graphics/importer/texture.cc \
    72                 lib/lang/base_object.cc \
    73                 lib/util/ini_parser.cc \
    74                 lib/util/substring.cc \
    75                 lib/math/vector.cc \
    76                 lib/math/curve.cc \
    77                 glmenu/glmenu_imagescreen.cc \
    78                 subprojects/benchmark.cc
     28orxonox_SOURCES = orxonox.cc \
     29                  util/loading/game_loader.cc \
     30                  util/track/track_manager.cc \
     31                  util/track/track_node.cc \
     32                  util/track/pilot_node.cc \
     33                  util/animation/animation.cc \
     34                  util/animation/animation3d.cc \
     35                  util/animation/animation_player.cc \
     36                  util/object_manager.cc \
     37                  util/garbage_collector.cc \
     38                  util/resource_manager.cc \
     39                  util/loading/factory.cc \
     40                  util/loading/load_param.cc \
     41                  util/state.cc \
     42                  story_entities/story_entity.cc \
     43                  story_entities/campaign.cc \
     44                  story_entities/world.cc \
     45                  world_entities/world_entity.cc \
     46                  world_entities/camera.cc \
     47                  world_entities/player.cc \
     48                  world_entities/environment.cc \
     49                  world_entities/skysphere.cc \
     50                  world_entities/skybox.cc \
     51                  world_entities/terrain.cc \
     52                  world_entities/weapon.cc \
     53                  world_entities/projectile.cc \
     54                  world_entities/satellite.cc \
     55                  world_entities/character_attributes.cc \
     56                  world_entities/test_gun.cc \
     57                  world_entities/test_bullet.cc \
     58                  world_entities/test_entity.cc \
     59                  lib/coord/p_node.cc \
     60                  lib/coord/null_parent.cc \
     61                  lib/coord/helper_parent.cc \
     62                  lib/graphics/graphics_engine.cc \
     63                  lib/graphics/light.cc \
     64                  lib/graphics/text_engine.cc \
     65                  lib/graphics/importer/array.cc \
     66                  lib/graphics/importer/objModel.cc \
     67                  lib/graphics/importer/md2Model.cc \
     68                  lib/graphics/importer/primitive_model.cc \
     69                  lib/graphics/importer/model.cc \
     70                  lib/graphics/importer/material.cc \
     71                  lib/graphics/importer/texture.cc \
     72                  lib/lang/base_object.cc \
     73                  lib/util/ini_parser.cc \
     74                  lib/util/substring.cc \
     75                  lib/math/vector.cc \
     76                  lib/math/curve.cc \
     77                  glmenu/glmenu_imagescreen.cc \
     78                  subprojects/benchmark.cc
    7979
    8080noinst_HEADERS = orxonox.h \
    8181                 ability.h \
    82                 defs/message_structures.h \
    83                 util/loading/game_loader.h \
    84                 util/track/track_manager.h \
    85                 util/track/track_node.h \
    86                 util/track/pilot_node.h \
    87                 util/animation/animation.h \
    88                 util/animation/t_animation.h \
    89                 util/animation/animation3d.h \
    90                 util/animation/animation_player.h \
    91                 util/object_manager.h \
    92                 util/garbage_collector.h \
    93                 util/state.h \
    94                 util/resource_manager.h \
    95                 util/loading/factory.h \
    96                 util/loading/load_param.h \
    97                 story_entities/story_entity.h \
    98                 story_entities/story_def.h \
    99                 story_entities/campaign.h \
    100                 story_entities/world.h \
    101                 world_entities/world_entity.h \
    102                 world_entities/camera.h \
    103                 world_entities/player.h \
    104                 world_entities/npc.h \
    105                 world_entities/environment.h \
    106                 world_entities/skysphere.h \
    107                 world_entities/skybox.h \
    108                 world_entities/power_up.h \
    109                 world_entities/terrain.h \
    110                 world_entities/weapon.h \
    111                 world_entities/projectile.h \
    112                 world_entities/satellite.h \
    113                 world_entities/character_attributes.h \
    114                 world_entities/test_gun.h \
    115                 world_entities/test_bullet.h \
    116                 world_entities/test_entity.h \
    117                 defs/stdincl.h \
    118                 defs/stdlibincl.h \
    119                 defs/sdlincl.h \
    120                 defs/glincl.h \
    121                 defs/alincl.h \
    122                 defs/comincl.h \
    123                 defs/confincl.h \
    124                 defs/error.h \
    125                 defs/debug.h \
    126                 defs/globals.h \
    127                 defs/compiler.h \
    128                 defs/class_list.h \
    129                 lib/coord/p_node.h \
    130                 lib/coord/null_parent.h \
    131                 lib/coord/helper_parent.h \
    132                 lib/graphics/graphics_engine.h \
    133                 lib/graphics/light.h \
    134                 lib/graphics/text_engine.h \
    135                 lib/graphics/importer/array.h \
    136                 lib/graphics/importer/abstract_model.h \
    137                 lib/graphics/importer/objModel.h \
    138                 lib/graphics/importer/md2Model.h \
    139                 lib/graphics/importer/primitive_model.h \
    140                 lib/graphics/importer/model.h \
    141                 lib/graphics/importer/material.h \
    142                 lib/graphics/importer/texture.h \
    143                 lib/graphics/importer/anorms.h \
    144                 lib/graphics/importer/anormtab.h \
    145                 lib/lang/base_object.h \
    146                 lib/util/ini_parser.h \
    147                 lib/util/substring.h \
    148                 lib/util/list.h \
    149                 lib/math/vector.h \
    150                 lib/math/curve.h \
    151                 glmenu/glmenu_imagescreen.h \
    152                  subprojects/benchmark.h
     82                defs/message_structures.h \
     83                util/loading/game_loader.h \
     84                util/track/track_manager.h \
     85                util/track/track_node.h \
     86                util/track/pilot_node.h \
     87                util/animation/animation.h \
     88                util/animation/t_animation.h \
     89                util/animation/animation3d.h \
     90                util/animation/animation_player.h \
     91                util/object_manager.h \
     92                util/garbage_collector.h \
     93                util/state.h \
     94                util/resource_manager.h \
     95                util/loading/factory.h \
     96                util/loading/load_param.h \
     97                story_entities/story_entity.h \
     98                story_entities/story_def.h \
     99                story_entities/campaign.h \
     100                story_entities/world.h \
     101                world_entities/world_entity.h \
     102                world_entities/camera.h \
     103                world_entities/player.h \
     104                world_entities/npc.h \
     105                world_entities/environment.h \
     106                world_entities/skysphere.h \
     107                world_entities/skybox.h \
     108                world_entities/power_up.h \
     109                world_entities/terrain.h \
     110                world_entities/weapon.h \
     111                world_entities/projectile.h \
     112                world_entities/satellite.h \
     113                world_entities/character_attributes.h \
     114                world_entities/test_gun.h \
     115                world_entities/test_bullet.h \
     116                world_entities/test_entity.h \
     117                defs/stdincl.h \
     118                defs/stdlibincl.h \
     119                defs/sdlincl.h \
     120                defs/glincl.h \
     121                defs/alincl.h \
     122                defs/comincl.h \
     123                defs/confincl.h \
     124                defs/error.h \
     125                defs/debug.h \
     126                defs/globals.h \
     127                defs/compiler.h \
     128                defs/class_list.h \
     129                lib/coord/p_node.h \
     130                lib/coord/null_parent.h \
     131                lib/coord/helper_parent.h \
     132                lib/graphics/graphics_engine.h \
     133                lib/graphics/light.h \
     134                lib/graphics/text_engine.h \
     135                lib/graphics/importer/array.h \
     136                lib/graphics/importer/abstract_model.h \
     137                lib/graphics/importer/objModel.h \
     138                lib/graphics/importer/md2Model.h \
     139                lib/graphics/importer/primitive_model.h \
     140                lib/graphics/importer/model.h \
     141                lib/graphics/importer/material.h \
     142                lib/graphics/importer/texture.h \
     143                lib/graphics/importer/anorms.h \
     144                lib/graphics/importer/anormtab.h \
     145                lib/lang/base_object.h \
     146                lib/util/ini_parser.h \
     147                lib/util/substring.h \
     148                lib/util/list.h \
     149                lib/math/vector.h \
     150                lib/math/curve.h \
     151                glmenu/glmenu_imagescreen.h \
     152                 subprojects/benchmark.h
    153153
    154154
    155155## orxonox.conf will be used from home-dir instead.
    156156EXTRA_DIST = proto/proto_class.h \
    157              proto/proto_class.cc \
    158              proto/proto_singleton.h \
    159              proto/proto_singleton.cc \
    160              proto/proto_world_entity.h \
    161              proto/proto_world_entity.cc \
    162              defs/include_paths.am
     157             proto/proto_class.cc \
     158             proto/proto_singleton.h \
     159             proto/proto_singleton.cc \
     160             proto/proto_world_entity.h \
     161             proto/proto_world_entity.cc \
     162             defs/include_paths.am
     163
    163164if SUB_PROJECTS
    164165  SUB_PROGS = subprojects
    165166else
    166   SUB_PROGS = 
     167  SUB_PROGS =
    167168endif
    168169
    169170SUBDIRS = lib \
    170           . \
    171           $(SUB_PROGS)
     171          . \
     172          $(SUB_PROGS)
    172173
    173 #  uncomment the following if orxonox requires the math library
    174 #orxonox_LDADD=-lm
    175174
    176175#EXTRA_DIST=orxonox.lsm.in orxonox.spec.in orxonox.texinfo
  • orxonox/trunk/src/Makefile.in

    r4539 r4556  
    240240MAINSRCDIR = .
    241241orxonox_DEPENDENCIES = lib/gui/libORXgui.a \
    242                        lib/sound/libORXsound.a \
    243                        lib/event/libORXevent.a \
    244                        lib/physics/libORXphysics.a \
    245                        lib/particles/libORXparticles.a \
    246                        lib/collision_detection/libORXcd.a \
    247                        lib/tinyxml/libtinyxml.a
     242                       lib/sound/libORXsound.a \
     243                       lib/event/libORXevent.a \
     244                       lib/physics/libORXphysics.a \
     245                       lib/particles/libORXparticles.a \
     246                       lib/collision_detection/libORXcd.a \
     247                       lib/tinyxml/libtinyxml.a
    248248
    249249orxonox_LDADD = lib/gui/libORXgui.a \
    250                 lib/sound/libORXsound.a \
    251                 lib/event/libORXevent.a \
    252                 lib/physics/libORXphysics.a \
    253                 lib/particles/libORXparticles.a \
    254                 lib/collision_detection/libORXcd.a \
     250                lib/sound/libORXsound.a \
     251                lib/event/libORXevent.a \
     252                lib/physics/libORXphysics.a \
     253                lib/particles/libORXparticles.a \
     254                lib/collision_detection/libORXcd.a \
    255255                lib/tinyxml/libtinyxml.a \
    256256                $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS)
    257257
    258258orxonox_SOURCES = orxonox.cc \
    259                 util/loading/game_loader.cc \
    260                 util/track/track_manager.cc \
    261                 util/track/track_node.cc \
    262                 util/track/pilot_node.cc \
    263                 util/animation/animation.cc \
    264                 util/animation/animation3d.cc \
    265                 util/animation/animation_player.cc \
    266                 util/object_manager.cc \
    267                 util/garbage_collector.cc \
    268                 util/resource_manager.cc \
    269                 util/loading/factory.cc \
    270                 util/loading/load_param.cc \
    271                 util/state.cc \
    272                 story_entities/story_entity.cc \
    273                 story_entities/campaign.cc \
    274                 story_entities/world.cc \
    275                 world_entities/world_entity.cc \
    276                 world_entities/camera.cc \
    277                 world_entities/player.cc \
    278                 world_entities/environment.cc \
    279                 world_entities/skysphere.cc \
    280                 world_entities/skybox.cc \
    281                 world_entities/terrain.cc \
    282                 world_entities/weapon.cc \
    283                 world_entities/projectile.cc \
    284                 world_entities/satellite.cc \
    285                 world_entities/character_attributes.cc \
    286                 world_entities/test_gun.cc \
    287                 world_entities/test_bullet.cc \
    288                 world_entities/test_entity.cc \
    289                 lib/coord/p_node.cc \
    290                 lib/coord/null_parent.cc \
    291                 lib/coord/helper_parent.cc \
    292                 lib/graphics/graphics_engine.cc \
    293                 lib/graphics/light.cc \
    294                 lib/graphics/text_engine.cc \
    295                 lib/graphics/importer/array.cc \
    296                 lib/graphics/importer/objModel.cc \
    297                 lib/graphics/importer/md2Model.cc \
    298                 lib/graphics/importer/primitive_model.cc \
    299                 lib/graphics/importer/model.cc \
    300                 lib/graphics/importer/material.cc \
    301                 lib/graphics/importer/texture.cc \
    302                 lib/lang/base_object.cc \
    303                 lib/util/ini_parser.cc \
    304                 lib/util/substring.cc \
    305                 lib/math/vector.cc \
    306                 lib/math/curve.cc \
    307                 glmenu/glmenu_imagescreen.cc \
    308                 subprojects/benchmark.cc
     259                  util/loading/game_loader.cc \
     260                  util/track/track_manager.cc \
     261                  util/track/track_node.cc \
     262                  util/track/pilot_node.cc \
     263                  util/animation/animation.cc \
     264                  util/animation/animation3d.cc \
     265                  util/animation/animation_player.cc \
     266                  util/object_manager.cc \
     267                  util/garbage_collector.cc \
     268                  util/resource_manager.cc \
     269                  util/loading/factory.cc \
     270                  util/loading/load_param.cc \
     271                  util/state.cc \
     272                  story_entities/story_entity.cc \
     273                  story_entities/campaign.cc \
     274                  story_entities/world.cc \
     275                  world_entities/world_entity.cc \
     276                  world_entities/camera.cc \
     277                  world_entities/player.cc \
     278                  world_entities/environment.cc \
     279                  world_entities/skysphere.cc \
     280                  world_entities/skybox.cc \
     281                  world_entities/terrain.cc \
     282                  world_entities/weapon.cc \
     283                  world_entities/projectile.cc \
     284                  world_entities/satellite.cc \
     285                  world_entities/character_attributes.cc \
     286                  world_entities/test_gun.cc \
     287                  world_entities/test_bullet.cc \
     288                  world_entities/test_entity.cc \
     289                  lib/coord/p_node.cc \
     290                  lib/coord/null_parent.cc \
     291                  lib/coord/helper_parent.cc \
     292                  lib/graphics/graphics_engine.cc \
     293                  lib/graphics/light.cc \
     294                  lib/graphics/text_engine.cc \
     295                  lib/graphics/importer/array.cc \
     296                  lib/graphics/importer/objModel.cc \
     297                  lib/graphics/importer/md2Model.cc \
     298                  lib/graphics/importer/primitive_model.cc \
     299                  lib/graphics/importer/model.cc \
     300                  lib/graphics/importer/material.cc \
     301                  lib/graphics/importer/texture.cc \
     302                  lib/lang/base_object.cc \
     303                  lib/util/ini_parser.cc \
     304                  lib/util/substring.cc \
     305                  lib/math/vector.cc \
     306                  lib/math/curve.cc \
     307                  glmenu/glmenu_imagescreen.cc \
     308                  subprojects/benchmark.cc
    309309
    310310noinst_HEADERS = orxonox.h \
    311311                 ability.h \
    312                 defs/message_structures.h \
    313                 util/loading/game_loader.h \
    314                 util/track/track_manager.h \
    315                 util/track/track_node.h \
    316                 util/track/pilot_node.h \
    317                 util/animation/animation.h \
    318                 util/animation/t_animation.h \
    319                 util/animation/animation3d.h \
    320                 util/animation/animation_player.h \
    321                 util/object_manager.h \
    322                 util/garbage_collector.h \
    323                 util/state.h \
    324                 util/resource_manager.h \
    325                 util/loading/factory.h \
    326                 util/loading/load_param.h \
    327                 story_entities/story_entity.h \
    328                 story_entities/story_def.h \
    329                 story_entities/campaign.h \
    330                 story_entities/world.h \
    331                 world_entities/world_entity.h \
    332                 world_entities/camera.h \
    333                 world_entities/player.h \
    334                 world_entities/npc.h \
    335                 world_entities/environment.h \
    336                 world_entities/skysphere.h \
    337                 world_entities/skybox.h \
    338                 world_entities/power_up.h \
    339                 world_entities/terrain.h \
    340                 world_entities/weapon.h \
    341                 world_entities/projectile.h \
    342                 world_entities/satellite.h \
    343                 world_entities/character_attributes.h \
    344                 world_entities/test_gun.h \
    345                 world_entities/test_bullet.h \
    346                 world_entities/test_entity.h \
    347                 defs/stdincl.h \
    348                 defs/stdlibincl.h \
    349                 defs/sdlincl.h \
    350                 defs/glincl.h \
    351                 defs/alincl.h \
    352                 defs/comincl.h \
    353                 defs/confincl.h \
    354                 defs/error.h \
    355                 defs/debug.h \
    356                 defs/globals.h \
    357                 defs/compiler.h \
    358                 defs/class_list.h \
    359                 lib/coord/p_node.h \
    360                 lib/coord/null_parent.h \
    361                 lib/coord/helper_parent.h \
    362                 lib/graphics/graphics_engine.h \
    363                 lib/graphics/light.h \
    364                 lib/graphics/text_engine.h \
    365                 lib/graphics/importer/array.h \
    366                 lib/graphics/importer/abstract_model.h \
    367                 lib/graphics/importer/objModel.h \
    368                 lib/graphics/importer/md2Model.h \
    369                 lib/graphics/importer/primitive_model.h \
    370                 lib/graphics/importer/model.h \
    371                 lib/graphics/importer/material.h \
    372                 lib/graphics/importer/texture.h \
    373                 lib/graphics/importer/anorms.h \
    374                 lib/graphics/importer/anormtab.h \
    375                 lib/lang/base_object.h \
    376                 lib/util/ini_parser.h \
    377                 lib/util/substring.h \
    378                 lib/util/list.h \
    379                 lib/math/vector.h \
    380                 lib/math/curve.h \
    381                 glmenu/glmenu_imagescreen.h \
    382                  subprojects/benchmark.h
     312                defs/message_structures.h \
     313                util/loading/game_loader.h \
     314                util/track/track_manager.h \
     315                util/track/track_node.h \
     316                util/track/pilot_node.h \
     317                util/animation/animation.h \
     318                util/animation/t_animation.h \
     319                util/animation/animation3d.h \
     320                util/animation/animation_player.h \
     321                util/object_manager.h \
     322                util/garbage_collector.h \
     323                util/state.h \
     324                util/resource_manager.h \
     325                util/loading/factory.h \
     326                util/loading/load_param.h \
     327                story_entities/story_entity.h \
     328                story_entities/story_def.h \
     329                story_entities/campaign.h \
     330                story_entities/world.h \
     331                world_entities/world_entity.h \
     332                world_entities/camera.h \
     333                world_entities/player.h \
     334                world_entities/npc.h \
     335                world_entities/environment.h \
     336                world_entities/skysphere.h \
     337                world_entities/skybox.h \
     338                world_entities/power_up.h \
     339                world_entities/terrain.h \
     340                world_entities/weapon.h \
     341                world_entities/projectile.h \
     342                world_entities/satellite.h \
     343                world_entities/character_attributes.h \
     344                world_entities/test_gun.h \
     345                world_entities/test_bullet.h \
     346                world_entities/test_entity.h \
     347                defs/stdincl.h \
     348                defs/stdlibincl.h \
     349                defs/sdlincl.h \
     350                defs/glincl.h \
     351                defs/alincl.h \
     352                defs/comincl.h \
     353                defs/confincl.h \
     354                defs/error.h \
     355                defs/debug.h \
     356                defs/globals.h \
     357                defs/compiler.h \
     358                defs/class_list.h \
     359                lib/coord/p_node.h \
     360                lib/coord/null_parent.h \
     361                lib/coord/helper_parent.h \
     362                lib/graphics/graphics_engine.h \
     363                lib/graphics/light.h \
     364                lib/graphics/text_engine.h \
     365                lib/graphics/importer/array.h \
     366                lib/graphics/importer/abstract_model.h \
     367                lib/graphics/importer/objModel.h \
     368                lib/graphics/importer/md2Model.h \
     369                lib/graphics/importer/primitive_model.h \
     370                lib/graphics/importer/model.h \
     371                lib/graphics/importer/material.h \
     372                lib/graphics/importer/texture.h \
     373                lib/graphics/importer/anorms.h \
     374                lib/graphics/importer/anormtab.h \
     375                lib/lang/base_object.h \
     376                lib/util/ini_parser.h \
     377                lib/util/substring.h \
     378                lib/util/list.h \
     379                lib/math/vector.h \
     380                lib/math/curve.h \
     381                glmenu/glmenu_imagescreen.h \
     382                 subprojects/benchmark.h
    383383
    384384EXTRA_DIST = proto/proto_class.h \
    385              proto/proto_class.cc \
    386              proto/proto_singleton.h \
    387              proto/proto_singleton.cc \
    388              proto/proto_world_entity.h \
    389              proto/proto_world_entity.cc \
    390              defs/include_paths.am
     385             proto/proto_class.cc \
     386             proto/proto_singleton.h \
     387             proto/proto_singleton.cc \
     388             proto/proto_world_entity.h \
     389             proto/proto_world_entity.cc \
     390             defs/include_paths.am
    391391
    392392@SUB_PROJECTS_FALSE@SUB_PROGS =
    393393@SUB_PROJECTS_TRUE@SUB_PROGS = subprojects
    394394SUBDIRS = lib \
    395           . \
    396           $(SUB_PROGS)
     395          . \
     396          $(SUB_PROGS)
    397397
    398398all: all-recursive
     
    15911591include $(MAINSRCDIR)/defs/include_paths.am
    15921592
    1593 #  uncomment the following if orxonox requires the math library
    1594 #orxonox_LDADD=-lm
    1595 
    15961593#EXTRA_DIST=orxonox.lsm.in orxonox.spec.in orxonox.texinfo
    15971594
  • orxonox/trunk/src/lib/particles/Makefile.am

    r4428 r4556  
    22include $(MAINSRCDIR)/defs/include_paths.am
    33
    4 noinst_LIBRARIES = libORXparticles.a 
     4noinst_LIBRARIES = libORXparticles.a
    55
    66libORXparticles_a_SOURCES = particle_engine.cc \
    7                           particle_emitter.cc \
    8                           particle_system.cc \
    9                           quick_animation.cc
     7                            particle_emitter.cc \
     8                            particle_system.cc \
     9                            quick_animation.cc
    1010
    1111
    1212noinst_HEADERS= particle_engine.h \
    13                 particle_emitter.h \
    14                 particle_system.h \
    15                 quick_animation.h
     13                particle_emitter.h \
     14                particle_system.h \
     15                quick_animation.h
  • orxonox/trunk/src/lib/particles/Makefile.in

    r4506 r4556  
    185185target_vendor = @target_vendor@
    186186MAINSRCDIR = ../..
    187 noinst_LIBRARIES = libORXparticles.a 
     187noinst_LIBRARIES = libORXparticles.a
    188188libORXparticles_a_SOURCES = particle_engine.cc \
    189                           particle_emitter.cc \
    190                           particle_system.cc \
    191                           quick_animation.cc
     189                            particle_emitter.cc \
     190                            particle_system.cc \
     191                            quick_animation.cc
    192192
    193193noinst_HEADERS = particle_engine.h \
    194                 particle_emitter.h \
    195                 particle_system.h \
    196                 quick_animation.h
     194                particle_emitter.h \
     195                particle_system.h \
     196                quick_animation.h
    197197
    198198all: all-am
  • orxonox/trunk/src/orxonox.cc

    r4504 r4556  
    1 /* 
     1/*
    22   orxonox - the future of 3D-vertical-scrollers
    33
     
    1616   You should have received a copy of the GNU General Public License
    1717   along with this program; if not, write to the Free Software Foundation,
    18    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
     18   Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    1919
    2020
     
    6868   \brief remove Orxonox from memory
    6969*/
    70 Orxonox::~Orxonox () 
     70Orxonox::~Orxonox ()
    7171{
    7272  int i =0;
     
    9696/**
    9797   \brief this finds the config file
    98    
     98
    9999   Since the config file varies from user to user and since one may want to specify different config files
    100100   for certain occasions or platforms this function finds the right config file for every occasion and stores
     
    115115  // parse command line
    116116  // config file
    117  
     117
    118118  getConfigFile (argc, argv);
    119119  SDL_Init (SDL_INIT_TIMER);
     
    130130  //printf("> Initializing world\n");
    131131  //if( init_world () == -1) return -1; PB: world will be initialized when started
    132  
     132
    133133  return 0;
    134134}
     
    137137   \brief initializes SDL and OpenGL
    138138*/
    139 int Orxonox::initVideo() 
     139int Orxonox::initVideo()
    140140{
    141141  PRINTF(3)("> Initializing video\n");
    142  
     142
    143143  GraphicsEngine::getInstance();
    144    
     144
    145145  return 0;
    146146}
     
    150150   \brief initializes the sound engine
    151151*/
    152 int Orxonox::initSound() 
     152int Orxonox::initSound()
    153153{
    154154  PRINT(3)("> Initializing sound\n");
     
    162162   \brief initializes input functions
    163163*/
    164 int Orxonox::initInput() 
     164int Orxonox::initInput()
    165165{
    166166  this->eventHandler = EventHandler::getInstance();
    167167  this->eventHandler->init();
    168  
     168
    169169  return 0;
    170170}
     
    174174   \brief initializes network system
    175175*/
    176 int Orxonox::initNetworking() 
     176int Orxonox::initNetworking()
    177177{
    178178  printf("Not yet implemented\n");
     
    184184   \brief initializes and loads resource files
    185185*/
    186 int Orxonox::initResources() 
     186int Orxonox::initResources()
    187187{
    188188  PRINT(3)("initializing ResourceManager\n");
     
    200200  memset (namebuf, 0, 256);
    201201  memset (valuebuf, 0, 256);
    202  
     202
    203203  while( parser.nextVar (namebuf, valuebuf) != -1)
    204204    {
    205205      if (!strcmp(namebuf, CONFIG_NAME_DATADIR))
    206         {
    207           //  printf("Not yet implemented\n");
    208           if (!resourceManager->setDataDir(valuebuf))
    209             {
    210               PRINTF(1)("Data Could not be located\n");
    211               exit(-1);
    212             }
    213         }
    214      
     206        {
     207          //  printf("Not yet implemented\n");
     208          if (!resourceManager->setDataDir(valuebuf))
     209            {
     210              PRINTF(1)("Data Could not be located\n");
     211              exit(-1);
     212            }
     213        }
     214
    215215      memset (namebuf, 0, 256);
    216216      memset (valuebuf, 0, 256);
    217217    }
    218  
     218
    219219  if (!resourceManager->checkDataDir(DEFAULT_DATA_DIR_CHECKFILE))
    220220    {
    221221      PRINTF(1)("The DataDirectory %s could not be verified\nPlease Change in File %s Section %s Entry %s to a suitable value\n",
    222                 resourceManager->getDataDir(),
    223                 DEFAULT_CONFIG_FILE,
    224                 CONFIG_SECTION_DATA,
    225                 CONFIG_NAME_DATADIR);
     222                resourceManager->getDataDir(),
     223                DEFAULT_CONFIG_FILE,
     224                CONFIG_SECTION_DATA,
     225                CONFIG_NAME_DATADIR);
    226226      exit(-1);
    227227    }
     
    250250void Orxonox::start()
    251251{
    252  
     252
    253253  this->gameLoader = GameLoader::getInstance();
    254254  this->gameLoader->loadCampaign("worlds/DefaultCampaign.oxc");
     
    261261/**
    262262   \brief handles sprecial events from localinput
    263    \param event: an event not handled by the CommandNode 
     263   \param event: an event not handled by the CommandNode
    264264*/
    265265void Orxonox::graphicsHandler(SDL_Event* event)
     
    274274    }
    275275}
    276  
     276
    277277
    278278/**
     
    292292   here the journey begins
    293293*/
    294 int main(int argc, char** argv) 
    295 { 
     294int main(int argc, char** argv)
     295{
    296296
    297297  // here the pre-arguments are loaded, these are needed to go either to orxonx itself, Help, or Benchmark.
     
    333333    {
    334334      if (ResourceManager::isFile("~/.orxonox/orxonox.lock"))
    335         ResourceManager::deleteFile("~/.orxonox/orxonox.lock");
    336      
     335        ResourceManager::deleteFile("~/.orxonox/orxonox.lock");
     336
    337337      // starting the GUI
    338338      Gui* gui = new Gui(argc, argv);
     
    340340
    341341      if (! gui->startOrxonox)
    342         return 0;
    343      
     342        return 0;
     343
    344344      delete gui;
    345345    }
    346  
     346
    347347  PRINT(0)(">>> Starting Orxonox <<<\n");
    348348
     
    350350
    351351  Orxonox *orx = Orxonox::getInstance();
    352  
     352
    353353  if((*orx).init(argc, argv) == -1)
    354354    {
     
    356356      return -1;
    357357    }
    358  
     358
    359359  orx->start();
    360  
     360
    361361  delete orx;
    362362  ResourceManager::deleteFile("~/.orxonox/orxonox.lock");
    363  
    364 }
     363
     364}
Note: See TracChangeset for help on using the changeset viewer.