git repos / blockattack-game

log: blockattack-game

abf384fe Removed listFiles object. It was not used at the moment and there is a better alternative in PhysFS. sago007 2016-02-24 20:27
3e7b8813 member functions for setting speed and handicap are no longer public member functions sago007 2016-02-22 19:45
7ac8aa4b Removed unused methods sago007 2016-02-22 19:25
83e4f8fe Removed single puzzle parameter sago007 2016-02-22 19:22
917dac61 putStartBlocks is now privateo sago007 2016-02-21 20:01
6d6b2788 The setAIlevel method is now private sago007 2016-02-21 18:51
1e5aff60 VS game is now started using the common starter sago007 2016-02-21 18:23
b256fda5 Puzzle mode no longer has its own start function sago007 2016-02-21 16:21
c1785ec5 Moved the next level method out of BlockGame sago007 2016-02-21 16:07
b1fe2ae5 Stage clear no longer has its own start method. sago007 2016-02-21 16:01
5159dd90 Added a start condition struct that allows fewer NewGame methods sago007 2016-02-21 15:50
6b5b6bf4 Two fewer non-const methods in BlockGame sago007 2016-02-21 15:30
fde1f2dd One less non-const function in BlockGame and a variable became private sago007 2016-02-21 15:24
f261e26e Updated translation sago007 2016-02-21 12:23
1383de53 Now uses fake fullscreen and reloads all content on fullscreen toggle. sago007 2016-02-21 12:18
1f6aecf9 BlockGame.cpp is now compiled instead of being included sago007 2016-02-20 12:53
a1072daf BlockGame should no longer have any reason for being included instead of compiled seperatly sago007 2016-02-20 12:47
0c201300 Moved some forward declarations sago007 2016-02-20 12:12
ee4190b6 I don't know why I thought the fullscreen did not work... It does Poul Sander 2016-02-17 19:29
ad2d11ab Added exception handleling to the reading of JSON files. Just clearing the data in that case. Poul Sander 2016-02-17 19:06
e567627f Make it work even if the highscore files are not present Poul Sander 2016-02-17 18:47
77531130 Now creating the home folder. And using a more correct placement of the home folder Poul Sander 2016-02-17 18:42
63acc19f Puzzle cleared data is now also stored in JSON. sago007 2016-02-15 17:48
8ace9b0f Removed binary storage from the stage clear handler. It was broken anyway. sago007 2016-02-14 17:57
7a956470 Now saves the highscores in Json format. Includes Cereal as a library. sago007 2016-02-14 17:09
59dcb571 Moved the DialogBox to its own file sago007 2016-02-14 15:34
570dc3d2 Spelling mistake sago007 2016-02-14 13:49
cd724e02 Replaced the platform dependent create dir with mkdir in PhysFS. This means less platform dependend code. sago007 2016-02-13 16:04
6c28b502 Also moved stats to use physfs sago007 2016-02-13 11:38
e8475d0d Also changed Stage clear saves sago007 2016-02-13 09:38
6e1cb0b4 Forgot that I already had a physfs stream class sago007 2016-02-13 09:26
9ac68512 Removed fstream from common sago007 2016-02-13 09:14
3647d72c Added https://github.com/kahowell/physfs-cpp to the mix to remove old direct calls to the filesystem sago007 2016-02-12 22:24
58a2d7e1 Now creates the save games folder on startup sago007 2016-02-12 18:53
db454a2d It is now possible to override the save path. The dir must exsist as we cannot create sub dirs at the moment sago007 2016-02-11 18:03
ee077313 REnamed the included file so everyone can see that it is included. sago007 2016-02-09 18:39
421f2139 Now build the translations too sago007 2016-02-08 18:11
c3b697c6 Moved the ScoreDisplay to its own file. Making the main file shorter sago007 2016-02-07 17:30
5f870c10 Make the translations work on Windows sago007 2016-02-07 09:38
f31fade1 Fixed a problem with cross compilingx sago007 2016-02-06 21:37
aab11fbf Updated the .gitignore slightly sago007 2016-02-06 20:07
96c54803 Updated the translation files a bit sago007 2016-02-06 18:34
7441aba7 Started translation support. The game can now be runned in danish with: ./Game/blockattack --bind-text-domain source/misc/translation/locale Translations will of course be installed once we get far enough. sago007 2016-02-06 15:17
335635ec Reformatted the whole thing. Added the runAstyle script. It only runs on the base files at the moment though sago007 2016-02-06 13:51
1828a010 Renamed the included icon to "inc" to show that it is an included file. Could be done for blockattack.cpp too but I still plan to make it compiled seperatly at some point. sago007 2016-02-06 13:47
242996f8 The sharedir should now work again. sago007 2016-02-06 10:13
8c45a7b1 Improved path handeling sago007 2016-02-05 21:39
1370f52f Ensure that we still get the error message to stderr even if we open a message window sago007 2016-02-05 19:38
15b9c93b New printf functions to make some translation stuff faster and simpler sago007 2016-02-03 20:03
87353796 Merge pull request #4 from blockattack/program-options Poul Sander 2016-02-02 18:36
c8b43ea3 Started chaing to boost program options for cleaner program options output and handeling sago007 2016-02-02 18:20
02428d87 Uses some more secure function in old C strings sago007 2016-02-02 17:53
2c0f404a Removed the old theme parameter sago007 2016-02-01 17:47
ad0118c2 Wrong run command sago007 2016-01-31 14:41
d8c1f444 Let the classes start with a capital letter sago007 2016-01-31 11:36
e0223883 No longer prints output unless verbose sago007 2016-01-30 10:58
5e876385 Updated NFont.h with some printf checks. Also pull requested upstream to https://github.com/grimfang4/nfont sago007 2016-01-29 22:43
5c403aaa Removed the nasty header again. Why does NetBeans insist on adding it? sago007 2016-01-27 17:31
38c615f9 The close button does now work in the level select screen sago007 2016-01-27 17:26
c54116f3 Removed some unused code and added a popup for the error message sago007 2016-01-27 17:20
d064f90f Place the logic to draw the text closer together. sago007 2016-01-26 17:25
599a0479 Now uses nfont's box function to make it easier to translate. The translater does not need to know the line width. sago007 2016-01-26 17:17
012af19d Moved the load things a bit and removed the old theme support sago007 2016-01-25 17:42
63c773dd More changes to BlockGame to prepare it to be compiled seperatly sago007 2016-01-24 11:47
a6b97827 Renamed maneger to manager sago007 2016-01-24 11:15
daa8f1cf Now compiles with sign warnings enabled sago007 2016-01-23 10:57
3838c95c Removed current warnings. sago007 2016-01-23 10:47
bdb080e6 Changed SDL_FontCache back toa C-file. It is no longer a problem with CMake. sago007 2016-01-22 18:35
c3fc09e9 A formatted error message sago007 2016-01-22 18:31
4e257de2 Added a message box for fatal error messages so that they are not just printed on the console sago007 2016-01-22 17:43
e297a2e8 No longer prints loaded information unless verbose is set sago007 2016-01-21 18:07
fee9551a The fullscreen toggle needs work but the save screenshot function is working. sago007 2016-01-20 19:05
0540c530 Update README.md Poul Sander 2016-01-19 20:48
b1f41d28 Added a screen shot that can be reffered in the README sago007 2016-01-19 20:45
daad7b02 Fixes to Windows build sago007 2016-01-19 19:33
344e2b89 The Windows version does now run. It opens a console windows too but that can be fixed later. sago007 2016-01-18 21:33
b293a0e4 Merge pull request #3 from blockattack/cmake Poul Sander 2016-01-17 16:53
7c10bd51 Some changes to the pack script to make travis build the man page too sago007 2016-01-17 16:35
d3c158b6 Updated the installer sago007 2016-01-17 16:31
eb29cedf Changed some paths to be absolute sago007 2016-01-17 15:59
2c2c318c Added install commands. Not tested yet sago007 2016-01-17 15:17
5614ab55 Improved the cmake to work with MXE for crosscompiling sago007 2016-01-17 13:44
784d70ca Wrong filename for cmake package sago007 2016-01-16 14:55
d3ff6f07 We want to allow older cmake sago007 2016-01-16 14:48
393d4052 Updated travis files sago007 2016-01-16 14:27
9fe7a2e4 Deleted the unsupported things sago007 2016-01-16 14:27
4bf8f6f0 Improved gitignore sago007 2016-01-16 14:23
e566d265 Added cmake build system sago007 2016-01-16 14:19
2824f1ad Moved more to os.cpp sago007 2016-01-09 22:34
08ba0318 Prefix the SDL2 keys with sdl2 in the config so that they are not mistaken for the SDL1 keys. The numbers are incompatible sago007 2016-01-08 17:42
34c93de9 Fixed Windows build sago007 2016-01-07 17:46
9dc80982 Moved more stuff to os.cpp sago007 2016-01-02 21:08
1f50b970 Moved the highscore functions out sago007 2015-12-30 21:00
1899da11 Fixed some license headers and started mocing OS-specific code to os.cpp sago007 2015-12-30 19:04
021de090 Fixed URL sago007 2015-12-30 18:56
acc78225 Readded icon sago007 2015-12-29 18:10
b2ff93be NetBeans keeps adding these imports sago007 2015-12-29 15:05
ae5d6381 Started moving stage clear handeling out sago007 2015-12-29 13:26
b539639c Small changes sago007 2015-12-29 11:51
5d58249d Merge pull request #2 from blockattack/travis-fix Poul Sander 2015-12-25 23:27
67e23e8a Removed another unused include sago007 2015-12-25 23:20
c3a7fe3c Removed unused include sago007 2015-12-25 23:17
a90bb60d Remove the packages that travis cannot handle anyway sago007 2015-12-25 23:14
f283629a Missing hyphen sago007 2015-12-25 23:08
cb89644e Modified travis file sago007 2015-12-25 23:06
854263a5 Let it fail if it goes wrong sago007 2015-12-25 22:59
b81f58ad Some changes to make it crosscompile with MXE. Might fail on travis since this changes a sdl2-config call that did not work for SDL1 sago007 2015-12-25 22:48
3a2f158c Merge pull request #1 from blockattack/sdl2 Poul Sander 2015-12-25 15:52
c18f506d Updated a lot of auther information. New libraries, changed file names. Removed official scons support. sago007 2015-12-25 15:47
071f63e0 Ensure that scons do not try to use its own PATH and CXX. The build environment knows better. sago007 2015-12-25 15:08
53203200 Format changes sago007 2015-12-25 13:30
0e1e83de Fixed the keyboard sago007 2015-12-25 13:30
048bc0fb Removed more unused files sago007 2015-12-25 09:59
749afec7 Removed the unused files sago007 2015-12-25 09:46
c7e50476 Changed the buttons to the modern version sago007 2015-12-25 09:44
fd234987 Make target clean should not fail if there is nothing to remove and play the right chunk sago007 2015-12-25 09:34
d8339fd8 Ok, now the scons compile as well sago007 2015-12-24 12:57
326722f4 Removed unused code sago007 2015-12-24 12:48
c1bd83fb Readded the frame boarder for the chain counter sago007 2015-12-23 19:41
22c9836e Removed some unused code sago007 2015-12-23 19:35
546803fd Removed the old TTF loader sago007 2015-12-23 19:18
72e43b89 Pack the new data folder instead of the old ones sago007 2015-12-23 18:57
dad64897 Changed travis a bit... need to fix scons at some point... sago007 2015-12-23 18:51
9d259921 Removed all the old repeating code... it is build into SDL sago007 2015-12-23 18:46
3a23aa5e Now the fonts are visible again sago007 2015-12-23 18:06
7d1936bd Now it starts. It does not work but it starts sago007 2015-12-23 16:06
1d2e2129 More changes sago007 2015-12-23 15:41
a2da12cb Now we have all the textures as sprites sago007 2015-12-23 12:33
1e99540b Changed all texture files to lowercase sago007 2015-12-23 12:07
18003f8e moved a lot of files sago007 2015-12-23 11:48
7dbd2cb6 Update README.md Poul Sander 2015-12-22 19:42
c6bde3e3 More changes... still a LONG way to go sago007 2015-12-22 16:56
82da8a1c Moved a lot of files to prepare for SDL2 sago007 2015-12-19 18:00
6332acb6 Merge branch 'master' into sdl2 sago007 2015-12-19 17:51
46cfd6b2 More text is now rendered directly to the screen sago007 2015-12-06 15:36
0c1de203 Small changes to the menu system to prepare for a separete render sago007 2015-12-05 22:15
c699a9f9 Removed a lot of surface to surface rendering sago007 2015-12-05 17:22
ae0f6c7a Boards are now painted directly on the renderer sago007 2015-12-05 16:58
571b4d47 Started to remove the old part draw. It only exsisted because getting a working hardware accelerated screen back in the old days was hard. For moving to SDL2 this is required. sago007 2015-12-05 16:02
078900fe Started to shift to SDL2 but it requires some major changes that should be done in the base first sago007 2015-12-05 15:31
9f5ec0cc Added the UTF-8 library to be copied in on travis sago007 2015-12-05 08:01
227d1f4e The keyboard reader now has basic knowledge of UTF-8. Although it cannot be rendered at the moment sago007 2015-12-05 07:34
d26562ba Now uses an iterator for storring the position sago007 2015-12-04 23:29
f6707482 Name is now stored in a std::string. Next goal: UTF-8 codepoints sago007 2015-12-04 22:55
e55d039f Fixed problems with format strings to NFont. sago007 2015-12-04 22:22
f306e3ca Small enchancements sago007 2015-12-04 21:16
b37fa2db Removed a lot of unsed code and fixed a ball problem sago007 2015-12-04 20:44
9b99cf7a Now uses the Unicode value from SDL to find the char that was types. Still limted to ASCII. sago007 2015-12-04 20:22
dfdb7d66 Moved some of the highscore logic out of the blockGame object sago007 2015-11-29 19:21
7d604e02 Moved the extern out of the cpp-files sago007 2015-11-29 18:39
8ec2d339 The list files class may die at some point in favor of some boost or physfs alternative sago007 2015-11-24 20:27
ecef5838 Changed a lot of formatting sago007 2015-11-24 20:01
90e6c797 Removed some "using namespace" from headers and some unused files sago007 2015-11-22 21:46
cdb45e21 Removed the editor. That was never complete and Java-like sago007 2015-11-22 21:35
acd79baf Some reformatting of source files sago007 2015-11-22 19:37
ecec7113 Merge branch 'master' of github.com:blockattack/blockattack-game sago007 2015-11-15 16:19
b1592756 We can now handle that we launch from a different dir sago007 2015-11-15 16:18
6258a442 Small adjustments sago007 2015-11-14 22:11
78ab168e Ask scons to use c++11 sago007 2015-11-14 22:02
33f4e975 Removed more bad code sago007 2015-11-14 21:49
f3a1637d Started removing unused code that should never have been in the game sago007 2015-11-14 21:32
08f71f59 scons now respects the CXX environment as it is supposed to do sago007 2015-11-10 19:12
1b35580a Added build using scons to travis build. Does not include install at the moment due to problem with the man files. sago007 2015-11-10 18:47
d57894c2 Update README.md Poul Sander 2015-11-08 19:35
a60dd491 Updated scons. It can now build the project. sago007 2015-11-08 19:33
3327bb0f Create README.md Poul Sander 2015-11-08 19:30
9a59f09c On Ubuntu 12.04 there seems to be a problem with pkg-config and SDL_ttf. Moved it outside sago007 2015-11-08 18:39
53001fa2 Continues removing using from headers sago007 2015-11-08 15:13
66eff118 Added boost as well sago007 2015-11-07 22:49
ee516a19 Choose the right compiler sago007 2015-11-07 22:46
4ecde453 Wrong dependencies and unable to overrule compiler in main makefile sago007 2015-11-07 22:42
48644468 Added a basic travis script. Now I just need to see if it works sago007 2015-11-07 22:37
e53756e7 Added git ignore file sago007 2015-08-23 15:33
0222053c Removed unused files sago007 2015-08-23 15:32
a5a3aa4f Fixed a few errors sago007 2015-08-23 15:31
1e9795f2 Removed unused method sago007 2015-08-23 15:18
ca486238 Removed replay functionality sago007 2015-08-23 15:12
6787b808 Removed all network functionality for the moment sago007 2015-08-23 14:57
027b5cfd Added some const sago007 2015-08-23 14:27
313ecd1b Moved more SDL event outside BlockGame sago007 2015-08-22 20:38
055218be Seperated a lot of the puzzle logic out in its own file sago007 2015-08-22 18:44
970c4ebe Added a few const. sago007 2015-08-22 18:08
58dd05a0 It should be right instead of left sago007 2015-08-22 17:49
317815b9 Removed old code sago007 2015-08-22 17:47
5276103a Removed unused variable sago007 2015-08-22 17:41
1a156b60 Removed other variables from the old menu sago007 2015-08-22 17:29
69862ef6 Removed the unused variable showGame. It was a legacy variable from the old menu sago007 2015-08-22 17:24
229e212d Moved topx and topy out of the base blockgame class. One step in seperating the logic from the drawing sago007 2015-08-22 17:14
8f632c05 Replaced a char buffer with an std::string sago007 2015-08-22 16:21
e90165e3 Fix for Makefile sago007 2014-09-15 16:26
bd350520 Add .exe in Windows sago007 2014-09-15 16:17
88e259c7 Desktop icon sago007 2014-09-15 15:45
fb6646e4 Windows icon sago007 2014-09-11 16:30
70f47bf7 Syncrnized the Makefile to latest edition sago007 2014-09-10 17:25
fc364232 Changes to Makefile and a const reference sago007 2014-09-05 16:38
86cd12d5 Renamed the make file so one can now just type "make" in source/code sago007 2014-01-29 18:06
32c6e29e Auto dependency based on http://mad-scientist.net/make/autodep.html sago007 2014-01-22 18:55
af35c39d Added const a few places sago007 2013-11-16 16:37
9d59a0e2 Added a little randomization to the shattered blocks sago007 2013-11-15 23:05
e68d08eb Fixed a few problems with modern compilers. Fixed wrong AI levels in menu. Fixed adding too +1 when winning a game sago007 2013-11-15 22:33