updated codes

This commit is contained in:
hyzboy 2023-09-21 23:40:46 +08:00
parent 02be1e421e
commit efc3020504
No known key found for this signature in database
GPG Key ID: 067EE4525D4FB6D3
3 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,5 @@
#include"ParamParse.h" #include"ParamParse.h"
#include<hgl/log/LogInfo.h>
const PixelFormat *ParseParamFormat(const CmdParse &cmd,const os_char *flag,const PixelFormat *default_format) const PixelFormat *ParseParamFormat(const CmdParse &cmd,const os_char *flag,const PixelFormat *default_format)
{ {

View File

@ -1,5 +1,6 @@
#include"TextureFileCreater.h" #include"TextureFileCreater.h"
#include<hgl/filesystem/FileSystem.h> #include<hgl/filesystem/FileSystem.h>
#include<hgl/log/LogInfo.h>
using namespace hgl::filesystem; using namespace hgl::filesystem;

View File

@ -1,5 +1,6 @@
#include<iostream> #include<iostream>
#include<IL/il.h> #include<IL/il.h>
#include<hgl/log/LogInfo.h>
#include<hgl/util/cmd/CmdParse.h> #include<hgl/util/cmd/CmdParse.h>
#include<hgl/Time.h> #include<hgl/Time.h>
#include<hgl/filesystem/FileSystem.h> #include<hgl/filesystem/FileSystem.h>
@ -99,7 +100,7 @@ int os_main(int argc,os_char **argv)
const double time_gap=(end_time-start_time)/1000000; const double time_gap=(end_time-start_time)/1000000;
const OSString time_gap_str=OSString::numberOf(time_gap); const OSString time_gap_str=OSString::floatOf(time_gap,2);
LOG_INFO(OS_TEXT("Total converted ")+OSString::numberOf(eci.GetConvertCount()) LOG_INFO(OS_TEXT("Total converted ")+OSString::numberOf(eci.GetConvertCount())
+OS_TEXT(" textures for ")+time_gap_str.c_str()+OS_TEXT(" seconds.")); +OS_TEXT(" textures for ")+time_gap_str.c_str()+OS_TEXT(" seconds."));