You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added support for opening files in Hacker Type Custom in the Hacker command with the Windows File Dialogue.
- CarDodge, in the Game command, now has power-ups! When you crash into a special power-up car, a random power-up is selected and activated automatically. These include: an extra life, invincibility, game slow-down, double score, and higher chances for other power-up cars to pop up. These power-up cars have a 5% chance to be created in normal conditions.
__Changes and Bugfixes__
- Added syntax in the help messages of the Copy and CopyFile commands, to assist in usability and understanding of the command.
- Put all commands in the Help command in a table-style format, to conserve total screen height.
- Changed "early alpha build" to "beta build" in the Help command, as this program is getting close to becoming a proper stable release.
- The 'How To Play' page in the CarDodge game (in the Game command) has been updated to talk about the power-ups and the power-up cars.
- As power-ups have been introduced, CarDodge has reached v0.6.0 and is now in its beta stage, and may skip to version 1.0.0 after a bugfix update at some point. Therefore, the about page in the Help command, and the name of the CarDodge option in the Game command, have been updated to reflect this (the name of the option in the Game command is now just 'CarDodge', as the version is already being listed in the About page of the Help command).
- As CarDodge has been merged with ZeeTerminal, the about page in the Help command has been updated to reflect this.
- The ScreenNavigate Engine now goes back to the old way of writing directions text to the display - above the actual screen text. This is because having both the "scroll up for more info" and the directions text right next to each other makes them clutter themselves, making the user not be as bothered to read anything that they say. However, the directions text is now centred, making it more prominent to the user.
"1) I can't see the terminal text. How can I zoom in?\n 1a) You can zoom in, of course. Press and hold the Ctrl button and scroll with the mouse to your desired text size.\n"
"\n\n4) What is the difference between the 'old' and 'new' OptionSelect Session styles?\n 4a) The 'old' style is an inspiration from the TerminalAppGen2, the previous iteration of this program. It is very robust, simple and works by associating a number with each option, which you type in and press ENTER to select.\nThe 'new' style isn't exactly new, and has been in ZeeTerminal since v0.1.0. However, it is newer than the 'old' style, hence it's referred to as 'new'. It relies on using the arrow/WS keys to move a highlight up and down, to select an option.\n",
230
247
231
248
"___ABOUT THIS PROGRAM___\n\nThis is the ZeeTerminal Commandline Program, Build " + std::string(ZT_VERSION) + ".\n" +
232
-
"This is an early alpha build of ZeeTerminal, with an entirely new engine and components.\nThis program is made in C++, with a few very small parts of C." +
233
-
"\n\nThis program uses the DirectShow API in the MediaPlayer command, which is licensed by Microsoft Corporation. (c) Microsoft Corporation.\n\n" +
234
-
"This program uses the BASS API in the AudioPlayer command, which is licensed by Un4Seen Developments. (c) Un4Seen Developments.\n\n" +
235
-
"This program uses a slightly modified version of the CarDodge game v0.5.1, accessible in the Game command. CarDodge is licensed under Ryan Zorkot with the MIT License. For more information, visit the repository: https://github.com/rforzachamp821/CarDodge\n\n"
249
+
"This is a beta build of ZeeTerminal, with an entirely new engine and components.\nThis program is made in C++, with a few very small parts of C." +
250
+
"\n\nThis program uses the DirectShow API in the MediaPlayer command, licensed by Microsoft Corp. (c) Microsoft Corp.\n\n" +
251
+
"This program uses the BASS API in the AudioPlayer command, licensed by Un4Seen Developments. (c) Un4Seen Developments.\n\n" +
252
+
"This program uses the CarDodge game v0.6.0, accessible in the Game command. CarDodge is licensed under Ryan Zorkot with the MIT License. For more information, visit the repository: https://github.com/rforzachamp821/CarDodge\n\n"
236
253
"\nZeeTerminal is licensed under the MIT License. The license and credits can be viewed on Page 4.\n\n"
std::cout << wordWrap("\n -h\t\tDisplays this help message.\n <source>\tThe original file to be copied to another file. Put the file directory in place of <source>.\n <dest>\t\tThe file directory of the new/existing file. Put the file directory in place of <dest>.")
397
+
<< wordWrap("\n\nSyntax: copyfile <source> <dest> (in this exact order).")
<< wordWrap("\n\nNOTE: For any directory with spaces, use quotes like in the example.\nNOTE: You must have both the source and the destination directories when using them as arguments.\nNOTE: Read this article for information on the different forms of filepaths: ");
399
400
@@ -422,6 +423,7 @@ namespace helpmsgs
422
423
std::cout << wordWrap("\n -h\t\tDisplays this help message.\n -o\t\tEnable overwrite mode. Any existing file with the same filename as the file to copy will be overwritten when specified."
423
424
"\n -d\t\tEnable folder copy mode. When a folder is specified as a source, the contents of that folder will be recursively copied to the destination."
424
425
"\n <source>\tThe file to copy. Put the file directory in place of <source>.\n <dest>\t\tThe destination location/directory. Put the directory path in place of <dest>.\n\n"
426
+
"Syntax: copy <source <dest> (in this exact order).\n\n"
"NOTE: For any directory with spaces, use quotes like in the example.\nNOTE: You must have both the source and the destination directories when using them as arguments.\nNOTE: Read this article for information on the different forms of filepaths: ");
std::cout << wordWrap("\n -h\t\tDisplays this help message.\n -i\t\tStart immediately, with default settings when no argument is given.\n --display\tStarts the hacking text part of this command.\n --type\t\tStarts the hacker typing part of this command.\n --typecustom\tStarts the hacker typing part of this command, with custom file output abilities.\n <speed>\tSpeed of output characters for 'type' and 'typecustom' arguments. Must be a number.\n <filepath>\tCustom filepath argument for 'typecustom' argument. Must be a valid filepath.")
551
553
<< wordWrap("\n\nSyntax for '--type' argument:\t\t --type <speed>\nSyntax for '--typecustom' argument:\t --typecustom <filepath> <speed> (In order)")
552
-
<< wordWrap("\n\nExample: hacker --type\n\n");
554
+
<< wordWrap("\n\nExample: hacker --type\n\nNOTE: When using the --typecustom argument, in the <filepath> argument, you can use \"*open\" without quotes to use the Windows File Dialogue to open files.\n\n");
// Set the car to be a power-up car if random number is between 1 and nChanceForPowerUpCarMultiplier * 5 inclusive (5 because 1x is 5% chance for power-up car to appear)
Copy file name to clipboardExpand all lines: GameFiles/CarDodge/CarDodge_CodeFiles/CarDodgeCore/CarDodgeCore.h
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,6 @@ class CarDodgeCore
29
29
shortint nNumOfCurrentRenderedEnemyCars = 0; // Symbolises the number of rendered enemy cars currently being rendered on screen
30
30
std::mt19937_64 RandEngine; // Random number generation engine
31
31
bool bCarDodgeCoreInitialised = false; // Indicator to show if game is initialised or not
32
-
33
32
bool bSyncWithStdioPrevious = true; // Previous stdio sync value
34
33
35
34
// Keys for encryption and decryption for High Scores (This is just a small game - there is no need to go balls-to-the-wall with encrypting hardcoded keys)
@@ -54,6 +53,7 @@ class CarDodgeCore
54
53
55
54
uint64_t nCurrentPointsHighScore = 0;
56
55
56
+
shortint nChanceForPowerUpCarMultiplier = 1; // 1 for 1x chance, 2 for 2x chance, 3 for 3x chance, etc.
57
57
58
58
// UninitialiseCarDodgeCore - Uninitialise the CarDodge Core.
0 commit comments