Commit Graph

1596 Commits

Author SHA1 Message Date
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
e3fd34c18c - attempt to make more randomized cell direction when harvesting using locations in the resource cache 2011-03-21 01:03:14 +00:00
Mark Vejvoda
18f2f531e3 - added map, tileset and techtree to debug view and also AI type 2011-03-20 23:41:46 +00:00
Mark Vejvoda
ab9f88e4c7 - bugfix for map CRC checking after downloading a map 2011-03-20 06:23:19 +00:00
Mark Vejvoda
829c499568 - bugfixes and cleanup for g3d editor and map editor so they now compile and run using newer wxwidgets (should also be backwards compatible with 2.8 2011-03-20 06:05:09 +00:00
Mark Vejvoda
c75181f350 - a few changes so things can also build when using newer wxwidgets libs as well as newer xerces 2011-03-20 00:59:17 +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
04fe8b73f0 - segfault bugfix for client menu 2011-03-19 18:11:15 +00:00
Mark Vejvoda
513d3f1d3e - bugfix for faction crc checks 2011-03-19 18:05:13 +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
97017b2f1f - added a new lua method to add text on the console for Elimnator's scenario. 2011-03-19 12:19:22 +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
d21eeeae07 - lessen pathfinder max nodes to see if this gives better performance 2011-03-19 01:31:49 +00:00
Mark Vejvoda
505abbd1ec - observers now hear sounds from units of all team units in visible quad 2011-03-18 21:23:34 +00:00
Mark Vejvoda
07f56669b7 - attempt to see if threaded pathfinding will work and if it improves performance 2011-03-18 03:53:06 +00:00
Mark Vejvoda
e65f588045 - better randomization of CRC refresh 2011-03-17 16:44:55 +00:00
Titus Tscharntke
6b31149754 Revert last change because this is not done now and I accidently checked it in. 2011-03-17 00:43:46 +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
27c183370f - some lobby cleanup and added some options to disable techtree CRC checks on server 2011-03-16 18:39:53 +00:00
Mark Vejvoda
29a123e263 - cleanup a few compiler warnings 2011-03-16 05:55:11 +00:00
Mark Vejvoda
b81a0ffdb8 - consistent display order for unit and upgrade requirement resources as requested by tomreyn 2011-03-16 05:27:07 +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
d613e5da7b - bugfix for scenarios to be able to use local content in the scenario folder 2011-03-15 23:10:00 +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
f88836203a - another keyboard bugfix (pressing esc properly cancels chat mode), Thanks ultifd 2011-03-12 03:10:07 +00:00
Mark Vejvoda
9d2e08a8c7 - g3d viewer now auto registers g3d files with itself in windows so users may double click a g3d file to launch it within the viewer from explorer. Windows G3d is now a console application so we can see commandline options and console output 2011-03-12 02:28:00 +00:00
Mark Vejvoda
be5ac6c9e4 - bugfix for g3d viewer to work with windows openwith 2011-03-11 23:48:16 +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
4757bd3bb8 - bugfix for user ini files whne missing, we auto-create them and set proper flags (thanks Muwum) 2011-03-11 01:22:24 +00:00
Mark Vejvoda
ee773ef96b - bugfix in connected client menu (init variables for proper techtree file xfer) 2011-03-10 22:00:59 +00:00
Mark Vejvoda
fe2854e3e0 - force crc refresh right after clearing the cache after file xfer 2011-03-10 21:50:43 +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
3758a4ba92 - bugfix for missing userdtaa folder, needs to be created right away if missing (thanks KroArtem) 2011-03-10 18:54:40 +00:00
Mark Vejvoda
a013d9300f - cleaned up some compiler warnings 2011-03-10 18:45:05 +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
9636d5db06 - g3d viewer now respects userdata path for screenshots 2011-03-10 17:59:40 +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
0e1b8e62e4 - debug logs now respect mydata path and will be written there 2011-03-10 17:13:15 +00:00
Mark Vejvoda
242b02c001 - added support for better user data customization and default linux path will now be ~/.megaglest/ for user related ini's and data content 2011-03-10 07:26:43 +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
b97687c772 - possible bugfix on windows for special key values 2011-03-09 06:15:09 +00:00
Mark Vejvoda
324a506aac - more debugging for keyboard issues 2011-03-09 06:00:46 +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
Titus Tscharntke
ad94506842 gonanas patch! Thank a lot! For me it works, please test ! ( hopefully really no more flickering now ) 2011-03-09 01:46:00 +00:00
Titus Tscharntke
5e844c39e4 particles for ressouces ... the gold will glow tomorrow :-D 2011-03-09 01:32:27 +00:00
Titus Tscharntke
5db11ec538 double click selection for units standing near or in buildings 2011-03-08 20:19:19 +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
Titus Tscharntke
5494a80233 removed unused isDirty bool ( maybe unstable with tileset particles before ) 2011-03-07 20:19:43 +00:00
Mark Vejvoda
f07b7a3603 - more keyboard bugfixes so some special keys above 255 work 2011-03-06 23:45:46 +00:00
Titus Tscharntke
4874d31ddd hopefully fix for tileset particle related crash in windows; particles must be removed from objects before the particle manager is cleared 2011-03-06 22:50:04 +00:00
Titus Tscharntke
273ab4c502 Option to switch on/off tileset particles 2011-03-06 13:11:22 +00:00
Mark Vejvoda
d75fbe51f6 - another attempt to fix keyboard menu for windows 2011-03-06 07:55:38 +00:00
Mark Vejvoda
d9e6b45052 - another attempt to fix keyboard menu for windows 2011-03-06 07:29:30 +00:00
Mark Vejvoda
9104141efe - added error handling for keyboard menu to see if we get this far in windows 2011-03-06 07:18:34 +00:00
Mark Vejvoda
4eb5879d04 - bugfix for ultifd, screenshots now save even when loading from open with 2011-03-05 23:15:07 +00:00
Mark Vejvoda
9382473294 - attempt to make a few tweaks for more smooth network play 2011-03-05 20:15:28 +00:00
Titus Tscharntke
fefed3e3ce No more flickering! Thanks gonana ! ; Tilesetparticles are only rendered/calculated when visible now 2011-03-05 14:34:36 +00:00
Mark Vejvoda
dcecb1ba8d - carving pathfinder to 500 and disabling pathfinder cache to see if it performs better. 2011-03-05 08:01:48 +00:00
Mark Vejvoda
f6a7bc2865 - removed a stray printf 2011-03-05 02:38:18 +00:00
Mark Vejvoda
935895c89f - configurable keys can be edited in keyboard menu now 2011-03-04 22:54:04 +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
Titus Tscharntke
792d0aa665 particles for tilesets ( too much rendered at the moment ) 2011-03-01 23:36:33 +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
4975882ea2 - cleanup some useless warnings (thanks johndh) 2011-02-28 23:33:11 +00:00
Mark Vejvoda
1136f056ce - added performance logging for new ai unblock rule when perf logging enabled 2011-02-28 16:47:01 +00:00
Mark Vejvoda
45a646ffef - carved back max nodes in pathfinder to 600 2011-02-28 16:45:15 +00:00
Mark Vejvoda
c679c4bfe0 - set pathfinder max to 800 (From 1200) 2011-02-26 00:47:41 +00:00
Mark Vejvoda
823fd842d4 - added NULL guard for units without a move command to avoid segfault 2011-02-26 00:41:00 +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
Mark Vejvoda
bced200dd1 - bugfix when bad values are in map file, game would freeze at game start due to endless loop 2011-02-25 22:13:11 +00:00
Mark Vejvoda
9de151d975 - added more things to try to improve pathfinding (especially for the AI)
AI players should now detect when units are blocked (surrounded by other units from same faction) and tell the other units to move out of the way
2011-02-25 16:32:27 +00:00