Günther Brammer
81d64df737
Do not use Windows' RGB macros for BGR colors
2011-03-11 03:37:27 +01:00
Nicolas Hake
a98f2b928b
CMakeLists: Delay STATIC_ASSERT compile test until CXXFLAGS are determined
2011-03-10 22:49:33 +01:00
Julius Michaelis
0d804cad50
Workaround a jpeglib 6b weirdness
2011-03-09 00:01:27 +01:00
Nicolas Hake
894fefa8c9
Remove unconditional infinite loop in C4GameObjects
2011-03-08 17:54:12 +01:00
Nicolas Hake
b332e73ba3
C4Group: Fix FindNextEntry
...
The char* parametered FindNextEntry didn't pass the last found
filename to its implementation, so it always found the first file
matching the wildcard
2011-03-08 17:53:30 +01:00
Günther Brammer
6df452c5e9
Merge c4script-standalone branch
2011-03-07 21:42:59 +01:00
Günther Brammer
c009851ce2
Script: Remove unused category parameter from GetDefinition
...
While at it, also remove it from the internal function and a bunch of dead
code from C4IDList.
2011-03-07 21:26:56 +01:00
Julius Michaelis
98757cb488
Added c4script standalone to CMakeLists
2011-03-07 20:53:13 +01:00
David Dormagen
999c349e00
Merge
2011-03-06 17:01:12 +01:00
David Dormagen
04ff0889c8
Backed out changeset: 8558ab59caf6
2011-03-06 16:59:58 +01:00
Martin Plicht
df7a7e44e3
mac: readme: Remove NoNetwork notes, complete dependency list, add X11 to prerequisite list
2011-03-06 00:32:22 +01:00
Martin Plicht
48e26fffb3
mac: osx_bundle_libs.sh: Bundle libraries from other places than /usr/local/lib as well
2011-03-06 00:00:04 +01:00
Martin Plicht
7128695801
mac: Update README.mac.txt a bit
2011-03-05 23:17:40 +01:00
Günther Brammer
8323f6c01d
Add a standalone C4Script interpreter
2011-03-05 17:40:22 +01:00
Günther Brammer
89413fcd6e
Move some code out of C4ScriptHost.cpp
2011-03-05 17:36:16 +01:00
Günther Brammer
de626b18aa
Script: Only show error messages in the Log
2011-03-05 16:50:22 +01:00
Julius Michaelis
adcd954605
Remove GetSystemTime from the docs
2011-03-05 16:06:01 +01:00
Julius Michaelis
98717a4051
C4Script: Remove obsolete function GetSystemTime
2011-03-05 14:25:37 +01:00
Günther Brammer
374d8e743b
C4Group: Error message for Open failing due to filename on the ignorelist
2011-03-04 03:49:39 +01:00
Günther Brammer
111df0392c
Split C4Script.cpp into game functions and C4Script support functions
2011-03-04 13:49:41 +01:00
Nicolas Hake
d82815087e
win32/g++: Silence some format warnings
2011-03-04 00:40:17 +01:00
Nicolas Hake
73ec989261
win32: Avoid build error when using old SDK headers
2011-03-04 00:08:11 +01:00
Nicolas Hake
0800b3a209
StdBuf: change member order to silence g++ warnings
2011-03-04 00:02:43 +01:00
Günther Brammer
60ce34ad52
Remove redundant global pConfig
2011-03-03 17:11:03 +01:00
Günther Brammer
264009060c
Script: Remove Method from function descs
2011-03-03 02:25:01 +01:00
Günther Brammer
45620c2b85
Move some C4AulDebug code into C4AulDebug
2011-03-03 00:58:43 +01:00
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