Changeset - r13254:0a982a65d9cf
[Not reviewed]
master
0 2 0
rubidium - 15 years ago 2009-10-14 08:14:57
rubidium@openttd.org
(svn r17773) -Cleanup: sdl.h isn't needed for allegro
2 files changed with 0 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/sound/allegro_s.cpp
Show inline comments
 
@@ -6,25 +6,24 @@
 
 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
 
 */
 

	
 
/** @file allegro_s.cpp Playing sound via Allegro. */
 

	
 
#ifdef WITH_ALLEGRO
 

	
 
#include "../stdafx.h"
 

	
 
#include "../driver.h"
 
#include "../mixer.h"
 
#include "../sdl.h"
 
#include "../debug.h"
 
#include "allegro_s.h"
 
#include <allegro.h>
 

	
 
static FSoundDriver_Allegro iFSoundDriver_Allegro;
 
/** The stream we are writing too */
 
static AUDIOSTREAM *_stream = NULL;
 
/** The number of samples in the buffer */
 
static const int BUFFER_SIZE = 4096;
 

	
 
void SoundDriver_Allegro::MainLoop()
 
{
src/video/allegro_v.cpp
Show inline comments
 
@@ -6,25 +6,24 @@
 
 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
 
 */
 

	
 
/** @file allegro_v.cpp Implementation of the Allegro video driver. */
 

	
 
#ifdef WITH_ALLEGRO
 

	
 
#include "../stdafx.h"
 
#include "../openttd.h"
 
#include "../debug.h"
 
#include "../gfx_func.h"
 
#include "../sdl.h"
 
#include "../variables.h"
 
#include "../rev.h"
 
#include "../blitter/factory.hpp"
 
#include "../network/network.h"
 
#include "../core/math_func.hpp"
 
#include "../core/random_func.hpp"
 
#include "../functions.h"
 
#include "../texteff.hpp"
 
#include "allegro_v.h"
 
#include <allegro.h>
 

	
 
#ifdef _DEBUG
0 comments (0 inline, 0 general)