[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src res_descriptor.cxx,1.5,1.6
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src res_descriptor.cxx,1.5,1.6 |
Date: |
28 Jun 2002 17:06:42 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src
In directory dark:/tmp/cvs-serv10983
Modified Files:
res_descriptor.cxx
Log Message:
- added caching for modified resources, somehow the loading of pingus seems to
get a lot slower by this, some debugging and rewriting might be needed
Index: res_descriptor.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/res_descriptor.cxx,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- res_descriptor.cxx 28 Jun 2002 17:05:45 -0000 1.5
+++ res_descriptor.cxx 28 Jun 2002 17:06:40 -0000 1.6
@@ -106,6 +106,7 @@
bool
ResDescriptor::operator<(const ResDescriptor& res_desc) const
{
+ // FIXME: This is ugly and slow
return (datafile + res_name + to_string (type) + to_string (modifier))
< (res_desc.datafile + res_desc.res_name + to_string (res_desc.type) +
to_string (res_desc.modifier));
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src res_descriptor.cxx,1.5,1.6,
grumbel <=