jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							dc9c21a708 
							
						 
					 
					
						
						
							
							Merge branch 'dev' - Game runs (without menu)  
						
						 
						
						... 
						
						
						
						Known bugs:
    - when picking up food for the first time, one tail
      element shows up at top left corner 
						
						
					 
					
						2023-12-14 08:26:23 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_l480 
							
						 
					 
					
						
						
						
						
							
						
						
							5cd0f41123 
							
						 
					 
					
						
						
							
							Quit game when collided  
						
						 
						
						
						
						
					 
					
						2023-12-13 17:40:54 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							eac493e412 
							
						 
					 
					
						
						
							
							Spielzyklus in main mit GET_TIME_MS() realisiert  
						
						 
						
						
						
						
					 
					
						2023-12-13 09:16:05 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							aaf4eb398a 
							
						 
					 
					
						
						
							
							Fix bug 'negative values' in GET_TIME_MS()  
						
						 
						
						
						
						
					 
					
						2023-12-12 17:14:11 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							d8952223f4 
							
						 
					 
					
						
						
							
							Add macro GET_TIME_MS() (windows + linux support)  
						
						 
						
						
						
						
					 
					
						2023-12-12 16:51:30 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							aa242676e9 
							
						 
					 
					
						
						
							
							Test: clocks_per_sec  
						
						 
						
						
						
						
					 
					
						2023-12-12 16:35:12 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							5c99e2ac79 
							
						 
					 
					
						
						
							
							main: delay und processInput in jedem Schleifendurchlauf  
						
						 
						
						
						
						
					 
					
						2023-12-12 13:10:09 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							c461b2af84 
							
						 
					 
					
						
						
							
							game.renderer und wondow.renderer  
						
						 
						
						
						
						
					 
					
						2023-12-12 11:56:33 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							4f51654b72 
							
						 
					 
					
						
						
							
							main mit now-Funktion (lt.Flowchart) und globale Variablen aus game für window und renderer  
						
						 
						
						
						
						
					 
					
						2023-12-12 11:56:08 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							9cd6704057 
							
						 
					 
					
						
						
							
							Prevent deadlock in menu (while not implemented)  
						
						 
						
						
						
						
					 
					
						2023-12-12 10:00:14 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							4159d4ff17 
							
						 
					 
					
						
						
							
							Update flowchart, Add global SDL variables  
						
						 
						
						... 
						
						
						
						- flowchart:
    - update menu.c
    - add notes for menu
- game.c:
    - add SDL variables to game struct,
     so menu.c can also render things to window 
						
						
					 
					
						2023-12-12 09:52:08 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_l480 
							
						 
					 
					
						
						
						
						
							
						
						
							cc4f8f169f 
							
						 
					 
					
						
						
							
							Add map rotate and speed change  via keys (1, 2 , m)  
						
						 
						
						
						
						
					 
					
						2023-12-11 12:47:46 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hanse-14 
							
						 
					 
					
						
						
						
						
							
						
						
							9afeb85635 
							
						 
					 
					
						
						
							
							Add startposition in mid of map  
						
						 
						
						
						
						
					 
					
						2023-12-11 12:45:47 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							8a574acc05 
							
						 
					 
					
						
						
							
							Augen: Position korrigiert  
						
						 
						
						
						
						
					 
					
						2023-12-11 11:19:44 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							49a86bc2f6 
							
						 
					 
					
						
						
							
							Food und Collisions haben Rahmen  
						
						 
						
						
						
						
					 
					
						2023-12-11 11:16:15 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							286011928e 
							
						 
					 
					
						
						
							
							Snake hat Augen  
						
						 
						
						
						
						
					 
					
						2023-12-11 11:02:13 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							4c9b7cdb6b 
							
						 
					 
					
						
						
							
							Portal-Farben angepasst, damit man zsmgehörige Portale erkennt  
						
						 
						
						
						
						
					 
					
						2023-12-11 10:29:23 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							5a14a05d60 
							
						 
					 
					
						
						
							
							Merge branch 'dev' of  https://github.com/Jonny999999/snake-pp  into dev  
						
						 
						
						
						
						
					 
					
						2023-12-10 21:05:13 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							2d953e1e1b 
							
						 
					 
					
						
						
							
							Snake hat Tail und Farben angepasst  
						
						 
						
						
						
						
					 
					
						2023-12-10 21:05:11 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							f5a7a90168 
							
						 
					 
					
						
						
							
							Add defaultMap config option  
						
						 
						
						
						
						
					 
					
						2023-12-10 20:58:18 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							72ca020f27 
							
						 
					 
					
						
						
							
							Fix 'redefinition error' on win. - compiles, runs  
						
						 
						
						
						
						
					 
					
						2023-12-10 18:14:24 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							ac5873c9e7 
							
						 
					 
					
						
						
							
							Fix bug SDL-window freezing on windows  
						
						 
						
						... 
						
						
						
						apparently SDL window freezes on windows,
when the input events are not repeatedly handled. 
						
						
					 
					
						2023-12-10 18:03:02 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							abad211084 
							
						 
					 
					
						
						
							
							Crash-Test mit auskommentiertem Code  
						
						 
						
						
						
						
					 
					
						2023-12-10 17:34:16 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							a56c78e1ee 
							
						 
					 
					
						
						
							
							Merge branch 'testing' into dev  
						
						 
						
						
						
						
					 
					
						2023-12-10 17:05:29 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							e66567d232 
							
						 
					 
					
						
						
							
							Snake bewegt sich, Fenster wird mit Portal und Food erstellt  
						
						 
						
						
						
						
					 
					
						2023-12-10 16:52:20 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							859b4c99b2 
							
						 
					 
					
						
						
							
							Add default config values, Update px size on map load  
						
						 
						
						
						
						
					 
					
						2023-12-09 18:28:39 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							92c47929b3 
							
						 
					 
					
						
						
							
							Erstellt verschiedene Bausteine auf dem SDL-Fenster  
						
						 
						
						
						
						
					 
					
						2023-12-09 17:42:22 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							668860a6a0 
							
						 
					 
					
						
						
							
							quadratisches SDL-Fenster öffnet sich  
						
						 
						
						
						
						
					 
					
						2023-12-09 15:45:06 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hanse-14 
							
						 
					 
					
						
						
						
						
							
						
						
							655657ab43 
							
						 
					 
					
						
						
							
							Fix snakeSetHeadPos()  
						
						 
						
						... 
						
						
						
						- Head position will be updated in tail[][] array 
						
						
					 
					
						2023-12-07 16:16:29 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hanse-14 
							
						 
					 
					
						
						
						
						
							
						
						
							ae7469f291 
							
						 
					 
					
						
						
							
							add function snakeUpdateHeadPos()  
						
						 
						
						... 
						
						
						
						write content of snakeSetHeadPos() in snakeUpdateHeadPos()
snakeSetHeadPos() set head-position via transfer parameters 
						
						
					 
					
						2023-12-07 15:52:41 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							3c0f837daa 
							
						 
					 
					
						
						
							
							Add new map "empty", Increase game speed  
						
						 
						
						
						
						
					 
					
						2023-12-04 23:12:33 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							cf92191177 
							
						 
					 
					
						
						
							
							Fix   #2  random segfault after growing  
						
						 
						
						... 
						
						
						
						see issue for more details
https://github.com/Jonny999999/snake-pp/issues/2  
						
						
					 
					
						2023-12-04 22:58:08 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							ad1dd7f5c3 
							
						 
					 
					
						
						
							
							Add tests, Disable collision - Game runs in console!  
						
						 
						
						... 
						
						
						
						currently starts SDL window and repeatedly renders the game to console.
The snake can be controlled with arrow-keys while the SDL-window is focused.
main: add 3 test sections for testing certain functions that can be enabled using a macro variable
game.c: temporarily disable collision, otherwise confusing state because main and menu not implemented yet. 
						
						
					 
					
						2023-12-03 22:16:55 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							6b29f1360f 
							
						 
					 
					
						
						
							
							Fix typos in snake.c - compiles now  
						
						 
						
						... 
						
						
						
						- use global variable 'game' from game.h instead of declaring new one
- fix typo wrong variables
- correct move out of map boundary 
						
						
					 
					
						2023-12-03 21:58:21 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							529b633c7a 
							
						 
					 
					
						
						
							
							minor Fixes in game.c and map.c  
						
						 
						
						... 
						
						
						
						- game: fix target position on teleport
- map: also print snake head and tail to console 
						
						
					 
					
						2023-12-03 21:56:18 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Hanse-14 
							
						 
					 
					
						
						
						
						
							
						
						
							dd918c9dec 
							
						 
					 
					
						
						
							
							Add functions in snake.c  
						
						 
						
						... 
						
						
						
						snakeInit(), snakeGrow(), snakeMove(), snakeSetDir(), snakeIsAlive(),
snakeSetHeadPos() 
						
						
					 
					
						2023-12-02 13:51:06 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							b7bbd22f71 
							
						 
					 
					
						
						
							
							SDL window  
						
						 
						
						
						
						
					 
					
						2023-11-23 17:12:53 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							b4150a839d 
							
						 
					 
					
						
						
							
							Render window  
						
						 
						
						
						
						
					 
					
						2023-11-23 16:55:16 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							d94eed0136 
							
						 
					 
					
						
						
							
							Implement input.c  
						
						 
						
						... 
						
						
						
						- Implement input handling in input.c
  - test successful
- Add missing function showPauseScreen to menu.h/c 
						
						
					 
					
						2023-11-11 14:32:47 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							061b4431c7 
							
						 
					 
					
						
						
							
							Implement game.c, food.c and map.c  
						
						 
						
						... 
						
						
						
						- Implemented the functions in the above files
 - game and map are partially tested
 - food is extensively tested using the created test-function
- Also added DELAY(ms) macro to common.c 
						
						
					 
					
						2023-11-11 11:14:38 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							71c054f092 
							
						 
					 
					
						
						
							
							Add common.h with LOG macro, Add '#pragma once'  
						
						 
						
						... 
						
						
						
						- add conditional logging macro in common.h
- add '#pragma once' to every header file
- fix typo in food.h 
						
						
					 
					
						2023-11-10 14:38:14 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							ffbe61a6e5 
							
						 
					 
					
						
						
							
							Add empty function definitions  
						
						 
						
						... 
						
						
						
						Add definitions for every function that does nothing for now.
-> now able to implement and call those functions already 
						
						
					 
					
						2023-11-10 12:54:33 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							3e40be47cf 
							
						 
					 
					
						
						
							
							Update module structure: Add map.c  
						
						 
						
						... 
						
						
						
						=> global config and game struct changed
=> some functions were dropped/moved
- Outsourced data types and functions to map.c / map.h
- Update function and module diagram
- Adjust custom data types in source code 
						
						
					 
					
						2023-11-10 12:46:00 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							e9df108850 
							
						 
					 
					
						
						
							
							Update flowcharts, module-overview (assignment, fixes)  
						
						 
						
						
						
						
					 
					
						2023-11-09 16:14:55 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							d92175317d 
							
						 
					 
					
						
						
							
							Update all header files  
						
						 
						
						
						
						
					 
					
						2023-11-09 15:13:10 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							691ca4782b 
							
						 
					 
					
						
						
							
							Update README: add CMake install, formatting  
						
						 
						
						
						
						
					 
					
						2023-11-08 22:30:24 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							7309707a97 
							
						 
					 
					
						
						
							
							Change folder structure (Add folders: src, include)  
						
						 
						
						... 
						
						
						
						Add src folder for all .c and include folder .h files
=> clearer structure, no documents mixed into code files 
						
						
					 
					
						2023-11-08 20:41:21 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							86c18541e4 
							
						 
					 
					
						
						
							
							Add drawio files: function-flowcharts, module-overview  
						
						 
						
						... 
						
						
						
						- Slightly modified the module overview, rename, add new functions etc.
- Create function flowcharts (WIP) 
						
						
					 
					
						2023-11-08 09:57:55 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jonny_jr9 
							
						 
					 
					
						
						
						
						
							
						
						
							5bba3e1531 
							
						 
					 
					
						
						
							
							Add source files, Fix header files - Compiles now  
						
						 
						
						... 
						
						
						
						- Add empty source files for all planned modules
- Add source files to CMAKE source list
- Fix and extend header files so there are no errors
- Create global structs in game.c and config.c 
						
						
					 
					
						2023-11-08 09:52:25 +01:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Julia09055x 
							
						 
					 
					
						
						
						
						
							
						
						
							e5a66c40b4 
							
						 
					 
					
						
						
							
							Add header file  
						
						 
						
						
						
						
					 
					
						2023-11-07 19:17:59 +01:00