Commit Graph

236 Commits

Author SHA1 Message Date
Titus Tscharntke
73be43d6ad some (possible) bugs are fixed when starting but not all. Discussion needed . 2010-05-04 00:05:10 +00:00
Titus Tscharntke
0dd135fc12 windowed/fullscreen switch in options ( needed for windows )
watereffect improved for big unnits ( ElimiNator should test it )
2010-05-03 22:07:27 +00:00
Mark Vejvoda
1efc2dc0a6 - updates to Chinese font support so Linux will compile
- added more debugging and NULL guards
2010-05-03 06:25:54 +00:00
Mark Vejvoda
c3793d0cfb Added initial code changes to support Chinese Fonts 2010-05-03 06:16:32 +00:00
Mark Vejvoda
63aff0751c Updates to get things compiling under linux properly with streflop 2010-05-02 03:48:40 +00:00
Mark Vejvoda
7b9036345b streflop updates 2010-05-01 21:07:17 +00:00
Mark Vejvoda
e05062d6ea hopefully the bugfix for lua problems and streflop 2010-05-01 20:37:25 +00:00
Mark Vejvoda
04bb6659ce Added more debugging and option to disable new streflop usage. 2010-05-01 20:14:25 +00:00
Mark Vejvoda
2417f37e21 added more debugging for error conditions 2010-05-01 10:46:56 +00:00
Mark Vejvoda
58386a72e8 Bugfix for cases where command cache was not yet initialized 2010-05-01 09:27:08 +00:00
Mark Vejvoda
e379905942 Added mutex guards around logging 2010-05-01 09:10:52 +00:00
Mark Vejvoda
a911088d39 Trying an experiment with a thread for playing streamed sounds 2010-05-01 04:34:23 +00:00
Mark Vejvoda
fd2274775e moved threads into base common hiearchy and started an a new cache manager. 2010-04-30 22:54:24 +00:00
Titus Tscharntke
3e7f3ed485 client slot selection bug hopefully fixed 2010-04-30 18:36:38 +00:00
Mark Vejvoda
c53ff62c46 Moved most of the code from platform specific platform_util into a shared platform_common area 2010-04-30 18:16:54 +00:00
Mark Vejvoda
6577762297 - Added a new pre-Cache thread for CRC value calculation
- Added support in the client UI if multiple local LAN servers are discovered.
2010-04-30 06:45:30 +00:00
Mark Vejvoda
35cd622f43 changed max network command batch size to use unsigned int to allow more commands to be sent at once 2010-04-30 02:41:42 +00:00
Mark Vejvoda
e7cb595ae8 small change to compiler version stamp 2010-04-30 02:34:19 +00:00
Mark Vejvoda
19cd66fc2d Changed compiler stamp in version string 2010-04-30 02:20:27 +00:00
Mark Vejvoda
e8aa5083cb Added new binary compatibility check 2010-04-30 01:32:37 +00:00
Titus Tscharntke
0687a56e27 clients can choose their slots 2010-04-30 01:08:29 +00:00
Mark Vejvoda
140a304541 changed world synch logging locations 2010-04-29 17:00:14 +00:00
Mark Vejvoda
cc08074acf more caching and bug fixes for data synch compare 2010-04-29 08:36:37 +00:00
Mark Vejvoda
4f147b2d89 Added more guards and debug info related to network play 2010-04-29 07:59:44 +00:00
Mark Vejvoda
805015fd83 Updates to cache CRC values and folder traversal lookup 2010-04-29 06:10:51 +00:00
Mark Vejvoda
712b09c928 Added a guard for switching game settings on server from networked clients 2010-04-29 00:44:27 +00:00
Titus Tscharntke
50341e9db6 clients can choose team and faction ... client triggered slot change is prepared 2010-04-28 23:59:37 +00:00
Mark Vejvoda
a750d4eda9 bugfix for logfile sharing 2010-04-28 22:34:10 +00:00
Mark Vejvoda
aad5c056a3 Added more info in data synch check debugging 2010-04-28 21:38:15 +00:00
Mark Vejvoda
5af308125b - Cleanup of logging code to properly manage multiple logs etc
- Cleaned up a bunch of compiler warnings (conversion from int to float and vice versa)
2010-04-27 20:38:34 +00:00
Mark Vejvoda
cfe7d8cec8 Updated world synch logging so we can better compare exact results every 40 frames 2010-04-27 14:10:53 +00:00
Mark Vejvoda
6d4838f470 Changed the logging system to be more flexible and to support world synch logging 2010-04-27 03:36:36 +00:00
Mark Vejvoda
3dc0e69441 Added FPU Safety check method 2010-04-24 12:22:35 +00:00
Mark Vejvoda
472e34dc6c HAd to add a #define for includes on non WIN32 platform 2010-04-24 11:33:50 +00:00
Mark Vejvoda
1d6f3ebe58 fixed broken build (renabled some header files) 2010-04-24 11:22:59 +00:00
Mark Vejvoda
f748874601 Ported streflop code to win32 2010-04-24 11:15:15 +00:00
Mark Vejvoda
2bfaa4d1d7 Added streflop (standalone reproducible floating point library) layer to mega-glest (initial checkin only) and changed a few areas to use the library in linux 2010-04-24 03:57:38 +00:00
Mark Vejvoda
a50b89e9cc Ported 3.3.4.2 fixes to trunk 2010-04-23 04:29:11 +00:00
Mark Vejvoda
a0fbe84054 Updated version # for last minor release of 3.3.4 2010-04-23 14:14:47 +00:00
Mark Vejvoda
afcdc1209c Changed fow setting to use a property instead of lua method 2010-04-23 14:08:19 +00:00
Mark Vejvoda
ae2af01c2e Updated version # for new minor bugfix release 2010-04-23 02:53:57 +00:00
Mark Vejvoda
a01c0adb78 Added a new lua script function called: unfogMap to allow scenarios and tutorials to turn off fog of war. 2010-04-23 02:48:56 +00:00
Mark Vejvoda
4869b68b7a Disconnect client when server changes the map and the client is in a slot that is no longer a network slot. 2010-04-23 00:14:22 +00:00
Titus Tscharntke
edd3b66273 connected playernames and free slots are shown on the client.
some bugfixes
2010-04-22 23:18:04 +00:00
Titus Tscharntke
e692e6efee memory problems 2010-04-22 22:08:56 +00:00
Titus Tscharntke
e0c55688e3 used network slot is marked with Human instead of Network now 2010-04-21 23:26:10 +00:00
Titus Tscharntke
06660e3a17 clients can see which setups are made on the server. ( work in progress !)
menu gfx-components can be set editable/non editable now
+ in addition fixed several memory problems and FOW in scenarios ...)
2010-04-21 23:13:39 +00:00
Mark Vejvoda
ca10bd5776 Bugfixes for 3.3.4 defects found:
- Fog of War always turned off in scenarios and tutorials
- memory cleanup in join menu
- removed dsound.dll  copying from batch file
2010-04-20 23:23:06 +00:00
PolitikerNEU
21a1932bbb tried to fix a bug with upgrades 2010-04-20 17:32:09 +00:00
Mark Vejvoda
d412cb5f79 Added a bunch of NULL pointer guards, changed undertake to cleanup dead units more safely and added more debug tracing 2010-04-20 02:19:37 +00:00
PolitikerNEU
54db1e20f6 Chaning of the queuing key is easier 2010-04-18 19:28:52 +00:00
PolitikerNEU
e06e964728 Added queing commands with shift 2010-04-18 07:35:48 +00:00
Mark Vejvoda
e9453ae7d1 Updated version # for current development 2010-04-18 06:01:20 +00:00
Mark Vejvoda
3d670be353 Changed ver # in preparation for a new release 2010-04-16 08:29:58 +00:00
Titus Tscharntke
304739e990 'm' is no longer use dto move units ( I think noone ever used it ) Its used to display faded messages now
Releasenotes are in the reame.txt now
2010-04-16 00:07:32 +00:00
Titus Tscharntke
e02a81d1a2 press escape to abort chatting 2010-04-15 21:16:13 +00:00
Mark Vejvoda
6a9dcdcf7e Added some extra guards for NULL 2010-04-15 05:06:15 +00:00
Mark Vejvoda
30c4eb2b96 Added some performance logging capabilities and socket cleanup for new broadcast thread sockets 2010-04-15 01:19:00 +00:00
Titus Tscharntke
e5d9631a9f watersounds playing all over the map is fixed.
'M' key shows faded console messages again (currently ingame only )
2010-04-14 20:49:14 +00:00
Titus Tscharntke
8099e9db96 version number position in intro 2010-04-13 19:08:08 +00:00
Mark Vejvoda
feb61e0598 Added a special file locking mechanism to the debug logging which allows testing multi-user to seperate logfiles automatically 2010-04-13 16:00:19 +00:00
Mark Vejvoda
8c438b812d Some final fixed related to combined cross platform socket code 2010-04-13 07:29:48 +00:00
Mark Vejvoda
a5aba5cc66 Bugfix for tracker#: 2985599
- Added better management of UDP broadcast thread when user toggles on/off network slots.
2010-04-12 21:40:57 +00:00
Mark Vejvoda
4e12d8dbcf Bugfix for tracker#: 2985601
- Added checking for NULL pointer as well as clients now check connection state of the server during load.
2010-04-12 20:32:47 +00:00
Mark Vejvoda
203d37bb6f Added status update for LAN server searching and guard against people who click find like mad. 2010-04-11 04:29:23 +00:00
Mark Vejvoda
af87e53bbe Bugfix for trace bug#: 2984991
falling back to english text for scenarios text. 
- Also added more error checking and commented out some excessive debug output statements.
2010-04-11 01:25:06 +00:00
Titus Tscharntke
ac6deedd93 fixed the null pointer exception related to font colors while chatting in the menu
setting version to 3.3.4-dev
2010-04-11 00:45:09 +00:00
Mark Vejvoda
63743aeedb Added more error condition checks and re-throw runtime_error in SDL event handler so we get a nice messagebox in the game 2010-04-09 07:44:23 +00:00
Mark Vejvoda
06b21ca4ee Bugfix for win32 loading jpg texture's 2010-04-09 06:51:13 +00:00
Titus Tscharntke
be9739cf29 3.3.3 2010-04-08 20:44:34 +00:00
Titus Tscharntke
f5e21ae896 ingame fontcolor change with key 'C' is back 2010-04-08 20:19:25 +00:00
Mark Vejvoda
a71f0d0e7c Bugfixes:
- Allow for load screens for networked clients
- Reworked the font loading for win32 so it will respect font names and sizes
- Disabled Alt-Enter for win32
2010-04-08 01:12:55 +00:00
Titus Tscharntke
d5a55f6a83 fonts can be scaled from options menu and more switches are in glest.ini
helvetica is used for linux
fire fix for blacksmith
persian elephant chaged a little bit for balance ( I think he is still too strong )
2010-04-07 22:20:28 +00:00
Mark Vejvoda
b16b0f00fc Bugfix for release so if the current used resolution string isn't properly detected we add it at the end.
- Updated win32 glest.ini and win32 installer script
2010-04-06 23:50:06 +00:00
Mark Vejvoda
ff65495829 Changed ver # in preparation for a new release 2010-04-06 20:44:06 +00:00
Titus Tscharntke
1f76690cf5 loading screens for the factions
its possible to define a loading screen for a techtree too.
2010-04-06 20:15:06 +00:00
Mark Vejvoda
40f5097a07 SLight change to win32 re-init when doing ctrl-enter (a small speed up) 2010-04-06 20:10:38 +00:00
Mark Vejvoda
9a2b958869 bugfix for ctrl + # grouping of units in win32 2010-04-06 14:25:00 +00:00
Mark Vejvoda
99c03d25bc Added some debug output for keypress events 2010-04-06 14:09:42 +00:00
Mark Vejvoda
d38a1f8877 Bugfix for cheating when the harvest command type has changed to a different command. Got this from Silnarm. 2010-04-06 03:28:20 +00:00
Mark Vejvoda
ec7e741ad3 Updated screen loading feature to support all supported image types 2010-04-05 21:41:33 +00:00
Mark Vejvoda
b7a5970a3c Added code to support toggling between windowed and fullscreen mode for win32 platform. 2010-04-05 20:42:05 +00:00
Titus Tscharntke
c525407904 loading screens for scenarios too 2010-04-05 20:16:49 +00:00
Mark Vejvoda
86a9bc0c84 proper cleanup of dynamically loaded texture 2010-04-05 19:48:26 +00:00
Mark Vejvoda
1fe29664c9 bug fix to properly initialize textures dynamically loaded when loading a faction. 2010-04-05 19:38:50 +00:00
Titus Tscharntke
ab1c302107 loading screen for players faction ( doesn't work at the moment ) 2010-04-05 17:43:04 +00:00
Titus Tscharntke
8681a551a1 smaller fonts for display and console 2010-04-04 16:48:42 +00:00
Mark Vejvoda
c51a4ca35f Removed call to reload textures when pressing alt-enter as it simply doesn't work in win32. 2010-04-04 04:28:23 +00:00
Mark Vejvoda
18249c02bd - Some changes to try to reload textures for win32 when doing alt-enter
- Added better logging and guards in sound and socket classes
2010-04-04 04:14:27 +00:00
Titus Tscharntke
a0c979a978 server socket number is displayed in cutom game menu ( in the connect state ) 2010-04-03 23:31:10 +00:00
Titus Tscharntke
4c9c10f460 size 16 font fix ( more a hack )
server port is displayed in join/options
ConsoleTimeout in ini raised to 20
2010-04-03 17:17:15 +00:00
Mark Vejvoda
924ec79364 Removed fogofwar code that I had in my synch check logic from, long ago as it is no longer needed due to Silnarms new feature 2010-04-03 05:50:07 +00:00
Mark Vejvoda
a0c0be4d65 Some bug fixes related to file transfer code and user folders 2010-04-03 04:30:28 +00:00
Mark Vejvoda
092f3a2bca some changes in preparation for file transfers 2010-04-03 02:22:41 +00:00
Mark Vejvoda
02d0781b40 A few changes to allow for better keyboard state detection 2010-04-02 17:37:04 +00:00
Titus Tscharntke
198d2aeb98 improved resolution change in options menu 2010-04-02 14:21:43 +00:00
Mark Vejvoda
bc725454fd Added a new menu item in join menu and added a threaded callback system for clients when searching for servers so that the UI doesn't wait for responses 2010-04-02 02:33:32 +00:00
Titus Tscharntke
c678d35bdb new glest ini, font handling changed!!!
"dynamic" fonts for linux ( maybe an error fallback should be added in gl_wrap.cpp if font is not available )
better option menu layout
2010-04-01 18:59:05 +00:00
Mark Vejvoda
76f4b87cbb ifdef for win32 only code 2010-04-01 07:53:07 +00:00
Mark Vejvoda
6c92f188b6 Ported auto-discover LAN connect to win32 2010-04-01 07:46:14 +00:00