Commit graph

15329 commits

Author SHA1 Message Date
Pali Rohár
630fc2c65c Release version 2.2.6 2011-12-24 16:16:33 +01:00
Pali Rohár
98803131db Fix stack overflow on MinGW32 2011-12-24 16:16:18 +01:00
Pali Rohár
125132b62a CMake: add option ENABLE_STRIP for stripping all symbols from executables 2011-12-19 18:16:02 +01:00
Pali Rohár
c748bca93d Fixed debian/control 2011-12-19 14:10:57 +01:00
Pali Rohár
21b9b9935c Fixed help string 2011-12-19 12:18:59 +01:00
Pali Rohár
8be0752ec3 Fix debian dependences for package stratagus-dev 2011-11-07 11:06:24 +01:00
Pali Rohár
3ce0fc416d Fixed definitions in gameheaders for proper generating doxygen doc 2011-11-06 20:39:07 +01:00
Pali Rohár
3ace22754f Update Doxyfile (with header and footer) to version 1.7.4 2011-11-06 17:50:32 +01:00
Pali Rohár
1eb620711e Make doxygen documentation files with relative paths, add generated file tolua.cpp to doxygen too 2011-11-06 16:53:50 +01:00
Joris Dauphin
08add126f4 Clean up :
Create functions
Move some functions
Move some globals into a class.
2011-10-25 14:09:38 +02:00
Joris Dauphin
7398355e9f Revert file which should not be commited 2011-10-17 20:36:07 +02:00
Joris Dauphin
1a91b67ffc missing one file 2011-10-17 20:30:18 +02:00
Joris Dauphin
14d2e763c8 [minor] : clean up : replace some pointer by reference (CMap) 2011-10-17 20:29:25 +02:00
Joris Dauphin
80b4f483ed Replace old VideoDrawText by CLabel(Font).Draw. (in dead code mostly). 2011-10-17 15:45:14 +02:00
Pali Rohár
991f4df2e4 Fix variables with path UserDirectory 2011-10-15 22:02:34 +02:00
Pali Rohár
5db45351a7 Video depth is working on all platform and set default value to 32 2011-10-15 19:55:36 +02:00
Pali Rohár
d095f62056 On Windows Stratagus now use User Application Data folder for settings, so do not change permitions of install directory 2011-10-15 15:39:54 +02:00
Joris Dauphin
b2b01100d6 Remove "empty" file ui/menus.cpp 2011-10-12 15:05:55 +02:00
Joris Dauphin
7332fe56df [minor] : remove unused struct.
Replace old VideoDrawText by CLabel(Font).Draw. (in dead code mostly).
2011-10-10 13:04:47 +02:00
Pali Rohár
3a84142457 Remove macros STRATAGUS_HOME_PATH and STRATAGUS_LIB_PATH
Use instead global std::string variables UserDirectory and StratagusLibPath (they are initialized and updated after parsing command line arguments)
Update manpage
Change default config directory:
 * windows: user profile application data folder/Stratagus
 * mac: ~/Library/Stratagus
 * other: ~/.stratagus
2011-10-05 16:30:48 +02:00
Pali Rohár
808bcf7460 Fix attachconsole.cpp compatibility with C 2011-10-05 13:13:13 +02:00
Joris Dauphin
1c2ba3b370 Fix ColorCycling crash (some surface were freed without be removed from colorCycling surface list). 2011-10-03 19:03:10 +02:00
Joris Dauphin
595df9df64 Fix crash with colorCycling. 2011-09-20 19:45:56 +02:00
Joris Dauphin
b437922bf6 Fix calling convention in attacheconsole
Fix warning with fileno with msvc (use _fileno instead).
2011-09-20 19:02:04 +02:00
Pali Rohár
0054972e65 Fixed compilation attachconsole.cpp with MSVC
* use LoadLibrary and GetProcAddress for functions NtQueryObject and AttachConsole (missing ntdll.lib on MSVC)
 * use integers for NtQueryObject and AttachConsole instead defined macros (missing on MSVC)
 * removed wincon.h and winternl.h include (not needed anymore)
 * removed WINVER define
 * removed linking ntdll library
2011-09-19 22:25:14 +02:00
Joris Dauphin
6da1bafbca Readd color cycling
(Removed by jsalmon on rev. 6515 30/04/2005 21:18:30)
2011-09-19 12:41:51 +02:00
Pali Rohár
78fd1c35c4 Clean WINAPI attachconsole.cpp
* move reopen code to separate function
 * continue if one std reopen failed
 * if one std is ignored, restore winapi handle back after attaching console
2011-09-03 00:57:36 +02:00
Pali Rohár
5ef9c1fcf3 Windows: Ignore attach console if output is redirected to file 2011-09-03 00:03:53 +02:00
Pali Rohár
373372377c Fixed compilation with png 1.5 2011-08-10 08:52:59 +02:00
Pali Rohár
48fa34ffcc Update .bzrignore 2011-08-09 09:34:26 +02:00
Pali Rohár
9d2fec0f87 Updated info in doc/changelog.html, renamed it to name with lower chars 2011-08-09 09:19:14 +02:00
Pali Rohár
36e429a50f Updated info how to generate Doxygen documentation 2011-08-09 09:13:40 +02:00
Pali Rohár
8d7e5b42d4 Fixed lintian errors and warnings 2011-08-08 22:23:19 +02:00
Pali Rohár
37232cc023 Rewritten debian/rules to debhelper 7 2011-08-08 22:08:32 +02:00
Pali Rohár
76b13c8cf3 Fixed building debian packages 2011-08-08 17:13:43 +02:00
Pali Rohár
b2e8cb9a90 Fixed gameheaders 2011-08-08 15:47:57 +02:00
Pali Rohár
5e35702ba9 Added Stratagus Game headers file for easy creating Game Launchers and Maemo Extractors 2011-08-08 15:28:05 +02:00
Pali Rohár
3ad80c26dc Fixed compiling Stratagus on Mac
This fixed bug: https://bugs.launchpad.net/stratagus/+bug/816573
2011-07-27 11:17:09 +02:00
Joris Dauphin
2a313e217b Fix some action with big units (TileSize > (1;1))
Fix regression whan AI should attack with transporter.
2011-07-18 12:54:15 +02:00
Joris Dauphin
de0530e856 Some Clean up in Ai Module
Fix missing RefDecrease in AiForce
Remove unused flag MustTransport
remove Big unused Array units_with_resource[MaxCost][UnitMax] in AiCollectResources
2011-07-07 12:40:27 +02:00
Joris Dauphin
e42b3eb6a4 Clean up AStarMarkGoal (use no memory)
(equivalent change from MapSight).
2011-06-30 18:55:21 +02:00
Joris Dauphin
ef87453c43 - Fix assert when ChangeOwner is called (with MarkUnitGuard).
- Clean up MapSight (no use of memory)
2011-06-28 19:02:12 +02:00
Pali Rohár
f5b84baa6d Remove old makefile src/network/Module.make 2011-06-18 13:23:35 +02:00
Joris Dauphin
88713cf8dc - Remove Macro MAGIC_FOR_NEW_UNITS
- Remove UnitType parameter "MaxMana"
Use (in Spell.lua)
DefineVariables("Mana", {Max = 255, Value = 84, Increase = 1, Enable = false})
and replace  MaxMana = 255 by Mana = {Enable = true} in UnitType definition.
2011-06-15 19:12:54 +02:00
Joris Dauphin
827b97b001 [minor] : Some clean up 2011-06-14 19:25:21 +02:00
Joris Dauphin
fb340d8646 Reactivate code deleted with cybermind patch.
[-] Removed game namespace writing in SavePreferences
2011-06-09 19:19:43 +02:00
Joris Dauphin
0708108029 Remove commented code 2011-06-09 19:12:52 +02:00
Joris Dauphin
8e23460fc4 Fix compilation for msvc
Fix some warning with gcc
2011-06-09 19:11:34 +02:00
Pali Rohár
5db6a09d33 Added Lua function DebugPrint - same as C macro DebugPrint 2011-05-28 21:41:16 +02:00
Pali Rohár
a547a0d628 In macro DebugPrint show function name too 2011-05-28 21:39:52 +02:00