Commit Graph
10 Commits
Author SHA1 Message Date
lotodore 639df29bdc Server now requests unknown avatar files from client and stores them in the cache dir. Error handling is still missing. Clients not yet request avatar files from the server, this is the next step.
AvatarManager is now thread safe.
Default and cached avatars are handled in different lists to prevent deleting the default avatars when clearing the cache.
2007-10-07 15:52:12 +00:00
lotodore 3bb28de5ae More work on sending/receiving avatars. Introduces low priority send queue, so that the server send thread is not stalled when sending loads of avatars. Not functional yet. 2007-10-06 12:50:19 +00:00
lotodore 5d974a6450 More preparation towards transferring avatars. 2007-10-05 14:23:36 +00:00
lotodore 54f8b511c3 Scan new avatars for network games. 2007-09-14 15:26:19 +00:00
doitux a1704992e1 new avatars added. translation strings updated. 2007-09-11 09:32:49 +00:00
lotodore d3be07bb17 File names of avatars are now md5sums. 2007-09-08 21:43:15 +00:00
lotodore e76be2a6ff Some more changes concerning avatars. Directory changes. App data now QApplication independent. 2007-09-08 20:40:46 +00:00
doitux 2780b504b4 2007-09-08 20:28:58 +00:00
doitux 37dcf18e58 UserDataDir, AppDataDir, CacheDir added 2007-09-08 18:53:59 +00:00
lotodore db208190be Added avatar manager which will help when transfering and caching avatars. Using boost::filesystem. MD5 sum is used to identify avatars, different types of files are possible. Avatar cache (and the avatars provided) use for example <md5sum>.png as file names, so that no additional storage for the md5sum is required.
A cache directory with write permissions is required, however, as avatars are not cached in RAM.
2007-09-08 16:26:10 +00:00