git
repos
/
blockattack-game
files
log
branches
tags
🌙
log: blockattack-game
expand: off
a2b1cba8
Merge branch 'master' of github.com:blockattack/blockattack-game
sago007
2016-10-31 20:48
00e866da
Started on a Menu using the interface
sago007
2016-10-31 20:47
0be2dfb3
Fixed a problem where the loosing player would appear as the Winner in VS if he had the highest score
sago007
2016-10-30 12:07
61f51973
Removed two unused variables
sago007
2016-10-30 11:58
72383a9e
Removed a lot of "extern" global variables and replaced them with 1. Might not seem like a big difference but now it is a little easier to see if data are used or not.
sago007
2016-10-30 11:56
28864426
Removed some of the stuff that we no longer need.
sago007
2016-10-30 09:35
08c44684
Changed the button font. It is larger and looks better then rescaling. Also allows rescaling by default now.
sago007
2016-10-30 09:19
6e6e44b7
Now updated the mouse coordinates from event rather than reading the raw value. This works better with resizeing
sago007
2016-10-18 15:30
b5d3c879
Also replaced the old stringstream converted method with std::stod and std::stoi
sago007
2016-10-09 09:37
549ecfae
Replaced my old custom safe but slow itoa with std::to_string. Also added some missing curly brackets.
sago007
2016-10-09 08:37
29edda2d
Removed the need for all the unsued arguments to the callback functions by making sure that options that need them uses an override instead.
sago007
2016-10-08 18:06
18c5059e
Removed some methods that should not be methods
sago007
2016-10-08 17:41
7b384c3f
Moved the isClicked out.
sago007
2016-10-08 17:34
a1e83d35
Replaced the ugly old C++03 iterator
sago007
2016-10-08 17:29
f7573b59
Updated the version of PlatformFolders to v. 3.0
sago007
2016-10-08 17:11
c0a3362c
Started seperating the draw logic from the buttons
sago007
2016-10-07 20:23
4cd8ea09
Added the --name to the help2man command. Regenereted the man-file. This should close https://github.com/blockattack/blockattack-game/issues/7
Poul Sander
2016-10-05 20:04
7d649ca8
Now moves the two fields around when resizeing
sago007
2016-10-02 16:43
fd1a6361
Fixed initializers
sago007
2016-10-02 13:31
3a164ed3
Remove broken methods so that they are not used by mistake
sago007
2016-10-02 13:26
2fa537db
I don't think we need docbook-to-man because we use help2man now.
sago007
2016-10-01 11:50
e17fcc86
Ensured that the old way still works.
sago007
2016-09-28 20:09
1b710a1e
The menu is now always centered.
sago007
2016-09-28 19:01
28857c9c
The DialogBox now scales... sort of
sago007
2016-09-28 18:47
13476fc2
The score display now scales a little better.
sago007
2016-09-28 18:34
e4d93567
The old global variables xsize and ysize now contains the actual size.
sago007
2016-09-28 17:26
f1708e5e
Fewer things hardcoded to the default resolution
sago007
2016-09-28 17:09
68313e95
New experimental window scaling
sago007
2016-09-28 16:52
879f7e86
Removed some duplicate textures.
sago007
2016-09-18 11:49
742e0112
Fixes the "Get Ready bug" Issue #6. It turned out it was using the wrong sprite.
sago007
2016-09-18 11:14
1bc6392b
Make sure that there are room for the terminating zero. Not that it is used at the moment but for completness sake
sago007
2016-09-18 11:02
17ee735b
Regenerated the manual and for the future my home dir will no longer appear in it.
sago007
2016-09-16 19:56
36a8410e
Removed the old 1.3.2 readme
sago007
2016-09-16 19:50
82ced7ab
Now allows an experimental window resize with an argument
sago007
2016-09-16 18:41
647f12da
Fixed some warnings and moved the argument parsing out from the main function
sago007
2016-09-12 20:07
f7c1a51d
Started on fixing more exsotic problems
Poul Sander
2016-09-07 21:12
7d43dc59
Fixed wrong stop comparison
sago007
2016-08-31 21:26
b69f7fad
There is now an upper limit on how long the rise of the blocks can be halted
sago007
2016-08-27 12:35
e8d66c68
Now prints the time that the game is frozen. I might add a cealing to this number based on level at some point
sago007
2016-07-12 17:32
ac976896
For some reason I still had the old project file from before cmake
sago007
2016-07-12 17:12
de81e07d
Gametype is now an enum class
sago007
2016-07-10 20:22
50954b53
Removed the old dialogbox
sago007
2016-07-05 18:25
e620cc14
Removed the old file dialog box texture.
sago007
2016-07-05 18:21
2b4dbb2b
Fixed a spelling error reported by Paul Wise (https://sourceforge.net/p/blockattack/bugs/5/)
sago007
2016-07-03 18:54
92ec708e
Use the constants instead of hardcoded strings
sago007
2016-06-13 16:50
094b2dfe
Started removing the pointers in the menu system
sago007
2016-06-12 10:50
b830df03
Now we support reading binary files. Not that we use that at the moment
sago007
2016-06-11 16:17
bbb1d879
Removed use of an unsafe function
sago007
2016-06-10 19:50
b84f3eee
Removed an old C-style pointer and added a StrToLong function
Poul Sander
2016-06-10 16:55
93f080d7
Now accepts a config file for the parameters
sago007
2016-06-08 20:28
4d05e984
Save replays with a good filename
sago007
2016-06-07 22:02
1fd8156c
Added some extra fields to the BlockGameInfo
sago007
2016-06-07 16:41
60b6bc02
Updated .gitignore
Poul Sander
2016-06-07 15:19
76514d10
Now saves a replay. A play functionality is required to see if it works...
sago007
2016-06-05 20:25
4a6d425b
Made the whole replay info serializable
sago007
2016-06-05 16:23
e35fb006
Simpler way to make an integer with minimum 2 digits
sago007
2016-06-05 13:53
2488b1f5
Made the MoveCursor private. It was not used externally anyway
sago007
2016-06-05 13:38
167c2a1d
Made the mouse play private in the BlockGame class
sago007
2016-06-05 12:45
3478201d
Removed unused file
sago007
2016-06-04 14:44
8d5e5953
Moved the create garbage into DoAction. Changed the version number.
sago007
2016-06-04 13:15
e5a23912
Gave the direction parameter a better name
sago007
2016-06-04 10:52
b58caa17
Made SetGameOver, SwitchAtCursor and MoveCursor private
sago007
2016-06-04 10:32
c9226e8d
Made PushLine private
sago007
2016-06-04 10:17
b1a99ae7
Added CPack to the CMakeLists.txt file
Poul Sander
2016-05-27 21:08
62b3f619
Changed the action to a enum
sago007
2016-05-20 07:01
07f5b3f3
More actions through the DoAction method
sago007
2016-05-19 19:37
de82a6c8
Merge branch 'master' of github.com:blockattack/blockattack-game
sago007
2016-05-19 19:28
4fb2e351
Started to replace the actions
sago007
2016-05-19 19:27
557a8065
Added description of the file structure
Poul Sander
2016-05-13 17:35
161a010c
Removed std::endl as it is not part of C++ Core
sago007
2016-05-06 14:00
0a78fbed
Fixed the translation. It was not including .inc files
sago007
2016-04-30 12:58
40fca54e
The Windows version is always a release build
sago007
2016-04-30 11:38
9779d6e3
Now install translations too
sago007
2016-04-30 11:35
1a3524b7
Made some code a but more readable. Improved the AUTH file with name of music auther.
sago007
2016-04-30 10:16
c9d7d4aa
Fixed a buffer over read while writing files
sago007
2016-04-30 09:20
d9476292
DEBUG is no longer set by standard. Removed some debug print
sago007
2016-04-29 17:20
75418dc5
std::ios_base is a bit too special to have a "using".
sago007
2016-04-29 17:06
96eb7a16
Removed a lot of "using namespace std"
sago007
2016-04-29 17:01
a7de0677
The exit button now works for single puzzle. So does the next and retry but that doesn't matter much
sago007
2016-04-29 16:54
7fdb4e65
Basic single puzzle support
sago007
2016-04-28 17:54
640f8a02
Updated man file
sago007
2016-04-26 16:41
67ec95d9
You can now set an alternative puzzle file
sago007
2016-04-26 16:32
6f9847fe
Merge branch 'master' of github.com:blockattack/blockattack-game
sago007
2016-04-22 15:11
2eb61e87
Changed the icon for the running instance to match the rest
sago007
2016-04-22 15:10
3fb41d84
Added danish translation to the Windows installer. Added new icon to the Windows installer
sago007
2016-04-19 16:48
0cb0f6ef
Updated the translation template and updated the danish translation
sago007
2016-04-18 18:32
96e759d9
Header on dialog box
sago007
2016-04-17 18:45
7a792f2c
Now with text on the enter name dialog
sago007
2016-04-17 18:30
41f037b2
Now with two different colors for rectangles
sago007
2016-04-17 16:37
8b26cda8
Moved the rect to its own sprite-file
sago007
2016-04-17 16:28
b79361c4
Removed some unused files
sago007
2016-04-17 16:24
ff7c5dd0
Updated the Windows icon
sago007
2016-04-17 14:26
a3d544be
Now uses a more modern icon in Linux
sago007
2016-04-17 14:07
ca31a27a
Initialized two member variables
sago007
2016-04-16 21:29
daa660ab
Replaced the name change dialog with a translateable one. Text not added yet.
sago007
2016-04-16 18:13
f204c851
Remove the old joypad and mouseplay config entries
sago007
2016-04-16 14:42
75ea368b
Now assign the game controllers to given players
sago007
2016-04-16 14:37
2f225191
If there are an empty line it is fine. No reason to check hight for grey garbage as the hight is hardcoded to 1.
sago007
2016-04-16 13:37
0cba733d
Removed a comment
sago007
2016-04-16 13:30
1538e934
srand are not used anymore as the BlockGame objects have there own internal random generator
sago007
2016-04-16 13:13
87a0a1db
Moved most of the variable initialization out of the contructor
sago007
2016-04-16 13:11
30ca5565
Update README.md
Added Coverity badge
Poul Sander
2016-04-16 12:59
42c2d161
Done the same for the normal garbage
sago007
2016-04-13 19:14
405b6531
Fixed some incorrect and/or logic regarding grey garbage
sago007
2016-04-13 19:11
285a976a
Clearing garbage should call rand2 that ensures that network or replay games can predict the colors. Also removed the randomization for the puzzle games
sago007
2016-04-13 17:16
bb13d559
Updated the help information to be more correct relating to the created folders
Poul Sander
2016-04-13 15:42
d24a5159
Can now handle home paths with spaces in Linux.
Poul Sander
2016-04-13 15:36
bddd74d0
Update README.md
Poul Sander
2016-04-12 18:31
a48ca120
Lowered sound volume a bit. One day it may be changeable
sago007
2016-04-10 14:20
32090628
Lowered the music volume to be more in line with other programs
sago007
2016-04-10 14:13
f2dac7e4
Game controllers now work for both player 1 and player 2 although they cannot be assigned at the moment
sago007
2016-04-09 19:24
87ac12e9
Replaced the destructor with the default implementation.
sago007
2016-04-09 18:47
63763043
Removed unused code
sago007
2016-04-09 16:45
877b7c65
The right arrow now works in the menu
sago007
2016-04-09 09:32
706e81fe
In addition to right clicking you can now also swipe from below the board to get a new line
sago007
2016-04-05 19:17
243ef769
You can now right-click to push the stack. Also removed debug output.
sago007
2016-04-04 18:00
06fd7dec
Added license header
sago007
2016-04-04 17:53
8b1ab1cb
Moved BlockGameSdl out to an include file
sago007
2016-04-04 17:51
d03bb1a1
Removed potentional buggy overload
sago007
2016-04-03 11:34
ce444d3b
Added a touch cursor. Fixed a problem with the AI and update. Switch blocks now calls ClearBlocks instead.
sago007
2016-04-02 18:59
d0c62e33
Start of new touch friendly mouse play. Currently missing a way to "push"
sago007
2016-04-02 15:18
a944c46b
Added some initializers
sago007
2016-04-02 13:34
a35ab74b
Executed runastyle to format all files
sago007
2016-04-02 10:26
168ce738
Added .editorconfig file. See: http://editorconfig.org/
sago007
2016-04-02 10:19
c35c2b10
Removed comment and added a check.
sago007
2016-03-31 18:49
a133dbce
Updated NFont.
sago007
2016-03-26 10:05
f1091f34
Removed the last pieces requiring physfs streams
sago007
2016-03-25 20:56
30412ca6
Stated to remove physfs streams
sago007
2016-03-25 19:35
8ff26872
Added a lot of initializers. Makes surprises less likely.
sago007
2016-03-25 09:46
c98e567e
We are now using C++11, so initialize all variables all the time.
sago007
2016-03-25 09:39
9f2c006a
Removed redundant code.
sago007
2016-03-24 21:15
212fd253
Improved some range checks
sago007
2016-03-24 21:07
25d38142
Added missing curly bracket and fixed incorrect logic
sago007
2016-03-24 21:01
b651f87a
Some uninitialized variables and wrong logic
sago007
2016-03-24 20:55
733af903
Some uninitialized variables
sago007
2016-03-24 14:58
602d9101
Check range before using as an index
sago007
2016-03-24 14:46
7c4b468f
Perform the out of bound check before using it as an index
sago007
2016-03-24 14:42
52d3ef2e
Eliminated the garbageTarget struct. The games in VS are no longer directly connected
sago007
2016-03-22 19:30
ae5fb2bb
AI level is now also recorded in the human struct.
sago007
2016-03-22 18:00
50cf6485
Recording of stats might depend on other things than AI
sago007
2016-03-21 19:11
3d12f4a8
Garbage is no longer sent directly. This will hopefully make future netplay easier.
sago007
2016-03-21 18:40
89889a82
Removed the 1.4.0 script that are no longer valid
sago007
2016-03-20 10:36
9305d5e3
Small fixes to the Windows installer
sago007
2016-03-20 10:34
a077dceb
The analog sticks can now be used to move the cursor too.
sago007
2016-03-19 19:19
cb49f111
Added version info in the title line
sago007
2016-03-16 20:45
2ebcfd8a
Updated installer
sago007
2016-03-16 19:29
b6fd59ea
Version is now in a seperate file
sago007
2016-03-16 19:04
8dc4a9d6
Updated the help and thereby the man page
sago007
2016-03-16 19:02
1b9ec107
Updated the packaged man-file
sago007
2016-03-15 20:26
ba2898e9
Added --version. It is now possible to generate an acceptable man page with: COLUMNS=300 help2man --no-info --section=6 ./Game/blockattack
sago007
2016-03-15 20:09
2cb68251
GameController system now silennt by default
sago007
2016-03-14 18:01
c7f2082f
Formatting fixeso
sago007
2016-03-13 11:48
ce5aa7d3
Controllers now wotk to play the game. Only player 1 is supported at the moment.
sago007
2016-03-13 11:44
37c89302
Removed calls without side effects
sago007
2016-03-13 11:28
8e3fb7e1
Level select can now be navigated with controller
sago007
2016-03-13 11:26
d21782d4
The scores display can now be controlled with a keypad
sago007
2016-03-13 11:17
d5efd7d1
Better support in the main menu system
sago007
2016-03-12 11:32
826cf176
Beginning Game Controller support
sago007
2016-03-12 10:53
7ae4016e
Removed the old joystick support. We want to use the new game controller api in SDL2 instead.
sago007
2016-03-12 09:48
38fa9b68
Added an exit button. Players using touch or mouse can now go back without touching the keyboard. Ofcourse mouse and touch has not been reimplemented yet but now we are getting ready
sago007
2016-03-12 08:46
a23ffbc1
Updated the readme with the code patho
sago007
2016-03-06 11:49
c3a11a57
Stats files are now saved
sago007
2016-03-06 11:21
c2637a41
New menu graphics
sago007
2016-03-05 11:32
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