Günther Brammer
8749395a18
Use Nillable<void>() instead of C4VNull as the always-nil return value
2011-03-03 00:57:38 +01:00
Günther Brammer
bdbe3beabf
Optimize the template engine script function wrappers slightly
2011-03-02 23:42:34 +01:00
Günther Brammer
e250312c26
Move C4DefList class into from C4Def.cpp/h to new C4DefList.cpp/h
2011-03-03 17:10:22 +01:00
Günther Brammer
ed86af5f29
Script: Proplists with Object prototypes are also Objects
2011-03-02 14:12:06 +01:00
Günther Brammer
46a946caff
win32: Cut unnecessary pages from the installer
2011-03-01 23:04:15 +01:00
David Dormagen
4f69ce5ac7
control functions fixed according to the docs
2011-02-27 18:56:11 +01:00
Richard Gerum
e55874e9b4
changed magic animation
2011-02-26 18:36:43 +01:00
Richard Gerum
225a3388c2
added magic animation for the clonk
2011-02-26 17:27:01 +01:00
Günther Brammer
f89d2807d9
win32: Only register the uninstaller with add/remove programs
...
Putting an "uninstall" entry into the start menu is redundant.
2011-02-26 16:37:51 +01:00
Günther Brammer
ae361c1dad
win32: Installer creates a startmenu shortcut that launches the editor
2011-02-26 16:36:39 +01:00
Günther Brammer
78c2c98dce
c4group: new command "Pack To" which takes a target filename
...
This allows creating packed groups in a build directory without copying
the source files first.
2011-03-01 22:56:05 +01:00
Günther Brammer
f4690a9ae7
autotools: Check for sys/file.h
2011-03-03 23:47:25 +01:00
Günther Brammer
5d1d53bcb6
autotools: add C4CrashHandlerWin32.cpp to the Makefile.am
2011-03-01 21:59:11 +01:00
Julius Michaelis
530a70f43c
Create a log file for each instance of clonk on UNIXes (cmake only)
2011-03-02 18:54:28 +01:00
Sven Eberhardt
37b630a472
load additional player control defs from definition local System.c4g files
...
adjust invalid video mode bit depth values
2011-03-02 18:13:43 +01:00
Sven Eberhardt
c6c3af0e1b
fix wrong video mode selection in ApplyResolutionConstraints()
2011-03-02 17:35:52 +01:00
Nicolas Hake
ff2ac49368
win32: Log human-readable crash info while writing minidump
...
The information that will be written to the logfile is the exception data,
processor control and GP registers (x86/x64), up to 512 bytes around the stack
pointer, a stack trace, and the list of loaded modules.
2011-03-01 13:28:13 +01:00
Günther Brammer
bb8696576e
Version 5.1.90 (5.2 Alpha)
2011-02-26 21:03:05 +01:00
Günther Brammer
7ce65373a3
Replace C4AList with some std::lists
2011-02-26 00:48:19 +01:00
Günther Brammer
5c18c7aa33
Reduce the time a C4String pointer sits in an integer variable
2011-02-22 00:07:08 +01:00
Günther Brammer
a13309d752
Separate builtin C4Strings from dynamic ones in the leaked-strings-list
2011-02-25 18:11:54 +01:00
Günther Brammer
3a3434fc95
Script: Remove some unnecessary inspections of callers of builtin functions
2011-02-23 21:06:14 +01:00
Günther Brammer
05381a63a9
Script: Drop third AddMsgBoardCmd parameter, always escape the input
...
There is no reason for the engine to preprocess the input for the script.
AddMsgBoardCmd doesn't enable anyone to do anything they couldn't do
without it, so there's no security problem that is solved by extra input
filtering, as long as all scripts use "%s" instead of plain %s.
2011-02-23 20:00:50 +01:00
Günther Brammer
0bad4b7f59
Script: Parse negative numbers in nested constant expressions
...
Previously, local foo = [-1]; would complain about an unexpected '-'
operator.
2011-02-19 22:37:42 +01:00
Günther Brammer
b9cf00d824
Script: obj->~foo() cannot have whitespace between -> and ~ anymore
...
This slightly simplifies the parser, as ->~ is now one token and ~ does not
double as binary not and call failsafety indicator.
2011-02-19 22:18:27 +01:00
Günther Brammer
16511790a9
Script: Do not disguise '.' and '=' as unrecognized tokens
2011-02-25 18:12:36 +01:00
Günther Brammer
f3af290c26
objects: Use Planes to separate objects before and behind the landscape
...
Instead of maintaining an extra object list just for the objects behind the
landscape.
2011-02-19 00:44:54 +01:00
Günther Brammer
a63851592c
docs: Plane and Parallaxity
2011-02-18 23:37:13 +01:00
Maikel de Vries
637e69b8da
C4ObjectCom: Removed obsolete Object*Build
2011-02-20 21:02:51 +01:00
Maikel de Vries
78ce3da206
C4Def: Removed unused entries NoSell and Rebuy and adapted Library_Base
...
These are implemented in C4Script and have no function in the engine, also fixed var a; a++;
2011-02-20 20:59:50 +01:00
Maikel de Vries
1ac17be41a
Objects: Fix hammer such that buildings can be build again
...
This is not an optimal solution but it will do for now.
2011-02-19 00:09:26 +01:00
Maikel de Vries
07f51a5cb3
Objects: Prevent clonk from swimming in solids
2011-02-19 00:08:29 +01:00
Günther Brammer
39276c6fd1
Check all pointers to PropLists in c4values in debug engines
...
This can find some refcounting errors by verifying that the proplist did
not get deleted before it is used.
2011-02-06 22:30:31 +01:00
Maikel de Vries
edbf5519c3
Objects: Added resource extraction goal
2011-02-06 18:25:34 +01:00
Julius Michaelis
1988ec6e8d
docs: Removed orphaned ObjectCall-Funclinks.
2011-02-17 12:08:57 +01:00
Maikel de Vries
886baebaf1
Script: Fixed SetGraphics for non specified source definition
2011-02-16 16:58:43 +01:00
MimmoO
6f822fad71
Scorched Gardens: fix losing all items on death
2011-02-15 18:55:21 +01:00
Günther Brammer
75dc49e746
Replace Objects.ObjectNumber with C4PropListNumbered::CheckPropList
...
There's no need to go through the entire object list to get an object
number, so convert most usages of ObjectNumber(obj) with obj->Number. Add a
new method to check proplist pointers for debugging purposes to
C4PropListNumbered.
2011-02-06 01:59:49 +01:00
Günther Brammer
a7615ddced
Make C4PropListNumbered global data static members of the class
...
Previously, this was in ::Game and ::Objects. Both classes still work on
that data, but not as much as before.
2011-03-05 03:32:51 +01:00
Günther Brammer
f4ee636072
Remove some redundant Default methods
...
Using the same method for the constructing and clearing an instance just
leads to leaks and subtle bugs.
2011-03-05 03:24:11 +01:00
Günther Brammer
01e9dce9ce
Store C4ComponentHost filenames in StdCopyStrBufs
2011-03-05 02:45:27 +01:00
Günther Brammer
8ff6ae847c
C4Group::LoadEntry takes pointer instead of non-const reference
2011-03-05 02:44:26 +01:00
Günther Brammer
28a154dcdf
Drop unused third C4LangStringTable::ReplaceStrings parameter
2011-03-05 01:05:36 +01:00
Günther Brammer
609b9bbe93
Fold C4ComponentHost::Default() into C4ComponentHost::C4ComponentHost()
2011-03-05 01:03:09 +01:00
Günther Brammer
6eebaeaac8
Fold C4AulScript::Default() into C4AulScript::C4AulScript()
2011-03-04 15:20:21 +01:00
Günther Brammer
60dcd65708
Languages.GetPackGroup creates a new GroupSet containing the original group
...
Just moves some code from C4ComponentHost to C4Language.
2011-02-07 03:37:35 +01:00
Martin Plicht
b82c8dc59e
cocoa: Fix compilation
2011-02-05 21:35:18 +01:00
Martin Plicht
9ff63b25d7
editor: cocoa: Enable/Disable some more user interface controls when game running/closed
2011-01-29 09:05:04 +01:00
Martin Plicht
6d711b1fe4
editor:cocoa: Fix viewport scrollbars when zoomed
2011-02-15 12:45:55 +01:00
Martin Plicht
b7a542089b
cocoa: Don't update opengl context in drawRect:
2011-01-26 17:11:02 +01:00