This DLL allows you to create and control a console window with your game, thus the name. There isn't many things in the DLL but it can do a lot, the main things you can do are write text, receive input, and color the text...you can also do things with the caption (and beep) and others and we plan on adding more to it. The DLL was not made by me alone, but Uuf6429 and I. Uuf6429 included a bunch of color values in the init script and you can use those variables if you need to. I think that's it...
Included is a basic application along with the scripts and DLL.
Download! This DLL is not supported and most likely will not work.
(My little application "Press enter to exit..." is not used, I made my own one for this test.)
Note: The the DLL freezes the game with many of it's functions and should not use these functions if using with the game. You should always hide the game window when the console is in use as the game will not redraw and leave an ugly mark on your screen.
Note on Console: This DLL does not use a fake console, it uses a real console window that is created with calls to the Windows API.
Some extra stuff:
// Some colors (FORE_RED + BACK_CYAN will make it red text with a cyan background, just add them together to use more then one) FORE_RED = $4; BACK_RED = $40; FORE_GREEN = $2; BACK_GREEN = $20; FORE_BLUE = $1; BACK_BLUE = $10; FORE_CYAN = $3; BACK_CYAN = $30; FORE_MAGENTA = $5; BACK_MAGENTA = $50; FORE_YELLOW = $6; BACK_YELLOW = $60; FORE_WHITE = $7; BACK_WHITE = $70; // These will intensify the color. (Make it brighter) FORE_INTENSE = $8; BACK_INTENSE = $80;
Edited by TheMagicNumber, 04 September 2011 - 11:05 PM.