Mark Vejvoda
8059c064a3
- more cleanup of debug logging in menus
2011-03-29 09:45:15 +00:00
Mark Vejvoda
78b49f0a2e
- bugfix for CRC cache that was not updated
2011-03-29 09:19:05 +00:00
Mark Vejvoda
3ed636aae2
- fixes for some threading shutdown bugs
...
- We now display when a screenshot is taken in game showing an ingame console message
- Updated AI to attack closest attackers
- Updated found enemy to be closest attacker
2011-03-28 21:04:47 +00:00
Mark Vejvoda
8be4bafdcf
- bugfix for segfault with new debug method needs to properly init debug system in a new area
2011-03-28 04:30:52 +00:00
Mark Vejvoda
3b56aa4475
- performance changes... (problem found by titi) most debug calls line are skipped when the debug flag is disabled even BEFORE getting into the handledebug method.
...
This improves performance VERY MUCH.
2011-03-28 03:54:23 +00:00
Mark Vejvoda
965ac7e00b
- commented out unused curl method so now it should be able to compile on older libcurl
2011-03-27 16:18:16 +00:00
Mark Vejvoda
472fc2989a
- changed win32 to substitute $APPDATA for the current users app data folder instead of all users
2011-03-27 16:08:20 +00:00
Mark Vejvoda
5af6de5aec
- win32 now looks/stores userdata in the default windows appdata folder: C:\Documents and Settings\All Users\Application Data\megaglest (all dev users should copy all contents of mydata into this new location).. NOT INCLUDING the mydata folder itself
2011-03-27 15:16:28 +00:00
Mark Vejvoda
d9bc605974
- added scenarios to mod menu
2011-03-26 18:37:38 +00:00
Mark Vejvoda
846dd4769b
- better CRC worker thread distribution
2011-03-26 05:16:39 +00:00
Mark Vejvoda
6079e6de2b
- better handling of mod menu threading when user has no internet connection
2011-03-26 05:03:38 +00:00
Mark Vejvoda
15e00694bf
- attempt to tighten up socket connection logic that detects disconnect
2011-03-26 02:00:41 +00:00
Mark Vejvoda
884b46da60
- more thread cleanup
2011-03-25 22:50:30 +00:00
Mark Vejvoda
7e35d4a050
- more efficient CRC updating in cache thread
2011-03-25 21:02:53 +00:00
Mark Vejvoda
fcb1681de9
- now all libcurl calls support http redirection
2011-03-25 19:19:59 +00:00
Mark Vejvoda
9096449919
- fixed vc++ project files for mods download menu
2011-03-25 11:15:21 +00:00
Mark Vejvoda
9681e7f1bc
- initial code for managing mod content (downloads and removal of user data)
2011-03-25 10:11:16 +00:00
Mark Vejvoda
ab7dc1d007
- more code cleanup from things found in valgrind
2011-03-23 05:49:38 +00:00
Mark Vejvoda
8a9505e1e8
- added conditional check to only issue a stop command to units if they are not already stopped
...
- memory cleanup on unit errors
- mutex for checksum class
2011-03-23 00:49:21 +00:00
Mark Vejvoda
f7fdafbff4
- did some code refactoring, wanted to load some textures threaded but bailed out due to opengl's hideous problems related to multi-threads
2011-03-22 02:02:54 +00:00
Mark Vejvoda
0379b7284d
- removed requirement to have a newer libcurl, now most platform, should be able to build mg more easily (only require 7.16.4 or newer instead of 7.21.0)
2011-03-20 00:11:00 +00:00
Mark Vejvoda
59fc55ffee
- cleanup some compiler warnings
2011-03-19 17:19:37 +00:00
Mark Vejvoda
e2c4ae7c11
- cleanup some compiler warnings
2011-03-19 12:32:40 +00:00
Mark Vejvoda
bca617cf18
- bugfix for socket mutex locked when deleting socket
...
- added faction detail in lobby when CRC's do not match on techtree
2011-03-19 12:04:18 +00:00
Mark Vejvoda
83eaa67068
- bugfix for hideously aweful bug that made the lobby and lobby connection freeze for a long time
2011-03-19 05:11:36 +00:00
Mark Vejvoda
e65f588045
- better randomization of CRC refresh
2011-03-17 16:44:55 +00:00
Mark Vejvoda
a0bd1242b6
- improved performance of CRC precache thread, now uses up to 3 worker threads to batch process techtree's
2011-03-16 23:43:31 +00:00
Mark Vejvoda
29a123e263
- cleanup a few compiler warnings
2011-03-16 05:55:11 +00:00
Mark Vejvoda
43bf94c644
- only show MG_ usernames in Internet IRC lobby (just for you tomreyn)
2011-03-16 05:03:30 +00:00
Mark Vejvoda
2c6fef4efc
- added purge file stats and bugfix when showing help on commandline
2011-03-15 16:52:42 +00:00
Mark Vejvoda
7d38aec84a
- new commandline options to discover and optional delete unused files in techtrees
2011-03-15 15:30:28 +00:00
Mark Vejvoda
6eab8f905e
- simple bugfix for file xfer's
...
- added openal call to try to work around an openal bug on some platforms
2011-03-14 20:25:27 +00:00
Titus Tscharntke
c54174061f
particles have more switches: day/night visibility , alternating value , radiusBasedStartenergy ( can be disabled now! )
2011-03-13 23:16:07 +00:00
Mark Vejvoda
28f74a15f7
- we can now save jpg screenshots and can also convert model textures to jpg (WARNING jpg DOES NOT support alpha channel (for transparency) so use this wisely
2011-03-13 22:43:44 +00:00
Mark Vejvoda
b3951b3940
-bugfix for vc++ compile
2011-03-13 13:14:47 +00:00
Mark Vejvoda
d0a95b1ff5
- added another option when converting model textures (keepsmallest)
2011-03-13 09:57:04 +00:00
Mark Vejvoda
39bf1b986e
- added new commandline option to convert folders of g3d models to use specified texture format
...
- added new utility methods and changed code to use them (like adding trailing slash on paths)
2011-03-13 08:23:43 +00:00
Mark Vejvoda
f35e920d47
- added logic to delete old texture after doing a model texture conversion
2011-03-12 22:11:09 +00:00
Mark Vejvoda
c67d7d48c2
- some initial work to allow saving models in the current v4 g3d format (new commandline option to test it also) and also convert textures into png
2011-03-12 21:29:37 +00:00
Mark Vejvoda
9eb1f60048
- added option to disable file transfers for tileset and/or techtrees for published (internet) games
2011-03-11 12:14:24 +00:00
Mark Vejvoda
e070cf2cbb
- added player status for network based games so players can indicate if they are ready to play or not
2011-03-11 11:11:46 +00:00
Mark Vejvoda
f46eaa159a
- bugfix for bug reported by gonana (ascii hotkeys work properly once again)
2011-03-11 06:34:59 +00:00
Mark Vejvoda
330caf7f8a
- added a CRC file cache to improve performance of CRC operations for large lists of files
2011-03-10 21:38:43 +00:00
Mark Vejvoda
ae97a1306c
- added another special variable (application path) that can be used for variable substituion in ini file values
2011-03-10 19:19:14 +00:00
Mark Vejvoda
2f18f96743
- bugfix for alpha letter keys used for certain hotkey operations
2011-03-10 18:26:45 +00:00
Mark Vejvoda
819831a287
- misc logs and screenshots now also go in userdata folder
2011-03-10 17:31:55 +00:00
Mark Vejvoda
2101a83a5d
- added support for special tags in ini file strings in preparation for storing userdata in ~/.megaglest
2011-03-10 01:23:34 +00:00
Mark Vejvoda
63da3d7af2
- added techtrees for file xfer and CRC checking (might need to turn off etc later but lets test for now)
2011-03-09 23:09:32 +00:00
Mark Vejvoda
5f9e8d97d3
- bufix for ftp tileset xfer, if no 7z file exists continue getting individual files
2011-03-09 19:29:34 +00:00
Mark Vejvoda
ab706e1762
- some code cleanup related to vc++ posix naming warnings
2011-03-09 18:51:26 +00:00
Mark Vejvoda
0b67911199
- vc++ compile fixes
2011-03-09 18:42:50 +00:00
Mark Vejvoda
817d8cfea8
- added logic for ftp file transfers to look for 7z archives for tilesets and download and extract on the client side if the 7z archive exists on the server
2011-03-09 18:35:19 +00:00
Mark Vejvoda
2c0353972f
- more debugging for keyboard issues
2011-03-09 05:46:28 +00:00
Mark Vejvoda
323f72ea6e
- more debugging for keyboard issues
2011-03-09 05:24:56 +00:00
Mark Vejvoda
5b2a6bb45f
- bugfix for esc key
2011-03-08 02:07:35 +00:00
Mark Vejvoda
76919f81b6
- does this help with the windows keyboard problem for some users?
2011-03-08 00:56:57 +00:00
Mark Vejvoda
f07b7a3603
- more keyboard bugfixes so some special keys above 255 work
2011-03-06 23:45:46 +00:00
Mark Vejvoda
9382473294
- attempt to make a few tweaks for more smooth network play
2011-03-05 20:15:28 +00:00
Mark Vejvoda
f6a7bc2865
- removed a stray printf
2011-03-05 02:38:18 +00:00
Mark Vejvoda
0f57fe6b92
- additional work to allow for changing hotkeys in the keyboard options menu, currently changes are not saved to file, only on screen.
2011-03-04 20:26:47 +00:00
Mark Vejvoda
73efa41cc9
- more unicode character code cleanup
2011-03-04 02:01:20 +00:00
Mark Vejvoda
10eba296fe
- some cleanup to free up using shift and alt key combinations for hotkeys also
2011-03-04 01:58:06 +00:00
Mark Vejvoda
ea8ce1d5c7
- fixed bug with unicode keypresses while pressing control
2011-03-04 01:32:10 +00:00
Mark Vejvoda
744602d0e3
- more keyboard handler cleanup related to special key presses (like shift)
2011-03-04 00:46:45 +00:00
Mark Vejvoda
d3feaaddec
- a little more keyboard fixes to try to bring some consistency to unicode style keyboard events
2011-03-03 19:33:31 +00:00
Mark Vejvoda
330f54e7cb
- bugfix for arrow keys, SDL docs had incorrect key names
2011-03-02 15:36:31 +00:00
Mark Vejvoda
c3286bf1a0
- attempt to fix previous messup with keyboard keys
2011-03-02 05:45:02 +00:00
Mark Vejvoda
18c863364f
- does this finally fix stupid keyboard mapping issues on different locales?
2011-03-01 23:33:59 +00:00
Mark Vejvoda
3f32cddbf5
- added sdl keyname to console output and debug log (console when --verbose commandline option used)
2011-03-01 23:07:19 +00:00
Mark Vejvoda
5787fb3e98
- memset map header to avoid garbage being written in unused reserved space
2011-02-25 22:33:40 +00:00
Titus Tscharntke
922df8e025
up to 36 units selectable; maps can set camera heigth now ( be careful with this for performance reasons! )
2011-02-25 00:31:42 +00:00
Mark Vejvoda
bd29260fef
- Does this fix choppy network play? Please test and let me know
2011-02-21 01:34:31 +00:00
Mark Vejvoda
e5a62f57ef
- some logging changes for helping test world synch better
2011-02-16 02:52:52 +00:00
Mark Vejvoda
a0cfe3fa08
- a few changes and now seems to compile in VC++ 2010 (still need to checkin project files)
2011-02-15 23:53:48 +00:00
Mark Vejvoda
8ec58868dc
- attempt to improve network performance (use separate mutexes for read / write operations)
2011-02-15 07:49:40 +00:00
Mark Vejvoda
31e722287f
- bugfixes for when players disconnect, do not switch observers to AI and only show message once.
...
- Attempts to debug/improve network performance
2011-02-15 03:32:14 +00:00
Mark Vejvoda
4488a4d388
- make pathfinder caching an ini setting tso its easy to test (disabled by default)
...
- some code cleanup related to threads and sockets
2011-02-13 03:06:12 +00:00
Mark Vejvoda
7dcb12ff60
- some more memory cleanup
2011-02-12 09:08:50 +00:00
Mark Vejvoda
c1ee5df801
- attempt to shutdown sdl in a more controlled way
2011-02-12 08:05:18 +00:00
Mark Vejvoda
cc973f3427
- bugfixes, some related to things pointed out by valgrind, some from opengl research and some for more stable operation
2011-02-12 07:34:32 +00:00
James McCulloch
87f21b71d6
init pathfinder log-file
2011-02-12 00:42:21 +00:00
Mark Vejvoda
34e95f5cd5
- streflop was disabled (likely when we switched to cmake). Turn it on for now but we need to investigate more thoroughly if we really need this?
2011-02-11 19:16:06 +00:00
Mark Vejvoda
49d7f5f036
- more rendering speed improvements (conversion of main portions of minimap to vertex arrays)
2011-02-09 01:27:41 +00:00
Mark Vejvoda
d0e050dde3
- M$ torments me day and night with their foolishness
2011-02-08 23:05:45 +00:00
Titus Tscharntke
e20162a3c4
cleaned up the cliff coding; hopefully really no more flickering now
2011-02-08 20:59:34 +00:00
Mark Vejvoda
17e2a87890
- fixed one type of freeze in the custom menu
...
- some small opengl changes
2011-02-08 18:23:41 +00:00
Mark Vejvoda
1ee25a2c91
- bugfixes to get win32 working with fbo's
2011-02-08 16:34:19 +00:00
Mark Vejvoda
01de8700ec
- stupid win32 hacks to allow opengl extensions for FBOs
2011-02-08 07:33:28 +00:00
Mark Vejvoda
86baa04a3b
- added FBO's for map preview rendering, which improves fps in the custom menu for video cards that support Frame Buffer Objects
2011-02-08 05:54:05 +00:00
Mark Vejvoda
dd75518af0
-small bugfix for titi's map support for cliffs.. all seems to work fine now
2011-02-08 04:52:01 +00:00
Mark Vejvoda
c856aa2c44
- fixed models that flicker when intersecting with other polygons (also known as z-fighting)
2011-02-08 04:50:57 +00:00
Titus Tscharntke
e03b029bea
Cliffs work and some map cleanup; ( !!currently old maps are broken in editor!! )
2011-02-08 03:50:59 +00:00
Mark Vejvoda
c58e893047
- attempt to improve issues in the custom menu related to freezing
...
- modified debug UI display to support multi levels of UI debug info
- added more validations to mutexes
- improved client sockets to properly be setup as non blocking
2011-02-06 07:01:54 +00:00
Mark Vejvoda
1574e05fcd
- surface rendering is a step closer to using VBO's (code now works using Vertex Arrays, next stop Vertex Buffer Objects)
2011-02-04 23:27:55 +00:00
Mark Vejvoda
6ec92f2127
- attempt to add more randomness to pathfinding and faster AI decsions
2011-02-04 06:34:32 +00:00
Mark Vejvoda
ab9d2f1bf2
- some small cleanup in vbo code
2011-02-04 02:26:55 +00:00
Mark Vejvoda
dab57fcb34
- attempt to add "some" VBO rendering for static models (need to test if this improves performance in different environments)
2011-02-04 01:24:26 +00:00
Mark Vejvoda
f373a66c31
- fixed win32 build from last checkin
2011-01-31 23:17:42 +00:00
Mark Vejvoda
0b4eef10c5
- added a very useful way to track mutex usage and performance timings of mutex locking to discover thread lock issues
2011-01-31 23:01:39 +00:00
Mark Vejvoda
c647e58260
- commented out old console outputs (see jack2 I do read IRC sometimes)
2011-01-31 02:07:58 +00:00