- Changed APlayerPawn::DamageFade to a PalEntry from 3 floats.
- Removed #pragma warnings from cmdlib.h and fixed the places where they were still triggered. These #pragmas were responsible for >90% of the GCC warnings that were not listed in VC++. - Fixed one bug in the process: DSeqNode::m_Atten was never adjusted when the parameter handling of the sound functions for attenuation was changed. Changed m_Atten to a float and fixed the SNDSEQ parser to set proper values. Also added the option to specify attenuation with direct values in addition to the predefined names. SVN r1583 (trunk)
This commit is contained in:
parent
6fd62b68a8
commit
a732687548
47 changed files with 170 additions and 140 deletions
|
|
@ -620,7 +620,7 @@ static int FlushLines (const char *start, const char *stop)
|
|||
return i;
|
||||
}
|
||||
|
||||
static void AddLine (const char *text, bool more, int len)
|
||||
static void AddLine (const char *text, bool more, size_t len)
|
||||
{
|
||||
if (BufferRover + len + 1 - ConsoleBuffer > CONSOLESIZE)
|
||||
{
|
||||
|
|
@ -1401,7 +1401,7 @@ static bool C_HandleKey (event_t *ev, BYTE *buffer, int len)
|
|||
{
|
||||
if (buffer[1] == buffer[0])
|
||||
{
|
||||
buffer[buffer[0] + 2] = ev->data1;
|
||||
buffer[buffer[0] + 2] = BYTE(ev->data1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -1413,7 +1413,7 @@ static bool C_HandleKey (event_t *ev, BYTE *buffer, int len)
|
|||
for (; e >= c; e--)
|
||||
*(e + 1) = *e;
|
||||
|
||||
*c = ev->data1;
|
||||
*c = char(ev->data1);
|
||||
}
|
||||
buffer[0]++;
|
||||
buffer[1]++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue