mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 11:28:56 +00:00
Fix spello "~full"
This commit is contained in:
parent
d51ce964c7
commit
9b2675b1f7
@ -337,7 +337,7 @@ static bool Demo_play_fast = false;
|
||||
|
||||
extern void PageInAllData();
|
||||
|
||||
// Prompts user for filename and starts recording if successfull
|
||||
// Prompts user for filename and starts recording if successful
|
||||
void DemoToggleRecording() {
|
||||
char szfile[_MAX_PATH * 2];
|
||||
szfile[0] = '\0';
|
||||
|
@ -464,7 +464,7 @@ void SinglePlayerPostLevelResults() {
|
||||
else
|
||||
PLR.accuracy_rating = 0.5f;
|
||||
|
||||
// strcpy(PLRHeader,PLR_success?"Mission Successfull":"Mission Failed");
|
||||
// strcpy(PLRHeader, PLR_success ? "Mission Successful" : "Mission Failed");
|
||||
strcpy(PLRHeader, PLR_success ? TXT_PLR_MSN_SUCCESS : TXT_PLR_MSN_FAILED);
|
||||
|
||||
snprintf(PLRLevel, sizeof(PLRLevel), "%s", Level_info.name);
|
||||
|
@ -795,7 +795,7 @@ const char *GetStringFromTable(int index);
|
||||
#define TXT_PLTTOONEW TXT(764) //"Pilot File '%s' is not compatible with this version."
|
||||
#define TXT_FAILED TXT(765) //"Failed"
|
||||
#define TXT_SCORE TXT(766) //"Score"
|
||||
#define TXT_PLR_MSN_SUCCESS TXT(767) // Mission Successfull
|
||||
#define TXT_PLR_MSN_SUCCESS TXT(767) // Mission Successful
|
||||
#define TXT_PLR_MSN_FAILED TXT(768) // Mission Failed
|
||||
#define TXT_VIEW_GUIDEBOT TXT(769) //"Guide-Bot"
|
||||
#define TXT_VIEW_MARKER TXT(770) //"Marker"
|
||||
|
@ -46,7 +46,7 @@
|
||||
* added multiple pages per mono window.
|
||||
*
|
||||
* 27 4/01/99 11:07a Kevin
|
||||
* Added some more usefull debugging info
|
||||
* Added some more useful debugging info
|
||||
*
|
||||
* 26 4/01/99 9:40a Matt
|
||||
* Fixed dump_text_to_clipboard. It used to allocate a fixed number of
|
||||
|
@ -3311,7 +3311,7 @@ HTREEITEM CDallasMainDlg::AddNodeToTree(HTREEITEM parent, HTREEITEM insertbefore
|
||||
|
||||
added_item = m_ScriptTree.InsertItem(&tvs);
|
||||
|
||||
// If add was unsuccessfull, delete the item data
|
||||
// If add was unsuccessful, delete the item data
|
||||
if (added_item == NULL) {
|
||||
delete new_data_node;
|
||||
MessageBox("Unable to Allocate a New Tree Node", "Out of Memory Error!", MB_OK | MB_ICONEXCLAMATION);
|
||||
@ -7217,7 +7217,7 @@ void CDallasMainDlg::FillQueryMenu(CMenu *query_menu, int command_offset, int va
|
||||
|
||||
// Attempts to parse the Nth (indexed at 1) bracketed section of the given function node's desc,
|
||||
// and obtain from it the parameter name, default string, and range string.
|
||||
// It returns the param type if successfull, or -1 if the requested Parameter section
|
||||
// It returns the param type if successful, or -1 if the requested Parameter section
|
||||
// does not exist
|
||||
int CDallasMainDlg::ParseNthParam(HTREEITEM func_node, int n, CString &name_text, CString &default_text,
|
||||
CString &range_text) {
|
||||
@ -7247,7 +7247,7 @@ int CDallasMainDlg::ParseNthParam(HTREEITEM func_node, int n, CString &name_text
|
||||
|
||||
// Attempts to parse the Nth (indexed at 1) bracketed section of the given action desc,
|
||||
// and obtain from it the parameter name, default string, and range string.
|
||||
// It returns the param type if successfull, or -1 if the requested Parameter section
|
||||
// It returns the param type if successful, or -1 if the requested Parameter section
|
||||
// does not exist
|
||||
int CDallasMainDlg::ParseNthParam(char *desc, int n, CString &name_text, CString &default_text, CString &range_text) {
|
||||
// Check validity of desc and given n
|
||||
@ -7277,7 +7277,7 @@ int CDallasMainDlg::ParseNthParam(char *desc, int n, CString &name_text, CString
|
||||
#define DEFAULT_SECTION 3
|
||||
#define RANGE_SECTION 4
|
||||
|
||||
// Parses the next param block encountered, and, if successfull, returns the
|
||||
// Parses the next param block encountered, and, if successful, returns the
|
||||
// parameter type (-1 is returned if a parameter block was not found).
|
||||
// The name, default, and range strings are also set appropriately, and the
|
||||
// line pointer will be set to the first character after the closing bracket.
|
||||
|
@ -140,7 +140,7 @@ void CTableFileEdit::OnTableEditFileSave() {
|
||||
m_PageList.SaveSelected(&m_DescriptionBox);
|
||||
|
||||
if (!m_PageList.SaveTable(NULL)) {
|
||||
MessageBox("The save was unsuccessfull", "Save Table Error!");
|
||||
MessageBox("The save was unsuccessful", "Save Table Error!");
|
||||
return;
|
||||
}
|
||||
m_PageList.SetTitleString(this);
|
||||
@ -158,7 +158,7 @@ void CTableFileEdit::OnTableEditFileSaveAs() {
|
||||
}
|
||||
|
||||
if (!m_PageList.SaveTable(dlg_open.GetPathName().GetBuffer(0))) {
|
||||
MessageBox("The save was unsuccessfull", "Save Table Error!");
|
||||
MessageBox("The save was unsuccessful", "Save Table Error!");
|
||||
return;
|
||||
}
|
||||
m_PageList.SetTitleString(this);
|
||||
|
@ -183,7 +183,7 @@ void TableFileFilter::OnFileSave() {
|
||||
|
||||
CWaitCursor wc;
|
||||
if (!m_PageList.SaveList(NULL)) {
|
||||
MessageBox("The save was unsuccessfull", "Save Table Error!");
|
||||
MessageBox("The save was unsuccessful", "Save Table Error!");
|
||||
return;
|
||||
}
|
||||
m_PageList.SetTitleString();
|
||||
@ -200,7 +200,7 @@ void TableFileFilter::OnFileSaveAs() {
|
||||
|
||||
CWaitCursor wc;
|
||||
if (!m_PageList.SaveList(dlg_open.GetPathName().GetBuffer(0))) {
|
||||
MessageBox("The save was unsuccessfull", "Save Data List Error!");
|
||||
MessageBox("The save was unsuccessful", "Save Data List Error!");
|
||||
return;
|
||||
}
|
||||
|
||||
@ -221,7 +221,7 @@ void TableFileFilter::OnFileLoad() {
|
||||
|
||||
CWaitCursor wc;
|
||||
if (!m_PageList.LoadList(dlg_open.GetPathName().GetBuffer(0))) {
|
||||
MessageBox("The load was unsuccessfull", "Load Data List Error!");
|
||||
MessageBox("The load was unsuccessful", "Load Data List Error!");
|
||||
m_PageList.ClearList();
|
||||
return;
|
||||
}
|
||||
@ -305,7 +305,7 @@ void TableFileFilter::OnBtnCreateNewTableFile() {
|
||||
|
||||
CWaitCursor wc;
|
||||
if (!m_PageList.CreateNewTableFile(dlg_open.GetPathName().GetBuffer(0), SOURCE_TABLE_FILENAME)) {
|
||||
MessageBox("The save was unsuccessfull", "Save Table File Error!");
|
||||
MessageBox("The save was unsuccessful", "Save Table File Error!");
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -260,7 +260,7 @@ BOOL CEditorDoc::OnSaveDocument(LPCTSTR lpszPathName) {
|
||||
" 4. Use File/Save As to save with the real name.\n\n"
|
||||
"Matt & Samir are working on this problem.");
|
||||
|
||||
// If the Save was successfull, handle the Dallas coordination
|
||||
// If the Save was successful, handle the Dallas coordination
|
||||
if (retval) {
|
||||
|
||||
// If Dallas is up, change its filenames
|
||||
|
@ -2634,7 +2634,7 @@ void d3d_SetAlphaValue(uint8_t val) {
|
||||
}
|
||||
|
||||
// Sets the overall alpha scale factor (all alpha values are scaled by this value)
|
||||
// usefull for motion blur effect
|
||||
// useful for motion blur effect
|
||||
void d3d_SetAlphaFactor(float val) { d3d_Alpha_factor = val; }
|
||||
|
||||
// Returns the current Alpha factor
|
||||
|
@ -2239,7 +2239,7 @@ void opengl_SetAlphaValue(uint8_t val) {
|
||||
}
|
||||
|
||||
// Sets the overall alpha scale factor (all alpha values are scaled by this value)
|
||||
// usefull for motion blur effect
|
||||
// useful for motion blur effect
|
||||
void opengl_SetAlphaFactor(float val) { OpenGL_Alpha_factor = val; }
|
||||
|
||||
// Returns the current Alpha factor
|
||||
|
@ -1450,7 +1450,7 @@ void rend_SetAlphaValue(uint8_t val) {
|
||||
}
|
||||
|
||||
// Sets the overall alpha scale factor (all alpha values are scaled by this value)
|
||||
// usefull for motion blur effect
|
||||
// useful for motion blur effect
|
||||
void rend_SetAlphaFactor(float val) {
|
||||
if (val < 0.0f)
|
||||
val = 0.0f;
|
||||
|
@ -155,7 +155,7 @@ extern uint16_t Demo_obj_map[MAX_OBJECTS];
|
||||
#define DT_SETOBJLIFELEFT 25 // Object is getting OF_LIFELEFT flag changed
|
||||
#define DT_2D_SOUND 26 // Play a 2d sound
|
||||
|
||||
// If not recording prompts user for filename and starts recording if successfull
|
||||
// If not recording prompts user for filename and starts recording if successful
|
||||
// If recording, close the demo file
|
||||
void DemoToggleRecording();
|
||||
|
||||
|
@ -531,7 +531,7 @@ void rend_SetAlphaType(int8_t);
|
||||
void rend_SetAlphaValue(uint8_t val);
|
||||
|
||||
// Sets the overall alpha scale factor (all alpha values are scaled by this value)
|
||||
// usefull for motion blur effect
|
||||
// useful for motion blur effect
|
||||
void rend_SetAlphaFactor(float val);
|
||||
|
||||
// Returns the current Alpha factor
|
||||
|
@ -2275,7 +2275,7 @@ int nw_ReccomendPPS() {
|
||||
|
||||
// Register the networking library to call your function back
|
||||
// When data containing your ID is found
|
||||
// Returns non-zero if succesfull, Zero if this ID is already registered
|
||||
// Returns non-zero if succesful, Zero if this ID is already registered
|
||||
int nw_RegisterCallback(NetworkReceiveCallback nfp, uint8_t id) {
|
||||
ASSERT(id < 16);
|
||||
|
||||
|
@ -189,7 +189,7 @@ void rend_SetZBias(float z_bias) {
|
||||
}
|
||||
|
||||
// Sets the overall alpha scale factor (all alpha values are scaled by this value)
|
||||
// usefull for motion blur effect
|
||||
// useful for motion blur effect
|
||||
void rend_SetAlphaFactor(float val) {
|
||||
gpu_Alpha_factor = std::clamp(val, 0.0f, 1.0f);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user