- Assembly code is disabled when building with __APPLE__ defined, for now.

- If you aren't targeting x86, m_fixed.h only includes basicinlines.h now.
- Moved x64inlines.h into basicinlines.h.
- Replaced uses of __int64 with types from doomtype.h.
- The stop console command no longer ends single player games, just the demo
  that was being recorded.
- In C mode, the sc_man parser no longer allows multi-line string constants
  without using the \ character to preface the newline character. This makes
  it much easier to diagnose errors where you forget the closing quote of a
  string.
- Fixed: V_BreakLines() added the terminating '\0' to the last line of the
  input string.
- Added font as a parameter to V_BreakLines and removed its keepspace
  parameter, which was never passed as anything other than the default.


SVN r331 (trunk)
This commit is contained in:
Randy Heit 2006-09-19 23:25:51 +00:00
commit 419724dd02
30 changed files with 327 additions and 565 deletions

View file

@ -983,7 +983,7 @@ static void M_ExtractSaveData (const FSaveGameNode *node)
memcpy (comment + timelen, pcomment, commentlen);
}
comment[timelen+commentlen] = 0;
SaveComment = V_BreakLines (216*screen->GetWidth()/640/CleanXfac, comment);
SaveComment = V_BreakLines (screen->Font, 216*screen->GetWidth()/640/CleanXfac, comment);
delete[] comment;
delete[] time;
delete[] pcomment;
@ -2921,7 +2921,7 @@ bool M_SaveLoadResponder (event_t *ev)
{
V_FreeBrokenLines (SaveComment);
}
SaveComment = V_BreakLines (216*screen->GetWidth()/640/CleanXfac, workbuf);
SaveComment = V_BreakLines (screen->Font, 216*screen->GetWidth()/640/CleanXfac, workbuf);
}
break;
@ -3099,7 +3099,7 @@ void M_Drawer ()
BorderNeedRefresh = screen->GetPageCount ();
SB_state = screen->GetPageCount ();
FBrokenLines *lines = V_BreakLines (320, messageString);
FBrokenLines *lines = V_BreakLines (screen->Font, 320, messageString);
y = 100;
for (i = 0; lines[i].Width >= 0; i++)