removed "projectM.hpp" where applicable to push along a cygwin build

git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@1005 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
w1z7ard
2008-05-05 21:43:09 +00:00
parent d37a4d615c
commit 37853e4819
18 changed files with 26 additions and 29 deletions

View File

@ -32,10 +32,9 @@
#include "wipemalloc.h"
#include "Common.hpp"
#include "projectM.hpp"
#include "BeatDetect.hpp"
#include "PCM.hpp"
#include <cmath>
#include "BeatDetect.hpp"
DLLEXPORT BeatDetect::BeatDetect(PCM *pcm) {
int x,y;

View File

@ -31,7 +31,6 @@
#ifndef _BEAT_DETECT_H
#define _BEAT_DETECT_H
#include "projectM.hpp"
#include "PCM.hpp"
class BeatDetect

View File

@ -18,13 +18,13 @@
#include <string>
#include "Algorithms.hpp"
#include <iostream>
#include "fatal.h"
using namespace Algorithms;
std::map<std::string, Func*> BuiltinFuncs::builtin_func_tree;
int BuiltinFuncs::load_builtin_func(const std::string & name, float (*func_ptr)(float*), int num_args) {
Func * func;
int retval;

View File

@ -18,7 +18,6 @@
#include <cmath>
#include <cstdlib>
#include <cassert>
#include "projectM.hpp"
#include "RandomNumberGenerators.hpp"

View File

@ -4,9 +4,9 @@
#include "projectM.hpp"
#include <cassert>
#include "Algorithms.hpp"
#include "InitCondUtils.hpp"
#include <iostream>
#include <algorithm>
#include "InitCondUtils.hpp"
using namespace Algorithms;

View File

@ -23,7 +23,6 @@
#include <string.h>
#include <stdlib.h>
#include "projectM.hpp"
#include "Common.hpp"
#include "fatal.h"

View File

@ -20,10 +20,9 @@
*/
/* Evaluation Code */
#include <stdio.h>
#include <stdlib.h>
#include <cstdio>
#include <cstdlib>
#include "projectM.hpp"
#include "Common.hpp"
#include "fatal.h"
@ -31,9 +30,10 @@
#include "Expr.hpp"
#include "Param.hpp"
#include "Func.hpp"
#include "BuiltinFuncs.hpp"
#include "wipemalloc.h"
#include "BuiltinFuncs.hpp"
InfixOp *Eval::infix_add = NULL;
InfixOp *Eval::infix_minus = NULL;
InfixOp *Eval::infix_div = NULL;

View File

@ -28,10 +28,11 @@
/* Eval.hpp: evaluation functions of expressions */
#ifndef _EVAL_H
#define _EVAL_H
#ifndef __EVAL_H
#define __EVAL_H
#include "projectM.hpp"
#include "fatal.h"
//#include "projectM.hpp"
#include "Func.hpp"
#include "Param.hpp"

View File

@ -22,9 +22,10 @@
#include "wipemalloc.h"
#include "Expr.hpp"
#include "Eval.hpp"
#include <cassert>
#include <iostream>
#include "Eval.hpp"
float GenExpr::eval_gen_expr ( int mesh_i, int mesh_j )
{

View File

@ -21,7 +21,6 @@
#include <stdio.h>
#include "projectM.hpp"
#include "Common.hpp"
#include "fatal.h"
#include "KeyHandler.hpp"
@ -29,11 +28,13 @@
#include "BeatDetect.hpp"
#include "PresetChooser.hpp"
#include "Renderer.hpp"
#include "projectM.hpp"
#include <iostream>
#include "TimeKeeper.hpp"
class Preset;
class Preset;
interface_t current_interface = DEFAULT_INTERFACE;
void refreshConsole() {

View File

@ -28,7 +28,7 @@
#define _KEY_HANDLER_HPP
#include "event.h"
class projectM;
void default_key_handler(projectM *PM, projectMEvent event, projectMKeycode keycode);
void refreshConsole();
#if defined(__CPLUSPLUS) && !defined(MACOS)

View File

@ -25,7 +25,6 @@
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include "projectM.hpp"
#include "fatal.h"
#include "Common.hpp"

View File

@ -29,7 +29,6 @@
#include "Common.hpp"
#include "fatal.h"
#include "BuiltinFuncs.hpp"
#include "CustomWave.hpp"
#include "CustomShape.hpp"
#include "Expr.hpp"
@ -47,6 +46,7 @@
#include "wipemalloc.h"
#include <iostream>
#include <sstream>
#include "BuiltinFuncs.hpp"
/* Grabs the next token from the file. The second argument points
to the raw string */

View File

@ -23,7 +23,6 @@
#include <string.h>
#include <stdlib.h>
#include <iostream>
#include "projectM.hpp"
#include "fatal.h"
#include "Common.hpp"

View File

@ -23,7 +23,6 @@
#include <string.h>
#include <stdlib.h>
#include "projectM.hpp"
#include <cassert>
#include "fatal.h"
#include "Common.hpp"

View File

@ -61,16 +61,16 @@ public:
/// Load a preset by filename with input and output buffers specified.
/// \param absoluteFilePath the absolute file path of a preset to load from the file system
/// \param presetName a descriptive name for the preset. Usually just the file name
/// \param presetInputs a const reference to read only projectM engine variables
/// \param presetInputs a reference to read only projectM engine variables
/// \param presetOutputs initialized and filled with data parsed from a preset
Preset(const std::string & absoluteFilePath, const std::string & presetName, PresetInputs & presetInputs, PresetOutputs & presetOutputs);
Preset(const std::string & absoluteFilePath, const std::string & presetName, PresetInputs & presetInputs, PresetOutputs & presetOutputs);
/// Load a preset from an input stream with input and output buffers specified.
/// \param in an already initialized input stream to read the preset file from
/// \param presetName a descriptive name for the preset. Usually just the file name
/// \param presetInputs a const reference to read only projectM engine variables
/// \param presetInputs a reference to read only projectM engine variables
/// \param presetOutputs initialized and filled with data parsed from a preset
Preset(std::istream & in, const std::string & presetName, PresetInputs & presetInputs, PresetOutputs & presetOutputs);
Preset(std::istream & in, const std::string & presetName, PresetInputs & presetInputs, PresetOutputs & presetOutputs);
~Preset();

View File

@ -30,7 +30,7 @@ extern "C"
#endif
#include <cassert>
#include "projectM.hpp"
#include "fatal.h"
const std::string PresetLoader::PROJECTM_FILE_EXTENSION(".prjm");
const std::string PresetLoader::MILKDROP_FILE_EXTENSION(".milk");

View File

@ -19,7 +19,7 @@
*
*/
#include "wipemalloc.h"
#include "BuiltinFuncs.hpp"
#include "fatal.h"
#include "Common.hpp"
#include "compare.h"
@ -40,6 +40,7 @@
//#include <xmms/plugin.h>
#include <iostream>
#include "projectM.hpp"
#include "BuiltinFuncs.hpp"
#include "BeatDetect.hpp"
#include "Eval.hpp"
#include "Param.hpp"