mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
- Fixed: The calls to DCanvas::Dim in c_console.cpp were missing some type casts.
- Fixed: CCMD(dir) passes FStrings directly to Printf. For R241: - Fixed: The defaultbind command still treated the bindings as char pointers and as a result didn't work. - Added SpawnSpotFacing ACS function which is the same as SpawnSpot but it uses the map spot's angle. - Added ThingCountName ACS function which is the same as ThingCount but it takes an actor's type name instead of a spawn ID. SVN r242 (trunk)
This commit is contained in:
parent
dd3c0d82f7
commit
a9470f8642
3 changed files with 6 additions and 4 deletions
|
@ -1,4 +1,6 @@
|
|||
July 9, 2006 (Changes by Graf Zahl)
|
||||
- Fixed: The calls to DCanvas::Dim in c_console.cpp were missing some type casts.
|
||||
- Fixed: CCMD(dir) passes FStrings directly to Printf.
|
||||
- Fixed: The defaultbind command still treated the bindings as char pointers and
|
||||
as a result didn't work.
|
||||
- Added SpawnSpotFacing ACS function which is the same as SpawnSpot but it uses
|
||||
|
|
|
@ -506,7 +506,7 @@ CCMD (dir)
|
|||
|
||||
if (chdir (dir))
|
||||
{
|
||||
Printf ("%s not found\n", dir);
|
||||
Printf ("%s not found\n", dir.GetChars());
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -521,10 +521,10 @@ CCMD (dir)
|
|||
}
|
||||
|
||||
if ( (file = I_FindFirst (match, &c_file)) == ((void *)(-1)))
|
||||
Printf ("Nothing matching %s%s\n", dir, match);
|
||||
Printf ("Nothing matching %s%s\n", dir.GetChars(), match);
|
||||
else
|
||||
{
|
||||
Printf ("Listing of %s%s:\n", dir, match);
|
||||
Printf ("Listing of %s%s:\n", dir.GetChars(), match);
|
||||
do
|
||||
{
|
||||
if (I_FindAttr (&c_file) & FA_DIREC)
|
||||
|
|
|
@ -1202,7 +1202,7 @@ void C_DrawConsole ()
|
|||
{
|
||||
player = player->camera->player;
|
||||
}
|
||||
screen->Dim (PalEntry (player->BlendR*255, player->BlendG*255, player->BlendB*255),
|
||||
screen->Dim (PalEntry ((unsigned char)(player->BlendR*255), (unsigned char)(player->BlendG*255), (unsigned char)(player->BlendB*255)),
|
||||
player->BlendA, 0, ConBottom, screen->GetWidth(), screen->GetHeight() - ConBottom);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue