Descent3/linux/lnxcon_null.cpp

74 lines
1.8 KiB
C++
Raw Normal View History

/*
* Descent 3
* Copyright (C) 2024 Parallax Software
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
--- HISTORICAL COMMENTS FOLLOW ---
2024-04-16 18:56:40 +00:00
* $Logfile: /DescentIII/Main/linux/lnxcon_null.cpp $
* $Revision: 1.1.1.1 $
* $Date: 2000/04/18 00:00:39 $
* $Author: icculus $
*
* <insert description of file here>
*
* $Log: lnxcon_null.cpp,v $
* Revision 1.1.1.1 2000/04/18 00:00:39 icculus
* initial checkin
*
*
2024-04-16 03:43:29 +00:00
* 1 4/22/99 2:04a Jeff
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 4 4/19/99 4:52p Jeff
* removed useless calls to curses lib for keyboard setup
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 3 4/19/99 3:58a Jeff
* got console working again (keyboard based off ddio)
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 2 4/14/99 1:59a Jeff
* fixed case mismatched #includes
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 1 1/12/99 3:42a Jeff
2024-04-16 18:56:40 +00:00
*
* $NoKeywords: $
*/
2024-04-16 03:43:29 +00:00
#include <cstdio>
2024-04-16 03:43:29 +00:00
#include "mono.h"
2024-04-16 18:56:40 +00:00
// put some data up on the screen
void con_null_Puts(int window, const char *str);
2024-04-16 03:43:29 +00:00
bool con_null_Input(char *buf, int buflen) {
*buf = '\0';
return false;
2024-04-16 03:43:29 +00:00
}
void con_null_Defer() {}
2024-04-16 03:43:29 +00:00
bool con_null_Create() {
2024-04-16 18:56:40 +00:00
printf("Descent 3 Dedicated Server\n");
printf("Running in quiet mode.\n");
printf("To Administer, you must telnet in to the dedicated server.\n");
return true;
2024-04-16 03:43:29 +00:00
}
void con_null_Destroy() {}
2024-04-16 03:43:29 +00:00
2024-04-16 18:56:40 +00:00
// put some data up on the screen
2024-05-24 15:46:07 +00:00
void con_null_Puts(int window, const char *str) { mprintf(0, str); }