Author Topic: Added No Sound Option  (Read 2053 times)

hailstone

  • GAE Team
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Added No Sound Option
« on: 18 September 2007, 06:48:35 »
Here are the changes that I made:
    Added shared_lib/include/sound/nosound/sound_factory_nosound.h
    Added shared_lib/include/sound/nosound/sound_player_nosound.h
    Changed shared_lib/sources/platform/sdl/factory_repository.cpp
    Changed shared_lib/sources/platform/sdl/factory_repository.h
    Changed glest.ini ( FactorySound=NoSound )
    Changed Jamfile ( LIB_DIRS = platform/sdl util graphics graphics/gl sound sound/openal sound/nosound xml glew ; )

Diffs
========
factory_repository.cpp
========

Code: [Select]
37,39d36
<         if(name == "NoSound") {
<                 return &soundFactoryNoSound;
<         }

========
factory_repository.h
========

Code: [Select]
22d21
< #include "sound_factory_nosound.h"
30d28
< using Shared::Sound::NoSound::SoundFactoryNoSound;
47,48d44
<         SoundFactoryNoSound soundFactoryNoSound;
<         SoundFactory soundFactory;


All the files are in nosound.tar.gz
« Last Edit: 1 January 1970, 00:00:00 by hailstone »
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/