forked from zwickethomas/Photonics-Helfer
		
	Compare commits
	
		
			4 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					cd62170d1e | ||
| 
						 | 
					d33e33e64b | ||
| 
						 | 
					6ce134acd1 | ||
| f84eff9aa5 | 
							
								
								
									
										14
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								README.md
									
									
									
									
									
								
							@ -2,6 +2,14 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Ein hilfreiches Tool für Photoniker
 | 
					Ein hilfreiches Tool für Photoniker
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					--- 
 | 
				
			||||||
 | 
					## Anpassungen:
 | 
				
			||||||
 | 
					Um die Bedienung des Programms zu vereinfachen, wurden folgende Easter Eggs modifiziert:
 | 
				
			||||||
 | 
					- Bluescreen: wurde komplett deaktiviert
 | 
				
			||||||
 | 
					- Pfeiltasten: funktionieren ohne Passwort
 | 
				
			||||||
 | 
					- Bildschirmschoner: Die Aktivierungszeit wurde von 30s auf 60s erhöht.
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Installation
 | 
					## Installation
 | 
				
			||||||
@ -15,7 +23,11 @@ make
 | 
				
			|||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Windows
 | 
					### Windows
 | 
				
			||||||
 | 
					Im Ordner [Releses](https://gitea.fhgr.ch/zwickethomas/Photonics-Helfer/releases) ist das Programm als `.exe` verfügbar und kann einfach heruntergeladen werden.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Mit dem Aktuellen Makefile nur mit [Cygwin](https://www.cygwin.com/) möglich.
 | 
					#### Selbst kompilieren
 | 
				
			||||||
 | 
					Mit dem aktuellen Makefile ist dies mit dem CMD nicht möglich. Wer es trotzdem unter Windows kompilieren möchte kann dies mit [Cygwin](https://www.cygwin.com/) tun. (Bei der Installation ist noch zu beachten, dass das Paket `make` mitinstalliert werden muss.)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Alternativ kann man auch WSL (Windows Subsystem für Linux) verwenden. Eine Anleitung dazu gibt es hier: [WSL](https://learn.microsoft.com/de-de/windows/wsl/install) 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										
											BIN
										
									
								
								img/Photonics-Helfer-Menu.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								img/Photonics-Helfer-Menu.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 30 KiB  | 
							
								
								
									
										4
									
								
								makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								makefile
									
									
									
									
									
								
							@ -1,7 +1,7 @@
 | 
				
			|||||||
CC = gcc
 | 
					CC = gcc
 | 
				
			||||||
CPPFLAGS = -Iinclude -Isrc
 | 
					CPPFLAGS = -Iinclude -Isrc
 | 
				
			||||||
CFLAGS = -Wall -pthread
 | 
					CFLAGS = -Wall
 | 
				
			||||||
LDLIBS = -lm -lpthread 
 | 
					LDLIBS = -lm
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SRC = src
 | 
					SRC = src
 | 
				
			||||||
OBJ = obj
 | 
					OBJ = obj
 | 
				
			||||||
 | 
				
			|||||||
@ -297,7 +297,7 @@ int main(int argc, char **argv){
 | 
				
			|||||||
    bool run = true;
 | 
					    bool run = true;
 | 
				
			||||||
    bool *used = (bool[6]){0};
 | 
					    bool *used = (bool[6]){0};
 | 
				
			||||||
    int start_time = time(0);
 | 
					    int start_time = time(0);
 | 
				
			||||||
    bool arrows = false;
 | 
					    bool arrows = true;
 | 
				
			||||||
        if (argc >= 2 && strcmp(argv[1], "--ich-benutze-windows-und-bin-auf-die-pfeiltasten-angewiesen") == 0){
 | 
					        if (argc >= 2 && strcmp(argv[1], "--ich-benutze-windows-und-bin-auf-die-pfeiltasten-angewiesen") == 0){
 | 
				
			||||||
            arrows = true;
 | 
					            arrows = true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
@ -333,7 +333,7 @@ int main(int argc, char **argv){
 | 
				
			|||||||
        int last_input = time(0);
 | 
					        int last_input = time(0);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        while (!kbhit()){
 | 
					        while (!kbhit()){
 | 
				
			||||||
            if (last_input + 30 <= time(0)){
 | 
					            if (last_input + 60 <= time(0)){
 | 
				
			||||||
                pipes_2(width, height);
 | 
					                pipes_2(width, height);
 | 
				
			||||||
                last_input = time(0);
 | 
					                last_input = time(0);
 | 
				
			||||||
                print_menu(width, height, line);
 | 
					                print_menu(width, height, line);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user