mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 18:19:19 +02:00
removed dependencies on the old parser. The code can now be compiled outside of Borland C++
This commit is contained in:
7
Button.h
7
Button.h
@@ -10,8 +10,9 @@ http://mozilla.org/MPL/2.0/.
|
||||
#ifndef ButtonH
|
||||
#define ButtonH
|
||||
|
||||
#include <string>
|
||||
#include "Model3d.h"
|
||||
#include "QueryParserComp.hpp"
|
||||
#include "parser.h"
|
||||
|
||||
class TButton
|
||||
{ // animacja dwustanowa, w³¹cza jeden z dwóch submodeli (jednego
|
||||
@@ -55,8 +56,8 @@ class TButton
|
||||
return (pModelOn) || (pModelOff);
|
||||
};
|
||||
void Update();
|
||||
void Init(AnsiString asName, TModel3d *pModel, bool bNewOn = false);
|
||||
void Load(TQueryParserComp *Parser, TModel3d *pModel1, TModel3d *pModel2 = NULL);
|
||||
void Init(std::string const &asName, TModel3d *pModel, bool bNewOn = false);
|
||||
void Load(cParser &Parser, TModel3d *pModel1, TModel3d *pModel2 = NULL);
|
||||
void AssignBool(bool *bValue);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user