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);
520e8c44 Poul Sander 2025-06-29 18:16 31
void PuzzleNumberOfMovesAllowedSet(size_t level, int numbler_of_moves);
52352a94 Poul Sander 2025-06-03 19:04 32
int PuzzleGetBrick(size_t level, int x, int y);
b8a4e6f1 Poul Sander 2025-06-21 10:31 33
void PuzzleSetBrick(size_t level, int x, int y, int brick);  // used only for editor
52352a94 Poul Sander 2025-06-03 19:04 34
bool PuzzleIsCleared(size_t level);
055218be sago007 2015-08-22 18:44 35
int LoadPuzzleStages();
dcdbd31f Poul Sander 2025-04-04 18:45 36
int SavePuzzleStages();
055218be sago007 2015-08-22 18:44 37
int PuzzleGetNumberOfPuzzles();
52352a94 Poul Sander 2025-06-03 19:04 38
void PuzzleSetClear(size_t level);
055218be sago007 2015-08-22 18:44 39
const std::string& PuzzleGetName();
055218be sago007 2015-08-22 18:44 40
void PuzzleSetName(const std::string& name);
055218be sago007 2015-08-22 18:44 41
0305b768 Poul Sander 2025-07-17 14:08 42
void EditorRemovePuzzle(size_t level);
0305b768 Poul Sander 2025-07-17 14:08 43
void EditorAddPuzzle(size_t level);
0305b768 Poul Sander 2025-07-17 14:08 44
5d601060 Poul Sander 2023-10-26 21:00 45
#endif  /* PUZZLEHANDLER_HPP */
055218be sago007 2015-08-22 18:44 46
1970-01-01 00:00 47