b008b6c73b
Add exec bash command to bootstrap
2021-06-29 18:45:59 +02:00
cd93b215b3
Set bootstrap mode to 755
2021-06-29 18:30:25 +02:00
92ada41e99
Remove configure script and add bootstrap script
2021-06-29 18:29:44 +02:00
9035dacf36
Revert "Add necessary auxiliary files for compilation"
...
This reverts commit b120fb71f6
.
2021-06-29 18:26:37 +02:00
4f89050af1
Rename ChangeLog to NEWS
2021-06-29 18:01:24 +02:00
08e3a834b3
Add ChangeLog
2021-06-29 17:58:52 +02:00
b120fb71f6
Add necessary auxiliary files for compilation
2021-06-29 17:51:23 +02:00
f1e89be37f
Added controls to README
2021-06-29 17:01:57 +02:00
5600a7359a
Make start text a bit wider
2021-06-29 16:56:48 +02:00
134592d9f6
Clean start text parameters
2021-06-29 16:54:51 +02:00
267e6f7d5d
Add 'Press any key to begin...' message to the screen
...
* Text font is initialised with each text struct (to be improved)
2021-06-29 16:50:02 +02:00
54ecb1f828
'Press any key' message functionality is moved to pong struct.
...
NOTE: Last commit was sent by mistake, it is part of this one
2021-06-29 16:24:06 +02:00
d0166b0802
src/main.c
2021-06-29 16:23:02 +02:00
f893c57598
Compartementalised text rendering of score struct
2021-06-29 16:20:40 +02:00
2ebcf624de
Fonts are initialised only once
2021-06-29 16:01:07 +02:00
9a069cfa84
Pong now uses installed fonts using fontconfig
2021-06-29 15:07:19 +02:00
b9df2a3cf0
Score is now aligned in middle of the racket
2021-06-29 01:26:33 +02:00
c8bd082866
All const members are now static const in their header files
2021-06-29 01:25:08 +02:00
46e9265365
Minor rewrite of Pong_status
2021-06-28 22:37:49 +02:00
bb6d81c99d
Clean game status output on terminal
2021-06-28 22:36:04 +02:00
54c5f78370
Edited font_path for convenience
2021-06-28 22:26:56 +02:00
45df3ec812
Score is now displayed on the window
...
* Added Score structure
* Added Liberation Mono Bold font in src/assets/
* Racket structure has Score member
* General cleanup and improvements
* BUG: font_path string is dependent on where the binary is run
2021-06-28 21:37:34 +02:00
4ac1d84ef6
Introduce TTF library
2021-06-28 21:34:48 +02:00
ebdcba9afb
Continue main loop only if p is non-null
2021-06-28 16:13:48 +02:00
5b18911111
Added ANGLE_MIN_OFFSET and ANGLE_MAX_OFFSET
2021-06-28 16:04:41 +02:00
5ced7d7ade
Revert "Added ANGLE_MIN_OFFSET and ANGLE_MAX_OFFSET"
...
This reverts commit 30fc668684
.
2021-06-28 16:03:17 +02:00
20a2065f47
Revert "Revert "Added posX constants of ball and racket to pong struct""
...
This reverts commit 40a904e100
.
2021-06-28 16:02:55 +02:00
40a904e100
Revert "Added posX constants of ball and racket to pong struct"
...
This reverts commit 0462b187b4
.
2021-06-28 16:02:26 +02:00
30fc668684
Added ANGLE_MIN_OFFSET and ANGLE_MAX_OFFSET
2021-06-28 16:01:49 +02:00
0462b187b4
Added posX constants of ball and racket to pong struct
2021-06-28 15:13:57 +02:00
b0d7f5cc48
Rackets initialise in the middle
2021-06-28 15:11:59 +02:00
c5e8473d79
Set ball starting position next to the rackets
2021-06-28 15:09:39 +02:00
05addb3baa
Prevent 90 deg ball throw
2021-06-28 14:12:18 +02:00
039149a745
Reduce ball velocity to 7
2021-06-28 14:02:47 +02:00
a70d61ca52
Add random ball velocity vector direction in a given angle
2021-06-28 14:00:57 +02:00
c56480a33b
Initialise variable 'start' at the beginning
2021-06-28 13:43:41 +02:00
0d522fb521
Set ball reset position to middle of window
2021-06-28 13:02:50 +02:00
145fbfd02e
Clean configure
2021-06-28 12:57:01 +02:00
23009a78f1
Add requirements
2021-06-27 17:20:52 +02:00
4efe0c2365
Add 'Press any key to start...' introductory message
2021-06-27 17:19:17 +02:00
d96d7485e5
Add header files to Automake instructions
2021-06-27 16:56:02 +02:00
e10599f19a
First implementation of Pong
...
* Movement of ball and rackets are correct
* Score is recorded and displayed on terminal, not on the window
* Ball is represented as a square and not a disc
* Window is fixed and not scalable
* Player controls are E-D (up-down) for Left, I-K (up-down) for Right
* Ball reset parameters are fixed (except for direction)
2021-06-27 16:41:52 +02:00