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
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
Günther Brammer
5acda62b71
Do not initialize ::GameScript from ::Game
...
In case Game was constructed first, this could crash.
2011-01-19 02:13:51 +01:00
Günther Brammer
6d3feabe69
Reduce #includes so that C4Include.h doesn't include C4Value.h
...
This should avoid many complete rebuilds.
2011-01-08 17:04:20 +01:00
Günther Brammer
4e75f2a134
Merge Plane branch
...
Conflicts:
src/C4Game.cpp
src/C4Game.h
2011-01-08 17:39:59 +01:00
Armin Burgmeier
7c26fc4d8d
Cleanup: Remove unused C4Game::LocalFileMatch
2010-12-30 17:51:21 +01:00
Günther Brammer
241869b1e6
objects: Replace the sorting functionality of Categories with a Plane property
...
This makes changing the drawing order a lot easier.
2010-12-27 20:15:55 +01:00
Günther Brammer
2c69baeb26
Script: Remove BlastObjects in favour of the script implementation
2011-01-02 22:17:51 +01:00
Günther Brammer
eab445f806
Script: Remove ShakeObjects
...
The script replacement is a little awkward, but will hopefully get better.
2011-01-02 21:14:30 +01:00
Günther Brammer
c9f8a695be
objects: Structures do not automatically remove snow and flyashes
...
Besides yet another category hack, this allow the removal of two out of
seven hardcoded material names.
2011-01-02 02:16:26 +01:00
Günther Brammer
be342d4a51
copyright notices update 2010
...
This time with more manual checking and using git blame -M -C, so that
a few cases of copied code get a copyright notice corresponding to
their initial introduction.
2010-12-23 01:01:24 +01:00
Maikel de Vries
53e507d2c5
Engine: Removed Power system including all components
...
Removed power lines, power connects, energy rule, power OCFs, Energy command, C4Script CheckEnergyNeedChain and EnergyCheck, Action EnergyUsage and documentation.
2010-12-15 21:02:50 +01:00
Günther Brammer
7f899cc1b0
Make AssignRemoval a C4Object-only-feature, C4PropLists don't need it
2010-10-30 00:05:36 +02:00
Günther Brammer
16609432cb
Remove Regjoinonly flag, unregistered users can now join all games
...
The commandline option already went away anyway.
2010-10-04 18:07:46 +02:00
Günther Brammer
9bf3288c77
Rewrite ParseCommandLine to work on argc/argv instead of a single string
...
Using the standard utility function on windows to split the line and the
operating system provided argc/argv on the others.
Also move the function to C4Application. It's not a huge win because the
flags are spread out between C4Game and C4Application pretty evenly, but
eventually most of them should move to a more appropriate place.
2010-10-04 21:39:19 +02:00
Günther Brammer
93a1e82907
Split out viewport stuff from C4GraphicsSystem to a new C4ViewportList
2010-09-29 03:44:05 +02:00
Maikel de Vries
32993624c0
C4Id: Removed some deprecated defitions
...
These are not used anymore in openclonk, if there is any need for the functionalitiy at all, it can be implemented in C4Script. To remove the other definitions some more work is required.
2011-01-06 18:12:34 +01:00
Günther Brammer
c0ce4d613b
Make the startup progress bar more accurate
...
This should also simplify the startup code a bit. Not enough,
but it's a start.
2010-06-27 02:42:48 +02:00
Günther Brammer
08b4858bd9
Fonts: Move the FontLoader into the global namespace
...
This speeds up recompilation when C4Fonts.h changes.
2010-06-27 02:21:23 +02:00
Nicolas Hake
e27ecd59b5
Rename FIXED to C4Real
...
There's already a typedef struct _FIXED FIXED; in wingdi.h, which conflicts
with the definition of FIXED in OpenClonk.
2010-05-04 17:35:18 +02:00
Benjamin Herr
27287b981f
Reformat everything according to style guidelines
...
as per http://forum.openclonk.org/topic_show.pl?tid=208
and http://wiki.openclonk.org/w/Style_Guidelines
via astyle
--brackets=break
--indent=tab=2
--keep-one-line-statements
--keep-one-line-blocks
--indent-namespaces
--convert-tabs
--recursive
--exclude=zlib
--exclude=tinyxml
src/\*.h src/*.cpp
2010-03-28 19:58:21 +02:00
Günther Brammer
b4e37b070b
Change all indentation with spaces to use tabs instead
...
This is a whitespace-only patch. Hopefully, it'll only affect rarely-changed
parts of the engine, since all regularly maintained pieces should already
use tabs.
2010-03-27 17:05:02 +01:00
Martin Plicht
a6a12309e9
Merge with debug
2010-02-24 17:30:32 +01:00
Sven Eberhardt
25e5279c0d
implement gamepad axis strength parameter in player controls
...
lowered axis threshold to 20%
2010-02-23 17:53:38 +01:00
Martin Plicht
f1b615e7ec
Merge default into debug
2010-01-13 18:07:58 +01:00
Armin Burgmeier
fb95c3af2e
Merge mesh into default
2010-01-04 01:10:31 +01:00
Sven Eberhardt
6ee52433b2
killed most of internal mouse control
...
fixed mouse selection category
2009-10-16 23:07:43 +02:00
Richard Gerum
0dac409510
merged default into mesh
2009-10-14 16:42:23 +02:00
Tobias Zwick
f584896446
merge
2009-10-08 20:51:31 +02:00
Armin Burgmeier
778ec7278f
Merged default into mesh
2009-09-19 13:13:10 -04:00
Günther Brammer
9e2564a4c3
C4Object: Remove Base functionality
...
The various effects being a base had are now handled by script.
2009-09-03 22:27:23 +02:00
Armin Burgmeier
4fa029df2c
Merged default into mesh
2009-08-27 21:35:55 -04:00
Armin Burgmeier
e2c68254a5
Added includes and forward declarations to headers
...
So that they can be included individually
2009-09-21 00:01:55 -04:00
Günther Brammer
9a8b5dd739
Replace BOOL by bool, TRUE by true, FALSE by false
2009-08-15 20:50:32 +02:00
Sven Eberhardt
df6010a148
merge
2009-08-12 17:27:43 +02:00
Günther Brammer
572d00c32e
Move all source files
...
This might make stuff easier to find.
2009-08-10 17:59:18 +02:00