Commit Graph

6279 Commits (d60c74c6b6805b8380d9f967298b516a3f886fe1)
 

Author SHA1 Message Date
Armin Burgmeier 19471b568d Fixed Glib mainloop integration 2009-04-26 01:13:40 +02:00
Nicolas Hake 5e5184458c Engine: Removed OSTR 2009-05-11 15:09:53 +02:00
Peter Wortmann cbdbbed62a ! Fixed all 'trivial' errors in XCode project file. Now obviously needs dependencies like everybody else, though. SDL Application still waiting for a StdScheduler-based implementation... 2009-05-10 19:53:52 +02:00
Nicolas Hake 459ed276f7 MSVC: Changed library dependency to correct RTL 2009-05-10 19:19:47 +02:00
Nicolas Hake 2a072e47f2 MSVC: Removed editor references from projects 2009-05-10 19:17:43 +02:00
Nicolas Hake 979a5362a7 Removed Logo due to trademark concerns 2009-05-10 16:54:46 +02:00
Nicolas Hake 6c9f0f0a7b MSVC: Remove MFC dependency so build (hopefully) works on Express editions now 2009-05-10 12:28:15 +02:00
Nicolas Hake f45f36e2e2 MSVC: Change EOLs in solution so MSVC shell extension recognizes it 2009-05-10 12:20:21 +02:00
Günther Brammer aab74094a4 configure: default to no sound on win32
Later this should be replaced by a check for fmod or sdl_mixer.
This also fixes glew and sdl_mainloop detection.
2009-05-10 01:39:04 +02:00
Nicolas Hake 64c5c34cb8 Make c4group build again 2009-05-09 22:13:24 +02:00
Nicolas Hake 4b37749a62 StdBuf: Disable const copy ctor on compilers not supporting rvalue references
Otherwise, MSVC chooses the const ctor and loses underlying memory.
This might be a good time to drop StdBuf and use std::string instead.
2009-05-09 21:13:07 +02:00
Nicolas Hake e1f5e3da72 Added .hgignore 2009-05-09 18:39:48 +02:00
Günther Brammer a973682315 snow and ice textures
committer: Günther Brammer <gbrammer@gmx.de>
2009-05-09 17:19:50 +02:00
Günther Brammer ba3b256da1 Flip the main screen layout to further distinguish it from CR
committer: Günther Brammer <gbrammer@gmx.de>
2009-05-09 17:19:50 +02:00
Günther Brammer 67bab6723d Initial set of game data
This mainly consists of old Clonk Rage stuff, with some placeholders
and new material textures.

committer: Günther Brammer <gbrammer@gmx.de>
2009-05-09 17:19:46 +02:00
Günther Brammer 925fa5a3bd Remove hardcoded texture names
committer: Günther Brammer <gbrammer@gmx.de>
2009-05-09 17:08:10 +02:00
Günther Brammer 6db4f8e5b3 Only one texture per material
committer: Günther Brammer <gbrammer@gmx.de>
2009-05-09 17:08:10 +02:00
Günther Brammer 6f18e7250c Load JPEG landscape textures
committer: Günther Brammer <gbrammer@gmx.de>
2009-05-09 17:08:10 +02:00
Günther Brammer 955422b6ee Remove three color landscape textures
committer: Günther Brammer <gbrammer@gmx.de>
2009-05-09 17:08:10 +02:00
Günther Brammer 0c89b5b35e Warn about obj->C4ID::function, it does not work anymore
committer: Günther Brammer <gbrammer@gmx.de>
2009-05-09 15:18:50 +02:00
Günther Brammer f370a2198a Script: Put function name instead of function in the bytecode
The function name is used to look up the function at run time for some time
now.

committer: Günther Brammer <gbrammer@gmx.de>
2009-05-09 15:17:24 +02:00
Günther Brammer 675da642c3 Add Clonk Rage developer documentation
committer: Günther Brammer <gbrammer@gmx.de>
2009-05-09 15:11:51 +02:00
Günther Brammer 7e1fdec156 Make C4Language::Iconv not crash on NULL input
committer: Günther Brammer <gbrammer@gmx.de>
2009-05-09 14:37:37 +02:00
Günther Brammer d6cd92c988 Cleanups
committer: Günther Brammer <gbrammer@gmx.de>
2009-05-09 14:37:37 +02:00
Günther Brammer 9e08426f65 Remove most shareware restrictions
One can now start the developer mode and every scenario without
a registration, but the game still complains about not being registered.

committer: Günther Brammer <gbrammer@gmx.de>
2009-05-09 14:37:20 +02:00
Günther Brammer 77dabef7c7 Fix crash when building with g++ 4.3 or newer
This adds a true copy constructor to StdBuf and StdStrBuf.
Unfortunately, this constructor is sometimes prefered to the
move constructor when it wasn't with older compilers, always
referencing the original instead of copying makes the engine
crash, and omitting the copy constructor just creates an
implicit one which also causes crashes.
2009-05-09 03:29:28 +02:00
Nicolas Hake e6d1eca02e #- Remove unused files StdBitmap.{cpp,h} 2009-05-08 20:20:35 +02:00
Günther Brammer 43f2e17bb5 Linux: Update build instructions 2009-05-08 22:10:04 +02:00
Günther Brammer 61fa13f979 Linux: Update dependencies list 2009-05-08 21:56:56 +02:00
Günther Brammer cada2e8537 X11: Use background_pixel instead of background_pixmap to workaround a BadMatch error 2009-05-08 21:49:37 +02:00
Günther Brammer 145e647df1 Make ForEachFile not crash
It still does not work with wildcards, but does nothing in that case now.
2009-05-08 21:06:50 +02:00
Günther Brammer 4f811263fb Update autotools build to not require library copies 2009-05-08 20:56:43 +02:00
Günther Brammer f2be73cff8 Remove generated files.
Use autoreconf -i to get them back.
2009-05-08 19:23:57 +02:00
Nicolas Hake 9e6814ed9e #* Prepare project for prebuild dependencies 2009-05-08 19:04:28 +02:00
Nicolas Hake 0f050f0343 Import source 2009-05-08 15:28:41 +02:00
Günther Brammer 4b022c0a45 Give PropLists an ObjectNumber 2009-04-19 23:33:42 +02:00
Günther Brammer 64c7be0429 Garbage collect unused proplists to avoid memory leaks 2009-05-20 00:37:14 +02:00
Günther Brammer 07b58d88f3 Move some stuff to C4GameObjects 2009-04-19 00:23:58 +02:00
Günther Brammer cb1e6e6a5c Add a PropList set to C4GameObjects to keep track of all proplists
Also remove C4EnumPointer2. It was only used for C4Player object pointers,
which only need an offset, not a range.
2009-04-18 02:46:19 +02:00
Günther Brammer abe1bad6bd Add a global variable holding a prototype for actions
Either the engine or the script part of this should be replaced later.
2009-04-28 21:45:42 +02:00
Günther Brammer c86532ea6f Script to convert Clonk Rage objects to the new format
Currently converts Names.txt, ActMap.txt and Collectible to properties.
2009-05-20 00:36:08 +02:00
Günther Brammer c420a3bf3b C4Value does not store C4IDs anymore
Instead, C4IDs are converted from/to C4PropLists. This will have to change,
of course.

Objects can be created from prototypes which only inherit from C4Def
2009-04-12 14:04:28 +02:00
Günther Brammer b9f398b111 Replace C4ActionDef with C4PropList
C4Object now stores a pointer to a C4PropList instead of the Name and Number
of a C4ActionDef in the ActMap of the Object's definition.
2009-04-12 14:03:14 +02:00
Günther Brammer 427a2f2346 Collectible as a property 2009-04-11 16:38:31 +02:00
Günther Brammer 0898288a87 Merge C4DefCore and C4Def
The DefCore was only used by the editor and to get an id from a filename
for the drag and drop code. The former is dead, the latter does not need
the separation.
2009-05-20 00:34:13 +02:00
Günther Brammer 79f8d5496a Add CreatePropList script function
Is this needed?
2009-05-20 00:32:01 +02:00
Günther Brammer bf839b9a66 Call Definition in every definition at start
This is mainly intended to fill the proplist of the definition and replace
the defcore, but other one time initialisation could also be done at that
point.
2009-05-20 00:30:49 +02:00
Günther Brammer 1964e442f1 Add C4PropList literals
The syntax is { Key: value, "Key2": value2 , Key3 = value3 }
We might want to drop : or = later.
2009-04-12 02:56:41 +02:00
Günther Brammer 9a9a7fec62 Make C4Object::Name a property
Every proplist can have a name, so move the code there.
2009-04-03 21:06:29 +02:00
Günther Brammer c4b68c771d Move ::Game.ScriptEngine.Strings to ::Strings
This saves some typing and better reflects the role of the object:
It's no longer the list of strings that has to be saved in the savegame,
but is only used to ensure that no string is duplicated.
2009-04-03 23:53:48 +02:00