Commit graph

121 commits

Author SHA1 Message Date
Andrettin
b5d66547f7 Added autosave support, updated changelog, updated version to 2.4.0 2015-12-04 18:13:53 +01:00
KroArtem
358af4e537 start removing maemo support 2015-12-03 15:03:35 +03:00
Tim Felgentreff
889cecc674 bump version and update urls for debian package 2015-12-02 12:52:12 +01:00
Tim Felgentreff
3ab44693d8 build nsis installer on appveyor and release to github 2015-12-01 17:43:36 +01:00
Tim Felgentreff
9e43d695d2 updates to make compilation with vs 2015 work 2015-12-01 17:43:27 +01:00
Tim Felgentreff
e47cf541c1 fix compilation on mac os x 2015-11-24 17:30:27 +01:00
Tim Felgentreff
cee9e396c8 enable appveyor builds 2015-11-23 18:52:02 +01:00
Tim Felgentreff
62d310f29a only add VS2013 flags if we need them 2015-10-16 12:33:41 +02:00
Tim Felgentreff
3a29810853 add shaders for fullscreen pixel scaling algorithms 2015-10-16 12:28:08 +02:00
Pali Rohár
0c4ef0c400 Fix compiling metaserver on WIN32 2015-04-12 11:55:12 +02:00
Pali Rohár
04e6ebcc12 Add new version of WINAPI code for attaching console 2015-04-12 11:54:50 +02:00
cybermind
c0807df223 [-] Fixed NSIS scripts 2015-03-19 17:43:24 +05:00
cybermind
1656d2c66b [-] Removed SideAttack if-case 2015-03-18 18:53:04 +05:00
cybermind
46f7162c2f [+] Introduced crash dump writing for win32
[-] Fixed crash if engine is tried to play unloaded sound
2015-03-15 22:56:45 +05:00
cybermind
cfbfca0cd4 [+] Added support for StackTrace library to log call stack into stderr in case of crash 2015-02-19 18:47:55 +05:00
cybermind
f3718a24d3 [+] Addec option for parallel build on MSVC
[-] Removed MinSizeRelease, RelWithDebInfo configurations
2015-02-13 22:39:28 +05:00
cybermind
c560b02922 [+] Added Fluidsynth support for MIDI playback
[*] Increased sound channel count to reduce sound lags
[*] SetDefaultTextColors is available from Lua
2014-10-20 23:58:56 +06:00
cybermind
01cb1aed06 [+] Merged branch lp:~timfelgentreff/stratagus/stratagus 2014-06-02 22:14:45 +06:00
cybermind
d4ecd6327d [+] Enhanced spell casting:
-ability to define user conditions for spell using Lua scripts. Just use "callback" keyword in conditions, followed by function name after comma. If function returns true, the condition pass and vice versa.
-ability to define user actions for spell using Lua scripts. Use "lua-callback" action type, followed by function name after comma.
2014-02-25 22:30:32 +06:00
cybermind
bc16a6c6eb [+] Metaserver client code rewritten: now using class CMetaClient available through Lua 2013-12-05 21:03:34 +06:00
Tim Felgentreff
7340710df0 fixes to CMakeLists to compile on OS X 2013-10-02 16:28:16 +02:00
cybermind
210369b752 [+] Added new MissileStraightFly, which flies straightly, until it reaches terrain tile field flags mask specified in MissileType::MissileStopFlags. You can use KillFirstUnit property, so missile will explode on first unit.
[*] More correct missile handling in MissileHandleBlocking
[*] Missile with KillFirstUnit can't kill dead or non-solid units
2013-09-01 11:44:48 +06:00
cybermind
06d0641ddd [+] Implemented old behavour for storing user data (logs, saves etc) to path where Stratagus is installed. To use this feature, enable ENABLE_USEGAMEDIR option in CMake 2013-08-03 18:43:17 +06:00
cybermind
2fa0216c2f [+] Added CAnimation_LuaCallback which allows user to call lua functions from animations.
Usage: "lua-callback func_name arg1 [argN ...]"
2013-05-09 22:32:37 +06:00
joris
afe6b7e8cc Move CMapField code into its own file. (and so remove map_save file) 2013-04-21 15:35:48 +02:00
cybermind
a4b526c42c [+] Added teleport spell 2013-04-15 20:39:16 +06:00
joris
af53391cee Add classes CHost and CUDPSocket. 2013-04-04 23:59:29 +02:00
joris
3c8cbe8e84 Add a simple main.cpp to ease the use of unitTest. 2013-04-03 18:24:22 +02:00
joris
8c58c7b05e Move network messages into its own file. 2013-03-24 14:57:58 +01:00
cybermind
11e825b9e3 [+] Added an ability to define custon user in-game UI buttons
[-] Fixed popup drawing while pie menu is active
2013-02-25 18:53:02 +06:00
Pali Rohár
781af593cb Fix cmake dependences for version-generated.h
* Seems like different versions of CMake and GNU Make doing different things and does not resolve dependeces correctly
* add_custom_command in old version of CMake cannot depends on non-file target
* Old version of CMake does not resolve dependency stratagus.cpp --> version.h --> version-generated.h and trying to compile stratagus.cpp before version-generated.h
* And when generating doxygen documentation, it cannot find rule how to generate version-generated.h, so in stratagus_HDRS file version-generated.h must be twice

* I belive that now compilation is working with CMake 2.6, 2.8, GNU Make 3.8 and Ninja
2013-02-08 23:06:10 +01:00
Pali Rohár
65c8c26b68 Add support for Native SDL GLES mode and GLES via EGL 2013-02-08 19:55:03 +01:00
Pali Rohár
9beb9f25b2 Make OpenGL support optional 2013-02-08 18:53:21 +01:00
Joris
3c0a1ee386 Move parameters class in its own file.
Move some code from stratagus.cpp to utils.cpp
2013-02-08 17:20:58 +01:00
Pali Rohár
0dd75032fc Generate file version-generated.h when cross compiling too (but there is no support for bzr rev) 2013-02-08 14:37:06 +01:00
Pali Rohár
24f4f31b1c Fix cmake flags for gcc 2013-02-07 14:59:50 +01:00
cybermind
6e8a218720 [+] Added ability to take resources for spell cast
[-] Fixed version compilation for MSVC
2013-02-07 19:22:06 +06:00
Pali Rohár
c1df18ef4d Fix generating file version-generated.h 2013-02-05 23:39:30 +01:00
Pali Rohár
2fc762b2d9 In Windows NSIS Installer use version from cmake 2013-02-05 22:27:43 +01:00
Pali Rohár
2f667d0c85 Add VERBATIM to all cmake add_custom_command calls, which causing that arguments will be escaped properly 2013-02-05 22:19:20 +01:00
Pali Rohár
a0ff593ed8 Generate version string at compile time from CMakeLists.txt and from bzr revision
* Move StratagusMajorVersion, StratagusMinorVersion, StratagusPatchLevel and StratagusPatchLevel2 to CMakeLists.txt
* Added tool genversion.cpp which (re)generate file version-generated.h from cmake if needed
* Fill VERSION macro from other values with C preprocessor instead hardcoded values
* Remove macros StratagusFormatString and StratagusFormatArgs from code, use only VERSION
2013-02-05 22:16:43 +01:00
Pali Rohár
7c2f6c81a9 Remove HAVE_X and HAVE_X11 definitions, add USE_X11
* This commit enabling clipboard (copy/paste) support on systems with X server

* Now we are using USE_* defines for stratagus features and HAVE_* defines for system native functions (not reimplemented in stratagus)
* So all stratagus builds with different HAVE_* defines should work same and should have same features
2013-02-05 17:14:46 +01:00
Pali Rohár
e7146ac413 Fix ENABLE_STRIP in CMakeLists.txt, now working only with gcc 2013-02-05 17:00:02 +01:00
Pali Rohár
db0fc4d49c Add -DDEBUG via add_definitions 2013-02-05 16:56:16 +01:00
Pali Rohár
d291e598a3 Remove __unix, unix and __APPLE__ defines, add new USE_LINUX and use USE_LINUX and USE_APPLE in current code 2013-02-05 16:48:08 +01:00
Pali Rohár
cfc336586b Use cmake for determinate if system has getopt function, use util.h for getopt 2013-02-05 15:54:34 +01:00
Pali Rohár
606d5ef476 Functions strcpy_s, strncpy_s and strcat_s must return errno_t
* Use cmake for determinating if system has above functions
* Compile our implementations only if system does not have these functions
* Define macro _TRUNCATE if is not defined
* Define errno_t if is not in any standard header include file
* Define prototypes of above functions only if system does not have them

* This commit fix compilation with ubuntu mingw-w64 cross compiler
2013-02-05 15:28:21 +01:00
joris
76cb9306a7 Move Popup releted stuff from ui.cpp into (new) popup.cpp 2012-12-31 15:24:08 +01:00
joris
c0f82a019a Move CUITimer and CStatusLine in there own files. 2012-12-31 14:08:18 +01:00
joris
c01bef9426 Use PixelPos in ContentType.
Fix some error message.
Commit missing CMakeLists.txt modifications for the new files from last commit
2012-12-31 12:02:34 +01:00