Codebase list blockattack / upstream/2.5.0+git20190814.fc425e4
Import upstream version 2.5.0+git20190814.fc425e4, md5 e6e4ff94476262e1e5a0c33480899e26 Debian Janitor 4 years ago
17 changed file(s) with 41 addition(s) and 31 deletion(s). Raw diff Collapse all Expand all
22 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${blockattack_SOURCE_DIR}/source/misc/cmake")
33 set(BIN_DIR ${blockattack_SOURCE_DIR}/Game)
44
5 SET(CPACK_PACKAGE_VERSION "2.5.0")
5 SET(CPACK_PACKAGE_VERSION "2.6.0-SNAPSHOT")
66 SET(CPACK_PACKAGE_VERSION_MAJOR "2")
7 SET(CPACK_PACKAGE_VERSION_MINOR "5")
7 SET(CPACK_PACKAGE_VERSION_MINOR "6")
88 SET(CPACK_PACKAGE_VERSION_PATCH "0")
99 SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Block Attack - Rise of the Blocks ${CPACK_PACKAGE_VERSION}")
1010 SET(CPACK_PACKAGE_VENDOR "Poul Sander")
+0
-11
ReleaseNotes-2.5.0.txt less more
0 This is Block Attack - Rise of the Blocks - version 2.5.0
1
2 Changes since 2.4.0:
3 Added option to always use the software renderer
4 Automatically start in software render the first time after a crash
5 Fixed the search order in archives
6 Added widescreen support. Only used in fullscreen by default.
7 Added appstream metadata
8 Screenshot feature no longer crashes in hardware acceleration. Still only works in software mode
9
10 Feedback can be given on https://blockattack.net or https://github.com/blockattack/blockattack-game
0 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.10.
1 .TH BLOCKATTACK "6" "May 2019" "blockattack 2.5.0" "Games"
0 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
1 .TH BLOCKATTACK "6" "June 2019" "blockattack 2.6.0-SNAPSHOT" "Games"
22 .SH NAME
33 blockattack \- a puzzle game inspired by Tetris Attack
44 .SH SYNOPSIS
55 .B blockattack
66 [\fI\,OPTION\/\fR]...
77 .SH DESCRIPTION
8 Block Attack \- Rise of the blocks 2.5.0
8 Block Attack \- Rise of the blocks 2.6.0\-SNAPSHOT
99 .PP
1010 Block Attack \- Rise of the Blocks is a puzzle/blockfall game inspired by Tetris Attack for the SNES.
1111 .PP
00 #!/bin/bash
11 set -e
2 zip -9rjX Game/blockattack.data source/AUTH
2 zip -9jX Game/blockattack.data source/AUTH
33 cd Game/data
4 zip -9rX ../blockattack.data * -x \*svn*
4 zip -9X $(find ../blockattack.data * | sort) -x \*svn*
55 cd ../../man
6 gzip -9 -c blockattack.man > blockattack.6.gz
6 gzip -9n -c blockattack.man > blockattack.6.gz
77 cd ../source/misc/translation/
88 ./build_mo_all.sh
99
2424 #include "global.hpp"
2525 #include "common.h"
2626 #include "ReadKeyboard.h"
27 #include "utf8.h"
2728
2829 static void setButtonFont(const sago::SagoDataHolder* holder, sago::SagoTextField& field, const char* text) {
2930 field.SetHolder(holder);
9394 sagoTextSetBlueFont(textField);
9495 sagoTextSetBlueFont(cursorLabel);
9596 cursorLabel.SetText("|");
97 for (auto position = alphabet.begin(); position != alphabet.end() ; utf8::advance(position, 1, alphabet.end())) {
98 auto endPosition = position;
99 utf8::advance(endPosition, 1, alphabet.end());
100 std::string theChar(position, endPosition);
101 gamePadChars.push_back(theChar);
102 gamePadCharFields.emplace_back();
103 sago::SagoTextField& tf = gamePadCharFields.back();
104 setButtonFont(&globalData.spriteHolder->GetDataHolder(), tf, theChar.c_str());
105 std::cout << *position << "\n";
106 }
96107 }
97108
98109
123134 textField.GetRenderedSize( strHolder.c_str(), &width);
124135 width -= 2;
125136 cursorLabel.Draw(target, x+40+width,y+76);
137 }
138 for (size_t i = 0; i<gamePadCharFields.size(); ++i) {
139 int limit = 20;
140 sago::SagoTextField& f = gamePadCharFields.at(i);
141 f.Draw(target, globalData.xsize/2-400+(i%limit)*40, globalData.ysize/2+150+(i/limit)*40);
126142 }
127143 }
128144
5757 sago::SagoTextField cancelLabel;
5858 sago::SagoTextField textField;
5959 sago::SagoTextField cursorLabel;
60 std::string alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
61 "abcdefghijklmnopqrstuvwxyz"
62 ".,:!?+_^@#%&=*";
63 std::vector<std::string> gamePadChars;
64 std::vector<sago::SagoTextField> gamePadCharFields;
6065 };
6166
6267 #endif /* DIALOGBOX_HPP */
2929 #define GAMENAME "blockattack"
3030
3131 #ifndef VERSION_NUMBER
32 #define VERSION_NUMBER "2.5.0"
32 #define VERSION_NUMBER "2.6.0-SNAPSHOT"
3333 #endif
1414
1515 COPY . /staging/blockattack-game
1616
17 ENV BLOCKATTACK_VERSION 2.5.0
17 ENV BLOCKATTACK_VERSION 2.6.0-SNAPSHOT
1818
1919 RUN cd /staging/blockattack-game && \
2020 ./packdata.sh && \
1414
1515 COPY . /staging/blockattack-game
1616
17 ENV BLOCKATTACK_VERSION 2.5.0
17 ENV BLOCKATTACK_VERSION 2.6.0-SNAPSHOT
1818
1919 RUN cd /staging/blockattack-game && \
2020 ./packdata.sh && \
1515
1616 COPY . /staging/blockattack-game
1717
18 ENV BLOCKATTACK_VERSION 2.5.0
18 ENV BLOCKATTACK_VERSION 2.6.0-SNAPSHOT
1919
2020 RUN cd /staging/blockattack-game && \
2121 ./packdata.sh && \
55
66 COPY . /staging/blockattack-game
77
8 ENV BLOCKATTACK_VERSION 2.5.0
8 ENV BLOCKATTACK_VERSION 2.6.0-SNAPSHOT
99
1010 RUN cd /staging/blockattack-game && \
1111 ./packdata.sh && \
66
77 COPY . /staging/blockattack-game
88
9 ENV BLOCKATTACK_VERSION 2.5.0
9 ENV BLOCKATTACK_VERSION 2.6.0-SNAPSHOT
1010
1111 RUN cd /staging/blockattack-game && \
1212 ./packdata.sh && \
66
77 COPY . /staging/blockattack-game
88
9 ENV BLOCKATTACK_VERSION 2.5.0
9 ENV BLOCKATTACK_VERSION 2.6.0-SNAPSHOT
1010
1111 RUN cd /staging/blockattack-game && \
1212 ./packdata.sh && \
55
66 COPY . /staging/blockattack-game
77
8 ENV BLOCKATTACK_VERSION 2.5.0
8 ENV BLOCKATTACK_VERSION 2.6.0-SNAPSHOT
99
1010 RUN cd /staging/blockattack-game && \
1111 ./packdata.sh && \
77
88 COPY . /staging/blockattack-game
99
10 ENV BLOCKATTACK_VERSION 2.5.0
10 ENV BLOCKATTACK_VERSION 2.6.0-SNAPSHOT
1111
1212 RUN cd /staging/blockattack-game && \
1313 ./packdata.sh && \
2525 cp /staging/blockattack-game/COPYING ./COPYING.txt && \
2626 cp -r /staging/blockattack-game/source/misc/translation/locale ./ && \
2727 echo "[InternetShortcut]" > "Block Attack - Rise Of the Blocks.url" && \
28 echo "URL=http://www.blockattack.net" >> "Block Attack - Rise Of the Blocks.url" && \
28 echo "URL=https://blockattack.net" >> "Block Attack - Rise Of the Blocks.url" && \
2929 cd /staging/package/ && \
3030 zip -r /output/blockattack-${BLOCKATTACK_VERSION}-windows-no-installer.zip "blockattack-${BLOCKATTACK_VERSION}" && \
3131 cd /output && chown nobody * && chmod 666 * && ls -lh
66 Some systems might require the game to be launched from the command line.
77 PulseAudio is required for sound.
88
9 Check www.blockattack.net for more info.
9 Check https://blockattack.net for more info.
11
22 ; HM NIS Edit Wizard helper defines
33 !define PRODUCT_NAME "Block Attack - Rise Of the Blocks"
4 !define PRODUCT_VERSION "2.5.0"
4 !define PRODUCT_VERSION "2.6.0-SNAPSHOT"
55 !define PRODUCT_PUBLISHER "Poul Sander"
66 !define PRODUCT_WEB_SITE "http://www.blockattack.net"
77 !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\blockattack.exe"