Commit Graph
30 Commits
Author SHA1 Message Date
lotodore 0dcd313c9d Irc thread can now be properly terminated. Separate initialization from connecting. Add callback class for irc stuff. 2007-09-25 21:26:22 +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
lotodore 2f1e371e4f Added code to calculate the MD5 sum of a file. To be used for avatars. 2007-09-08 13:38:06 +00:00
lotodore d0898ed336 Now using openssl on windows instead of ms crypto api. Can't stand all these handles for the crypto api, openssl will be required later anyway. MD5 sums will be used when transfering avatars for efficient caching - avatars are identified by their MD5 sum.
Sorry for making it even harder to compile on windows...
2007-09-08 11:00:46 +00:00
doitux 94c8bb14ec libircclient compiles on linux; german translation update; tabfixes for windows 2007-09-07 18:00:52 +00:00
lotodore d789162a2a New version of the boost timer (addon lib). 2007-09-05 00:06:20 +00:00
lotodore 46fe52aeb7 Added third party library libircclient (without modifications, license is LGPL). Added preliminary irc thread. Still work in progress. 2007-09-04 15:05:02 +00:00
lotodore 9cfed43fd0 *sigh* some linux implementations have the function daemon. 2007-08-28 10:43:34 +00:00
lotodore a51139ed65 Missing include files. 2007-08-28 10:37:23 +00:00
lotodore e0af9bf6c8 Added daemon code for linux - just for testing. Will be platform independent later. 2007-08-28 10:33:19 +00:00
lotodore f11998c28c Added console server app. First try. Depends on qt for locale-specific stuff. Cannot start a game yet, only join is possible. Cannot run multiple games yet.
Not yet as service/daemon, because testing is easier with a simple console app.
2007-07-30 23:22:58 +00:00
doitux 8ad92920cc one ConfigFile for all
killed the tinyxml warnings
2007-05-13 12:35:27 +00:00
lotodore d24a45f354 Ignore boost timer warnings in msvc. 2007-05-07 09:34:36 +00:00
lotodore 82b5392ff5 Added new boost timer. Prepared fixes for removing players. 2007-05-05 21:14:23 +00:00
lotodore 804c7eaaa2 Fixed design problem: Thread objects can now be created in any context.
Sender thread output queue is now limited.
Server thread now terminates correctly.
Now cloning packets when sending them to multiple recipients.
Fixed one thread issue - GameStart still needs to be made thread safe.
2007-03-20 11:56:30 +00:00
lotodore cb3c17573d That thread_specific_ptr was rubbish... 2007-03-02 00:34:50 +00:00
lotodore b7790e94ff 2007-03-02 00:04:18 +00:00
doitux eae5f68f89 2007-02-28 20:51:43 +00:00
lotodore fe52316be5 Fixed a bug in the thread implementation. A lock cannot be used within two different threads. 2007-02-18 17:48:36 +00:00
lotodore 389252aac2 Fixed timeout calculation for sleep. Added missing call to socket_startup/socket_cleanup. 2007-02-18 16:04:00 +00:00
lotodore 9ec3e020dd Cleaned up the code. Added client exception for error handling. 2007-02-18 11:26:57 +00:00
lotodore 592863ecf5 Client thread test version. Ready to connect. 2007-02-17 23:44:45 +00:00
lotodore b6923b8d38 First rough outline of the network client thread. More to be done soon. 2007-02-16 00:03:30 +00:00
lotodore f0aa63667c Added thread class (based on boost::thread). Clarified some commends in Win32 socket code. 2007-02-14 00:36:10 +00:00