David Dormagen
fe04a0fe79
added Place()-function to sea weed
2014-06-27 20:39:03 +02:00
David Dormagen
fb1ee2f88f
the Trans_* mesh-transformation-functions are now implemented in the Engine instead of System.ocg
2014-06-27 20:36:47 +02:00
David Dormagen
ad1c2760b0
added callback IsPrey() to the Clonk so that future evil predators can only search for IsPrey and will attack both Clonks and cute little animals
2014-06-27 20:25:21 +02:00
Sven Eberhardt
6d19569963
Added experimental scenario: Fight for Gidl
2014-06-22 16:47:21 +02:00
Sven Eberhardt
30ccb5ef84
Update object fade rule to use !GBackSolid() instead of !Stuck() as removal condition for garbage objects.
...
The condition was meant to avoid removal of earth materials. However, it also left around lots of other objects (like arrows sticking in walls).
2014-06-22 16:41:51 +02:00
Sven Eberhardt
6744ed942a
Fix PlaceObjects material parameter description and example. ( #1083 )
2014-06-14 11:01:01 +02:00
Günther Brammer
8780a69b51
Improve the messages for path problems
...
C4Group::Open would sometimes overwrite more specific error messages or
not mention the problematic path. DirectoryIterator::Read also now mentions
more detail. Two superfluous messages were removed to make space.
2014-06-09 04:17:17 +02:00
Günther Brammer
13d9608f9e
Avoid using ICONV_LIBRARIES when the search for the library failed.
2014-06-09 04:17:17 +02:00
Kevin Zheng
7bc06ad652
Fix iconv detection and 'const' qualifier.
2014-06-09 04:11:52 +02:00
Maikel de Vries
582cabf072
only show enter action button if in front of entrance
...
And not if in front of structure.
2014-06-08 18:39:35 +02:00
Maikel de Vries
288f3904c3
allow for setting the width of a basement after construction
...
This allows other structures to add the basement after construction and resize it.
2014-06-08 18:39:35 +02:00
Sven Eberhardt
f70fbf9284
Fix invisible loam in DarkCastle.
2014-06-01 20:14:32 +02:00
Sven Eberhardt
43df518d75
Improved Rule_ObjectFade to re-check condition a few times before fading out objects. This ensures that e.g. fused iron bombs aren't just removed.
...
Also relaxed the movement condition to allow very small movements because bugged engine physics sometimes cause objects to wiggle forever.
2014-06-01 15:00:45 +02:00
Sven Eberhardt
66b06be115
Fix catapult aiming of enemy AI
2014-05-31 21:24:22 +02:00
Sven Eberhardt
54bac8fe2a
Modify enemy AI to allow easier overload of functions for custom scenario AI.
2014-05-31 20:18:56 +02:00
Sven Eberhardt
c3237e5310
Objects bought at flagpole do not fade out until first collection if fade out rule is active.
2014-05-31 18:33:18 +02:00
Maikel de Vries
160e45cb77
make gravestone non-lethal
...
and move to the corresponding rule, it does not belong to the clonk somehow.
2014-05-30 22:43:09 +02:00
Maikel de Vries
66d4a9bed8
fix thunderous skies boompack launching
2014-05-30 22:23:57 +02:00
Maikel de Vries
febc25990a
added hitpoints to flagpole
...
We need a way to destroy enemy bases after all.
2014-05-30 16:32:40 +02:00
Maikel de Vries
09a2033ec0
possibility to attach basement to existing structures
...
TODO: increased preview size and costs.
2014-05-30 15:18:25 +02:00
Maikel de Vries
acecebfdd6
improved knowledge for Krakatoa scenario
2014-05-30 10:17:04 +02:00
Maikel de Vries
7182acbd48
fixed structure energy bars
2014-05-30 10:17:03 +02:00
Maikel de Vries
bd8f66d470
fixed construction blocking for below surface structures
2014-05-30 10:17:03 +02:00
Sven Eberhardt
13499be402
Fix Sound() from deleted context when sword is deleted in strike callback
2014-05-29 18:57:40 +02:00
Günther Brammer
11b19a64e9
cmake: Link the execinfo library if necessary for execinfo.h
2014-05-28 03:54:58 +02:00
Günther Brammer
862aeba488
cmake: Use C++ compiler to check for vasprintf and iconv
2014-05-28 03:54:37 +02:00
Günther Brammer
f6b7001d0b
cmake: Use C++ compiler to check for X11/extensions/Xrandr.h and keysym.h
...
To do this, port the CHECK_INCLUDE_FILES macro from the CMake source to
C++. While at it, actually check for both headers instead of XLib.h alone.
2014-05-28 03:53:20 +02:00
Günther Brammer
b1292a3421
cmake: The netpuncher can use the Scheduler source files from libmisc
2014-05-28 03:38:11 +02:00
Günther Brammer
7c38154837
cmake: Use builtin support for .rc compilation on mingw
...
This requires CMake 2.8.4.
2014-05-28 03:38:11 +02:00
Günther Brammer
42602fc79a
Finish DEBUGREC compile option removal
...
Except for the DEBUGREC_RECRUITMENT option available in C4Include.h
2014-05-28 03:38:11 +02:00
Kevin Zheng
e129005b0e
Let CMake determine the location of the targets to install
2014-05-28 00:46:53 +02:00
Maikel de Vries
e73de734d1
added basement to worlds' player knowledge
2014-05-27 20:21:43 +02:00
Kevin Zheng
df523d502c
Fix typo in Crash.ocs scenario description
2014-05-27 00:31:40 +02:00
Kevin Zheng
6a1a551d01
Clean up deprecated headers and functions
...
"gdk_pixbuf_unref has been deprecated since version 2.0 and should not be
used in newly-written code. Use g_object_unref()."
sys/timeb.h isn't used anymore since 2005.
2014-05-27 00:30:20 +02:00
Maikel de Vries
0426ae7872
added basement as a structure
...
A feature to be added is that it automatically attaches to existing structures.
2014-05-26 22:23:47 +02:00
Maikel de Vries
6ba0164c5b
removed unnecessary defcore Value entries
...
Completely unneeded for structures and many other objects.
2014-05-26 21:38:32 +02:00
Maikel de Vries
66f8454b67
allow for constructing just below surface
...
Useful for basements and maybe also other structures in the future.
2014-05-26 21:28:07 +02:00
Günther Brammer
023f2dd5b0
Update dependencies list in the README
...
Also remove mention of PATH from windows installer section - CMake finds
makensis using the Registry when it isn't in the PATH.
2014-05-25 22:47:56 +02:00
Günther Brammer
38f6c1802b
Remove unused MSVC project files for tstc4netio and netpuncher
2014-05-25 22:47:56 +02:00
Günther Brammer
130a275dea
Correct a comment about GetDataString safety
2014-05-25 22:47:56 +02:00
Kevin Zheng
f76856ae97
Use the Linux paths for everything that isn't a Mac or Windows
...
Specifically, FreeBSD. Assuming something POSIX-like if there is no
specific code for the target OS is a good idea in general, though.
2014-05-25 22:47:56 +02:00
Julius Michaelis
e6d7d0e7eb
Add a few more things to the player knowledge in the settlement
...
tutorial.
2014-05-25 15:36:35 +02:00
Maikel de Vries
7737759ffb
fix ShuffleArray() function
2014-05-19 20:20:20 +02:00
Sven Eberhardt
6e8b6a8e74
Added center vertex to pipe head.
...
So it doesn't get stuck in places where it cannot pump from.
2014-05-18 22:06:30 +02:00
Sven Eberhardt
91c2d49d2a
Remember league login name and password token.
...
Also removed some CUID/Webcode authentification code from engine.
2014-05-18 15:10:00 +02:00
Sven Eberhardt
efcdf6fa68
Fix hanging network thread due to timing calculation errors in UDP network class.
...
GetNextTick() may sometimes return a tick in the past, which calculations need to consider.
This might also fix #1076 .
2014-05-18 13:41:47 +02:00
Sven Eberhardt
75a626efd2
Added Decoration.ocd to CMakeLists.
2014-05-12 09:26:42 +02:00
Günther Brammer
73c6931cfb
Give g++ 4.9 a chance to prove that it has working <regex>
...
The -std=gnu++0x-Flag was removed from the compiler flags before
testing the <regex> header, and so just re-confirmed that <regex>
didn't work in previous C++ standards.
2014-05-12 02:24:19 +02:00
Günther Brammer
3e7d0ba1ff
win32: Fix installer generation from MSVC
...
f897e95071
broke this by reusing the macro with the path to the binary
as the binary name, which doesn't work if the path contains directories.
Also, 0dcfe72148
moved the binaries, but the LOCATION property still
pointed to the old location. Luckily, CMake also has a non-broken option to
pass target file paths to custom commands.
2014-05-12 02:24:19 +02:00
Günther Brammer
b7a022852e
Revert "Move C4Aul code into separate subdirectory"
...
The distinction between the "aul" and "non-aul" parts of
the script engine are mostly historical accident, and the
current organization of the source code does not use
sub-subdirectories. I'd like to keep it that way.
This reverts commit 69ba06b8d0
.
2014-05-12 02:24:19 +02:00