git repos / blockattack-game

blame: source/code/puzzlehandler.hpp

normal view · raw

1899da11 sago007 2015-12-30 19:04 1
/*
1899da11 sago007 2015-12-30 19:04 2
===========================================================================
1899da11 sago007 2015-12-30 19:04 3
blockattack - Block Attack - Rise of the Blocks
1899da11 sago007 2015-12-30 19:04 4
Copyright (C) 2005-2015 Poul Sander
1899da11 sago007 2015-12-30 19:04 5
1899da11 sago007 2015-12-30 19:04 6
This program is free software: you can redistribute it and/or modify
1899da11 sago007 2015-12-30 19:04 7
it under the terms of the GNU General Public License as published by
1899da11 sago007 2015-12-30 19:04 8
the Free Software Foundation, either version 2 of the License, or
1899da11 sago007 2015-12-30 19:04 9
(at your option) any later version.
1899da11 sago007 2015-12-30 19:04 10
1899da11 sago007 2015-12-30 19:04 11
This program is distributed in the hope that it will be useful,
1899da11 sago007 2015-12-30 19:04 12
but WITHOUT ANY WARRANTY; without even the implied warranty of
1899da11 sago007 2015-12-30 19:04 13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1899da11 sago007 2015-12-30 19:04 14
GNU General Public License for more details.
1899da11 sago007 2015-12-30 19:04 15
1899da11 sago007 2015-12-30 19:04 16
You should have received a copy of the GNU General Public License
1899da11 sago007 2015-12-30 19:04 17
along with this program.  If not, see http://www.gnu.org/licenses/
1899da11 sago007 2015-12-30 19:04 18
1899da11 sago007 2015-12-30 19:04 19
Source information and contacts persons can be found at
6c28b502 sago007 2016-02-13 11:38 20
http://www.blockattack.net
1899da11 sago007 2015-12-30 19:04 21
===========================================================================
1899da11 sago007 2015-12-30 19:04 22
*/
055218be sago007 2015-08-22 18:44 23
055218be sago007 2015-08-22 18:44 24
#ifndef PUZZLEHANDLER_HPP
5d601060 Poul Sander 2023-10-26 21:00 25
#define PUZZLEHANDLER_HPP
055218be sago007 2015-08-22 18:44 26
055218be sago007 2015-08-22 18:44 27
055218be sago007 2015-08-22 18:44 28
#include <string>
055218be sago007 2015-08-22 18:44 29
52352a94 Poul Sander 2025-06-03 19:04 30
int PuzzleNumberOfMovesAllowed(size_t level);
52352a94 Poul Sander 2025-06-03 19:04 31
int PuzzleGetBrick(size_t level, int x, int y);
52352a94 Poul Sander 2025-06-03 19:04 32
bool PuzzleIsCleared(size_t level);
055218be sago007 2015-08-22 18:44 33
int LoadPuzzleStages();
dcdbd31f Poul Sander 2025-04-04 18:45 34
int SavePuzzleStages();
055218be sago007 2015-08-22 18:44 35
int PuzzleGetNumberOfPuzzles();
52352a94 Poul Sander 2025-06-03 19:04 36
void PuzzleSetClear(size_t level);
055218be sago007 2015-08-22 18:44 37
const std::string& PuzzleGetName();
055218be sago007 2015-08-22 18:44 38
void PuzzleSetName(const std::string& name);
055218be sago007 2015-08-22 18:44 39
5d601060 Poul Sander 2023-10-26 21:00 40
#endif  /* PUZZLEHANDLER_HPP */
055218be sago007 2015-08-22 18:44 41
1970-01-01 00:00 42