| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | |
| 18 | --- HISTORICAL COMMENTS FOLLOW --- |
| 19 | |
| 20 | * $Logfile: /DescentIII/Main/linux/lnxcon_null.cpp $ |
| 21 | * $Revision: 1.1.1.1 $ |
| 22 | * $Date: 2000/04/18 00:00:39 $ |
| 23 | * $Author: icculus $ |
| 24 | * |
| 25 | * <insert description of file here> |
| 26 | * |
| 27 | * $Log: lnxcon_null.cpp,v $ |
| 28 | * Revision 1.1.1.1 2000/04/18 00:00:39 icculus |
| 29 | * initial checkin |
| 30 | * |
| 31 | * |
| 32 | * 1 4/22/99 2:04a Jeff |
| 33 | * |
| 34 | * 4 4/19/99 4:52p Jeff |
| 35 | * removed useless calls to curses lib for keyboard setup |
| 36 | * |
| 37 | * 3 4/19/99 3:58a Jeff |
| 38 | * got console working again (keyboard based off ddio) |
| 39 | * |
| 40 | * 2 4/14/99 1:59a Jeff |
| 41 | * fixed case mismatched #includes |
| 42 | * |
| 43 | * 1 1/12/99 3:42a Jeff |
| 44 | * |
| 45 | * $NoKeywords: $ |
| 46 | */ |
| 47 | |
| 48 | #include <cstdio> |
| 49 | |
| 50 | #include "mono.h"cxx . . $ `<file>/ddebug/mono.h`/ |
| 51 | |
| 52 | |
| 53 | // put some data up on the screen |
| 54 | void con_null_Putscxx . . $ con_null_Puts(66835f578de1bcb3).(int window, const char *str); |
| 55 | |
| 56 | bool con_null_Inputcxx . . $ con_null_Input(37e8d18a243bba77).(char *buf, int buflen) { |
| 57 | *buf = '\0'; |
| 58 | return false; |
| 59 | } |
| 60 | |
| 61 | void con_null_Defercxx . . $ con_null_Defer(49f6e7a06ebc5aa8).() {} |
| 62 | |
| 63 | bool con_null_Createcxx . . $ con_null_Create(c9857a73d68e59ba).() { |
| 64 | printf("Descent 3 Dedicated Server\n"); |
| 65 | printf("Running in quiet mode.\n"); |
| 66 | printf("To Administer, you must telnet in to the dedicated server.\n"); |
| 67 | return true; |
| 68 | } |
| 69 | |
| 70 | void con_null_Destroycxx . . $ con_null_Destroy(49f6e7a06ebc5aa8).() {} |
| 71 | |
| 72 | // put some data up on the screen |
| 73 | void con_null_Putscxx . . $ con_null_Puts(66835f578de1bcb3).(int window, const char *str) { mprintfcxx . . $ `ddebug/mono.h:82:9`!(0, str); } |