Descent3/legacy/editor/DallasUtilities.h
JeodC a4ab78192c Join license header with historical commentrs
Join the license header with historical comments using a separator so IDEs can correctly parse the initial header.

Also use .gitattributes to ensure all files are LF.
2024-05-08 14:41:19 -04:00

62 lines
1.7 KiB
C

/*
* 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 ---
* $Logfile: /DescentIII/Main/editor/DallasUtilities.h $
* $Revision: 1.1.1.1 $
* $Date: 2003-08-26 03:57:37 $
* $Author: kevinb $
*
* Header for DALLAS related utility functions
*
* $Log: not supported by cvs2svn $
*
* 5 2/19/99 5:35p Nate
* Added new types and events
*
* 4 12/16/98 8:45p Nate
* Added loading of Actions
*
* 3 12/15/98 7:48p Nate
* Fixed minor buffering problem
*
* 2 12/14/98 12:45p Nate
* Initial Version
*
* $NoKeywords: $
*/
#ifndef _DALLAS_UTILITIES_H_
#define _DALLAS_UTILITIES_H_
#define WHITESPACE_CHARS " \t\r\n"
// Removes any whitespace padding from the end of a string
void RemoveTrailingWhitespace(char *s);
// Returns a pointer to the first non-whitespace char in given string
char *SkipInitialWhitespace(char *s);
bool FindManageFirst(char *buffer,char *wildcard);
bool FindManageNext(char *buffer);
void FindManageClose(void);
bool GamefileExists(char *name);
#endif /*_DALLAS_UTILITIES_H_*/