~joerg-ehrichs/botrace/master

« back to all changes in this revision

Viewing changes to src/core/engine/boardparser.h

  • Committer: Jörg Ehrichs
  • Date: 2012-07-23 15:05:53 UTC
  • Revision ID: git-v1:a6b7190e6abe5a7dced58414516ab051070184c3
some build system/krazy fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
     * @param board the board element where all data will be written into
49
49
     *
50
50
     * @return @arg true if loading was sucessful
51
 
     *         @arg false if an error occured
 
51
     *         @arg false if an error occurred
52
52
     */
53
53
    bool loadBoard( const QString &fileName, Board_T &board );
54
54
 
59
59
     * @param board the board element where all data will be written into
60
60
     *
61
61
     * @return @arg true if saving was sucessful
62
 
     *         @arg false if an error occured
 
62
     *         @arg false if an error occurred
63
63
     */
64
64
    bool saveBoard( const QString &fileName, const Board_T &board );
65
65
 
72
72
     *        in case of the Board editor the board is not rotated here but the image inside the editor will be
73
73
     *
74
74
     * @return @arg true if loading was sucessful
75
 
     *         @arg false if an error occured
 
75
     *         @arg false if an error occurred
76
76
     */
77
77
    bool loadScenario(const QString &fileName, BoardScenario_T &scenario , bool ignoreRotation = false);
78
78
 
83
83
     * @param scenario the scenario that should be saved
84
84
     *
85
85
     * @return @arg true if saving was sucessful
86
 
     *         @arg false if an error occured
 
86
     *         @arg false if an error occurred
87
87
     */
88
88
    bool saveScenario( const QString &fileName, const BoardScenario_T &scenario );
89
89
 
115
115
     * @param rotation the rotation direction
116
116
     *
117
117
     * @return @arg true if the rotation was sucessful
118
 
     *         @arg false if an error occured
 
118
     *         @arg false if an error occurred
119
119
     */
120
120
    bool rotateBoard( Board_T &boardSection, Orientation rotation );
121
121