Mark Vejvoda
aa2174a101
- support streaming videos from youtube etc
2012-05-21 18:32:53 +00:00
Mark Vejvoda
b7ba6e52d5
- bugfixes for playing videos in main menu
2012-05-19 08:48:30 +00:00
Mark Vejvoda
0d38e2eb5d
- added support for main menu background video
2012-05-19 08:40:49 +00:00
Mark Vejvoda
3187252936
- fixed libvlc on windows (timing problem when loading videos)
...
- commented out retarded environment variable code since we just ship the plugins folder now
2012-05-19 02:47:53 +00:00
Mark Vejvoda
ed1e17aacd
- allow any video format that vlc can handle for intro video
2012-05-18 22:39:36 +00:00
Mark Vejvoda
9fdde8c5f3
- when intro video stops playing continue to main menu
2012-05-18 19:53:01 +00:00
Mark Vejvoda
66af241154
- few updates to video player
2012-05-17 21:52:00 +00:00
Mark Vejvoda
895428a954
- fixed vc++ 2008 project file so it builds again (vc++ 2008 missing a C99 header file, requires re-download of win32 deps)
2012-05-16 22:14:50 +00:00
Mark Vejvoda
dec1922060
- disable libvlc for ancient nix platforms (min version required 1.1)
2012-05-16 21:48:51 +00:00
Mark Vejvoda
040872748d
- bugfix for loading videos
2012-05-16 15:38:35 +00:00
Mark Vejvoda
b7cf90a09e
- attempt to get static linking working for libvlc
2012-05-16 05:46:04 +00:00
Mark Vejvoda
32b4925f31
- attempt for better support for older versions of libvlc
2012-05-14 21:09:44 +00:00
Mark Vejvoda
5d5224b4a2
- attempt to allow support for older vlc
2012-05-14 15:57:50 +00:00
Mark Vejvoda
0a55a9b33d
- commented out some useless code because of how bad windows handles environment vars
2012-05-14 07:38:21 +00:00
Mark Vejvoda
b91f816f3e
- a compromise for libvlc, only fallback to retarded env var code if plugins folder is missing. However we plan to ship that folder next install.
2012-05-14 07:28:34 +00:00
Mark Vejvoda
093d22ce8b
- oh how I despise windows, another evil hack to get proper detection of vlc plugins
2012-05-14 03:36:43 +00:00
Mark Vejvoda
e3c2719458
- fixed build on windows
2012-05-12 23:59:40 +00:00
Mark Vejvoda
69c1de284c
- plugin fix on windows
2012-05-12 23:47:16 +00:00
Mark Vejvoda
ec2a708603
- plugin fix on windows
2012-05-12 23:23:24 +00:00
Mark Vejvoda
7d8aee2f78
- fix the check for libvlc and better support for windows users
2012-05-12 23:05:34 +00:00
Mark Vejvoda
af508a1a59
- added new ini setting to explicitly set the vlc plugins folder:
...
VideoPlayerPluginsPath=c:\program files\videolan\plugins
2012-05-12 22:48:29 +00:00
Mark Vejvoda
ede0a63def
- require libvlc version minimum 2.0.1
2012-05-12 22:36:44 +00:00
Mark Vejvoda
46395d1322
- added support for windows build for libvlc to play videos (requires updated deps)
2012-05-12 22:21:15 +00:00
Mark Vejvoda
7b3de2d109
- added support for intro videos using libvlc (if libvlc is installed for the developer, its optional)
2012-05-12 20:33:18 +00:00
Mark Vejvoda
345b2e670b
- added local mg version label to custom game menu
2012-05-12 02:21:21 +00:00
Mark Vejvoda
e38c9b5db0
- small changes to checksum file loading
2012-05-12 02:08:08 +00:00
Mark Vejvoda
5458f7abb4
- units now use a random # from 10-20 cells to determine how often they refresh their path
2012-05-12 01:06:55 +00:00
Mark Vejvoda
dc270fbbaa
- rollback the last pathfinder change its no good
2012-05-12 00:50:15 +00:00
Mark Vejvoda
ef39f93457
- try to speed up water rendering a bit, but especially pathfinder
2012-05-12 00:01:05 +00:00
Mark Vejvoda
e2844938b7
- updated to not segfault when loading a saved game and tileset is not found
2012-05-11 19:52:34 +00:00
Mark Vejvoda
fff77031fc
- bugfixes for g3d viewer to display only particles without a unit
2012-05-11 16:05:26 +00:00
Mark Vejvoda
bf3e5a15bf
- modders can now override land and air field names using lng specific files for a tileset (follows same principle as techtree lng files). Currently supported translatable strings:
...
FieldLandName=Land
FieldAirName=Air
2012-05-11 05:49:47 +00:00
Mark Vejvoda
394efbcbc0
- bugfixes for network scenarios, client cannot change team or faction but they rather get assigned to the team and faction of the slot they switch to
2012-05-11 05:11:46 +00:00
Titus Tscharntke
4aee3847e1
ShadowTextureSize selectable in ingame options
2012-05-10 22:32:38 +00:00
Titus Tscharntke
b411c103df
extra map preview for already installed maps
2012-05-10 21:45:24 +00:00
Mark Vejvoda
2d6cda1f6f
- more pathfinder tweaks to try improve performance
2012-05-09 23:56:14 +00:00
Mark Vejvoda
ee6eed20a2
- fixed the build on windows
2012-05-07 01:37:43 +00:00
Titus Tscharntke
2fddf85486
Bugfix: HUD is working for network clients too now.
2012-05-06 21:19:31 +00:00
Mark Vejvoda
1b2b1f9821
- improved the new pathfinder using hashmap
2012-05-05 06:23:09 +00:00
Mark Vejvoda
f79222defa
- more pathfinder in progress changes, nothing to test yet
2012-05-05 04:38:49 +00:00
Mark Vejvoda
3ff0796bec
- some in progress pathfinder work
2012-05-04 21:03:52 +00:00
Mark Vejvoda
85f98e8f55
- added ini setting to enable new pathfinder (its off by defualt now).
...
EnableFastPathFinder=true
2012-05-04 16:48:14 +00:00
Mark Vejvoda
771ff91c1c
- added a new pathfinder to test to see if it performs better than the old one
2012-05-04 14:57:59 +00:00
Mark Vejvoda
3b9f799d26
- it is now possible to explicitly specify which units should count towards victory conditions. In the unit's xml file add:
...
<?xml version="1.0" standalone="no"?>
<unit>
<parameters>
<!-- valid values are true or false for this optional parameter -->
<count-in-victory-conditions value="false"/>
</parameters>
</unit>
2012-05-03 20:25:35 +00:00
Mark Vejvoda
0120c5211a
- added a default translation file for techtrees, <techtreename>_default.lng
2012-05-03 14:43:28 +00:00
Mark Vejvoda
2267011cbc
- try to optimize debug flag checking
2012-05-03 01:25:34 +00:00
Mark Vejvoda
b84c69a93b
- translatable techtrees, currently supported resource names, unit names and upgrade names. For each techtree created a lang folder in the techtree main folder. Now create language specific files <techtree>_language.lng as we do for scenarios. In the file add:
...
ResourceTypeName_<name>=My new resource name
UnitTypeName_<name>=<name>=my new unit name
UpgradeTypeName_<name>=my new upgrade name
2012-05-02 21:00:57 +00:00
Mark Vejvoda
897346d1f5
- added the beginning work to support translatable techtrees
2012-05-02 20:46:47 +00:00
Mark Vejvoda
5c0db25c86
- added a few new lua methods to register cell 'areas' for unit or for factions for wciwow
2012-05-02 06:07:11 +00:00
Mark Vejvoda
35e9577d77
- does this fix the build on Arch Linux?
2012-05-01 20:22:18 +00:00
Mark Vejvoda
8d1300d9a1
- does this fix the build on Arch Linux?
2012-05-01 20:11:32 +00:00
Mark Vejvoda
20ffdbcf2d
- fixed on windows platform
2012-05-01 15:21:09 +00:00
Mark Vejvoda
a70b1a9881
- patch to compile on gcc 4.7
2012-05-01 14:55:06 +00:00
Mark Vejvoda
2c8b1739e5
- removed printf's as they slowed down pathfinding
2012-05-01 05:12:38 +00:00
Mark Vejvoda
624237ed47
- attempt to tweak the pathfinder a bit for performance when units are consistently having a hard time pathfinding we scale back their max cell count used in pathfinding until they have better success in pathfinding
2012-04-29 04:45:51 +00:00
Mark Vejvoda
1352f42854
- added support for checking if LuaJit library is installed and use that instead of normal Lua for increased lua performance (Currently only implemented in gcc builds)
2012-04-26 16:17:12 +00:00
Mark Vejvoda
2a1ee15a54
- applied patch for lua 5.2
2012-04-26 00:46:49 +00:00
Mark Vejvoda
e5d1cada0e
- fixed cmake build to work again with mingw
2012-04-24 03:52:06 +00:00
Mark Vejvoda
b8fb60b325
- speed up the pathfinder a bit
2012-04-21 03:42:25 +00:00
Mark Vejvoda
81890b0077
- fixed build on linux
2012-04-20 02:11:15 +00:00
Mark Vejvoda
dbb116f250
- load of changes to get things compiling under VC++ 2010 (with updated deps seperate for vc2010)
2012-04-20 01:04:05 +00:00
Mark Vejvoda
329bb58b04
- a few code cleanup items while doing some testing in VC++ 2010
2012-04-17 19:42:53 +00:00
Mark Vejvoda
aa831dbb61
- inlined a few more functions
2012-04-17 15:25:31 +00:00
Mark Vejvoda
6e7d4aeec5
- speed up some heavily used functions
2012-04-17 07:51:45 +00:00
Mark Vejvoda
8488b9c2b4
- speed up leak checker
...
- fix a few bugs that were discovered
2012-04-17 07:12:07 +00:00
Mark Vejvoda
c8fdc9269f
- fix win32 build
...
- cleanup a lot of win32 compiler warnings
2012-04-16 20:15:57 +00:00
Mark Vejvoda
3b8dd289ac
- updated cmake to check for support of backtraces in gcc compiler
...
- fixed numerous bugs / warnings from cppcheck
2012-04-16 19:29:37 +00:00
Mark Vejvoda
ae91368a99
- memory leak checker fixed a few issues
2012-04-16 16:57:10 +00:00
Mark Vejvoda
1403a3fe44
- fixed a memory leak and fixed a segfault in a thread class
2012-04-16 15:46:22 +00:00
Mark Vejvoda
a37dc8a7b3
- fix headless server crash due to new call to setgama in headless mode
...
- a few code optimizations to start to improve performance
2012-04-16 06:14:10 +00:00
Titus Tscharntke
f612707849
"PleaseWait"-message while calculating all CRCs in mod menu.
2012-04-16 00:15:11 +00:00
Titus Tscharntke
fe59fe8703
Bugfix: particles are also colored with daylight effect if they are created. ( if isDaylightAffected is set )
2012-04-15 22:38:41 +00:00
Mark Vejvoda
5cfb7e85d5
- Added stack traces to win32 build when we detect an error
2012-04-14 22:48:49 +00:00
Mark Vejvoda
8c0bf75bf5
- got built in memory leak working. Just edit leak_dumper.h and uncomment:
...
//#define SL_LEAK_DUMP
- got better / more accurate stack dumps when we detect errors in game.
- Both of these need to be worked on in windows next, win32 may not compile for now until i fix it on that platform.
- BE VERY CAREFUL when working in leak_dumper.* it may cause GCC and your system to crash if you don't know what you are doing!
2012-04-14 21:21:09 +00:00
Titus Tscharntke
ed201fa5d3
"save game" in ingame menu( I don't know how a quick "load last saved game" ould work from ingame menu :-/ )
2012-04-13 23:13:02 +00:00
Mark Vejvoda
7f0b439d5d
- some initial work for pathfinder changes (nothing enabled yet)
...
- added savegame info for network games to start thinking about how to allow players to reconnect to a network game.
2012-04-13 20:20:40 +00:00
Mark Vejvoda
c83cfc6e03
- bugfix to save server ip's in join menu
2012-04-13 19:37:52 +00:00
Mark Vejvoda
9aca26a0f0
- bugfix for unit selection segfault on game exit
...
- added thread hardening to try to ensure we never try to delete a thread more than once.
2012-04-12 20:43:19 +00:00
Mark Vejvoda
76c3fa1949
- fixed segfault when a unit is selected and they die (this is a long standing bug and not related to savegame)
2012-04-12 15:38:53 +00:00
Mark Vejvoda
80e1e45ba8
- bugfix for over-riding irc channel and server
2012-04-12 06:03:21 +00:00
Titus Tscharntke
f495a41a05
Extra option for menu rain effect ( needs update in language files german/english done )
2012-04-11 22:19:50 +00:00
Mark Vejvoda
cd5bce3b91
- removed configurator from cmake file
...
- applied libircclient patch from forums 'the Chakra project'
2012-04-11 18:58:38 +00:00
Mark Vejvoda
22f43f4267
- added new lua method for setting the direct position of a unit (can be used for teleporting):
...
setUnitPosition(int unitId, Vec2i pos)
2012-04-11 05:41:40 +00:00
Mark Vejvoda
7328875160
- bugfix for rain effect, now dynamically turns on/off when toggled in menu and hopefully fixes strange water splash bug
2012-04-11 05:18:00 +00:00
Mark Vejvoda
ac015c8819
- fixed hp and ep regeneration so they can use negative values.
2012-04-11 04:48:36 +00:00
Mark Vejvoda
a72fc4e341
- removed configurator from the build and installation, it is deprecated
2012-04-10 02:12:16 +00:00
Mark Vejvoda
2ab041813f
- code cleanup based on cppcheck report
2012-04-05 03:53:59 +00:00
Mark Vejvoda
83d2474ded
- bugfix animated particle model logic
2012-04-04 23:43:31 +00:00
Titus Tscharntke
4aae520da6
Highlighting rendering without cycling through all units each frame ...
2012-04-04 22:57:32 +00:00
Mark Vejvoda
c1f617481e
- bug fixes for load saved game (now fixes loading on windows) and corrects memory bug for loading saved games on all platforms.
2012-04-04 15:36:09 +00:00
Titus Tscharntke
6c12bfbec8
Improved resource object selection implementation which allows highlight effects now too.
...
Generally changed highlight effect to something more obvious
2012-04-04 00:30:16 +00:00
Mark Vejvoda
6e66963664
- added validate-tileset
2012-04-03 19:35:22 +00:00
Titus Tscharntke
1df365d697
I removed the automatic game pausing when message are shown because I don't like it ( sc does not like it at all so ... ). Still auto-pausing while showing menues ingame in singleplayer.
2012-04-03 00:32:52 +00:00
Titus Tscharntke
8c6dde365b
mouse pointer shows multi click command state
2012-04-02 23:37:03 +00:00
Titus Tscharntke
42b289fe1e
cursor work in progress ... ( for tomreyn and me to test )
2012-04-02 22:17:10 +00:00
Mark Vejvoda
a23a9396c2
- added new over-ridable minimum spacing between buildings for the AI player
2012-04-02 16:11:13 +00:00
Mark Vejvoda
d16396db0a
- more save / loadgame bugfixes
2012-04-02 15:17:31 +00:00
Mark Vejvoda
5b5d753341
- bugfixes for save / load game bugs reported
2012-04-02 15:02:44 +00:00
Mark Vejvoda
f80e440713
- added a bunch of new commandline commands to display lists of different kinds of installed game data:
...
--list-maps
--list-techtrees
--list-scenarios
--list-tilesets
--list-tutorials
2012-04-02 06:07:32 +00:00
Mark Vejvoda
0254f8a507
- added ability for 'air' and 'land' to be internationalized in the lng files:
...
FieldAir=Air
FieldLand=Land
- next step is to make a way for tilesets to have lng files (like scenarios)
2012-04-02 02:07:32 +00:00