Commit Graph

7173 Commits (Controls)
 

Author SHA1 Message Date
Nicolas Hake 643eb5ee8c Fixed invalid UTF-8 sequence in LangDE 2009-07-03 02:31:06 +02:00
Nicolas Hake 8065c40ce3 Check for valid resolution on startup
If the configuration file specifies a resolution the driver doesn't support,
choose one with a similar area. This resolves issue #16.
2009-07-03 02:20:28 +02:00
Nicolas Hake 8466407a60 Updated CMakeLists to work with precompiled dependencies 2009-07-01 22:25:45 +02:00
Günther Brammer c1d3fbea02 Work around static initialization order fiasco
The C4Game::Default function should eventually be removed.
2009-06-30 22:55:06 +02:00
Günther Brammer fbac806cc5 Merge branch 'cleanups' into default branch 2009-06-28 23:05:32 +02:00
Günther Brammer e65f337dfd Reject Language**.txt with a non-UTF-8 charset
This allows some simplifications:
- CStdFont does not have to convert to Unicode for Freetype
- the developer mode does not have to convert to Unicode for GTK+
- The EnsureUnicode function can be called unconditionally

This also switches the IRC charset fixup code to convert to UTF-8, not from
UTF-8.
2009-06-28 22:53:32 +02:00
Nicolas Hake 3c448e6798 Engine name changed to "OpenClonk" 2009-06-21 14:33:41 +02:00
Günther Brammer 1ce653fd40 unifdef C4GROUP and C4FRONTEND
The frontend is dead anyway, and c4group doesn't even use the affected
files. Except C4Update, where I replaced a printf with ::Log.
2009-06-17 22:07:52 +02:00
Günther Brammer 09a7f4cd07 unifdef C4ENGINE 2009-06-17 21:22:10 +02:00
Günther Brammer 6ff9c8c48a C4Group: Do not use C4Config
This disables writing the maker name into the group. But this bit of meta
data will be lost anyway when we move to ZIPs.

The temp directory and registration check bits are unnecessary, anyway.
2009-06-17 21:45:41 +02:00
Günther Brammer fb249aafcd Move GUI code from C4InputValidation to C4GonfigShareware
That way, C4InputValidation can be used by C4Group as is.
2009-06-17 21:43:13 +02:00
Günther Brammer 7fe7e557e0 Let C4ConfigNetwork check for ports collisions instead of C4Network2
I also wanted to move the default port definitions to C4Config, but not all
are user configurable, so I left them where they are for now. The code is
still better with this change.
2009-06-17 21:41:55 +02:00
Sven Eberhardt f34c2d79bc Moving controls to script: Dig + Throw 2009-06-15 22:48:53 -04:00
Sven Eberhardt 943b47ebd5 Moving controls to script: Clonk movement 2009-06-15 20:38:39 -04:00
Günther Brammer c901530ee1 Move Game.Control to ::Control 2009-06-16 00:06:37 +02:00
Günther Brammer 078a0ca9e4 Move Game.Objects to ::Objects
Also move Game.{Back|Fore}Objects to ::Objects.{Back|Fore}Objects and clean
up DeleteObjects.
2009-06-15 23:47:26 +02:00
Günther Brammer c6dee6d7c8 Move Game.Players to ::Players 2009-06-13 01:09:32 +02:00
Günther Brammer b0ceb97f5a Automake: Remove subdir-objects to significantly speed up compile time 2009-06-12 20:53:12 +02:00
Günther Brammer 009cfc9e7b Remove C4Wrappers and put most functions in relevant headers
This also removes the TickXXX #defines and moves the lookup of predefined
materials to C4Material.
2009-06-12 20:52:21 +02:00
Günther Brammer 46d0d93dfc Move Game.Weather to ::Weather 2009-06-11 21:59:35 +02:00
Sven Eberhardt 3dcf0de818 merge 2009-06-09 19:38:21 -04:00
Sven Eberhardt f6fadb300d Moving controls to script... 2009-06-09 19:29:16 -04:00
Sven Eberhardt 22d689d560 Moving controls to script: Docs 2009-06-09 00:29:55 -04:00
Günther Brammer 18167243b2 Make CreateDirectory create directories recursively 2009-06-06 17:20:17 +02:00
Günther Brammer 4d047ed20f Move Game.Material to ::MaterialMap 2009-06-05 20:46:03 +02:00
Günther Brammer 31e27e91f5 Move Game.Messages to ::Messages 2009-06-05 20:12:43 +02:00
Günther Brammer 6e4df10454 Header reorganisation
Lots of #includes are moved from C4Game.h to the files that actually need
them
2009-06-05 20:00:23 +02:00
Günther Brammer ad3c2509ca X11: Stop including X11 headers from Clonk headers
X11 headers #define common symbols like Status and Success, which leads to
very puzzling error messages when included from random Clonk code
2009-06-05 19:57:37 +02:00
Günther Brammer 760df013ba Move Game.pGUI to ::pGUI 2009-06-05 18:53:56 +02:00
Günther Brammer 96080bd839 Move Game.Defs to ::Definitions 2009-06-05 18:46:37 +02:00
Günther Brammer a05e53c1bc Move Game.Particles to ::Particles 2009-06-05 17:22:28 +02:00
Günther Brammer fb48b275be Move Game.MassMover to ::MassMover 2009-06-05 17:21:28 +02:00
Günther Brammer 0cbfee4e4a Move Game.ScriptEngine to ::ScriptEngine 2009-06-05 17:21:11 +02:00
Günther Brammer 33eb6079ab Move Game.Landscape to ::Landscape 2009-06-05 17:20:41 +02:00
Günther Brammer ca62729fa4 Move Game.PXS to ::PXS 2009-06-05 17:20:27 +02:00
Günther Brammer ab69802140 Move Game.MouseControl to MouseControl 2009-06-05 17:20:07 +02:00
Günther Brammer fa05c07d5c Move Game.Network to ::Network 2009-06-05 17:19:46 +02:00
Günther Brammer 724f81724d Move Game.GraphicsResource to ::GraphicsResource 2009-06-05 17:19:15 +02:00
Günther Brammer a82a4470bd Move Game.MessageInput to ::MessageInput 2009-06-05 17:18:45 +02:00
Günther Brammer ad779a0dc1 Move Game.GraphicsSystem to ::GraphicsSystem 2009-06-05 17:14:20 +02:00
Günther Brammer a0bbab441f Move Game.Rank to ::DefaultRanks 2009-06-05 17:13:33 +02:00
Günther Brammer 25639bc659 Move Game.TextureMap to TextureMap 2009-06-05 17:09:54 +02:00
Günther Brammer 08957a3b9a Add copyright notices
These are automatically generated from the old redwolf design repository.
They are probably somewhat inaccurate.
2009-06-05 15:41:20 +02:00
Günther Brammer d84cdd5e71 Remove even more shareware restrictions 2009-06-05 15:46:13 +02:00
Günther Brammer a2ea3aaaff Unix: Fix creation of executable files 2009-06-04 12:43:38 +02:00
Günther Brammer d7de58b7ad OpenGL/D3D: Remove some remains from the DirectDraw days
Mostly error messages, debug output and function names, but still.
2009-06-03 01:59:04 +02:00
Günther Brammer 8da93e68dd OpenGL/D3D: Remove StoreStateBlock API for good
It didn't do anything with OpenGL and was too slow with D3D9. Any D3D bugs
will have to be fixed some other way, probably by setting up the needed
state anew.
2009-06-03 01:38:01 +02:00
Günther Brammer 3789678196 OpenGL: Draw lines zoomed and smooth
The lines are now drawn as a quad with a two pixel texture.
2009-05-31 02:20:36 +02:00
Günther Brammer 4265a8f513 OpenGL: Remove code duplication 2009-05-31 02:10:57 +02:00
Günther Brammer 55bda98558 OpenGL: Remove duplication and Direct3d stuff 2009-05-31 02:09:15 +02:00