Commit Graph

5007 Commits (3b73955e6f773827ac65a62c2bc4945983318fe7)
 

Author SHA1 Message Date
Sven Eberhardt 3b73955e6f Experimental EvilCastle Horax moar stronk! 2013-01-27 18:40:45 +01:00
David Dormagen 6395e77e6a added remaining files for Rule_EnergyBarsAboveStructures 2013-01-27 18:24:45 +01:00
Sven Eberhardt 82cf8a0892 Experimental EvilCastle: Mushroom poison improvement. Upside-down shrooms now work as well! 2013-01-27 18:06:23 +01:00
Sven Eberhardt c87a40f28d Placeholder graphics for EnergyBarsAboveStructures
Zapper: Please commit yours! At the moment, the engine spits out tons of errors for every structure.
2013-01-27 17:22:46 +01:00
Sven Eberhardt 0b5e5cd020 AI test scenario 2013-01-27 17:21:30 +01:00
Sven Eberhardt 237e44034b Experimental Enemy AI: Evasion and shield usage. EvilCastle: EnergyBars 2013-01-27 17:17:55 +01:00
Sven Eberhardt b44466729a Experimental EvilCastle: Some more textures for castle materials 2013-01-26 23:39:14 +01:00
Sven Eberhardt 63a34ab9ba Experimental: Lots of small improvements on EvilCastle and EnemyAI.
EnemyAI:
* Try to avoid shooting allies standing between AI and target. Jump to get free path.
* Fix some cases of AI stuck in wall scaling action
* Ranged enemies face their targets when they shoot
* Catapult handling: If catapult is empty, let go and attack with melee weapon
* Change ranged targets if current is unreachable
* Encounter callbacks to game script and ally wakeup

EvilCastle:
* Lock player view (Prohibit mouse scrolling)
* Encounter messages for some enemies
* Enemy aggro ranges tweaked
* Some landscape reworks
* Icon changed
2013-01-26 17:24:48 +01:00
David Dormagen 990b8efc90 tools: added python script to extract functions from the docs for the C4Highlight MediaWiki plugin 2013-01-25 00:19:39 +01:00
Günther Brammer 9d34c4e30d gtk: Make the window fullscreen even when not changing the resolution 2013-01-24 19:36:59 +01:00
Günther Brammer 1e67a6fb24 Fix missing mouse cursor in fullscreen without resolution change
The mouse cursor was about the only thing affected by fZoom, and fZoom
should have been always 1 at the moment anyway.
2013-01-24 19:36:59 +01:00
Günther Brammer db81cf193d gtk: Bump minimum required versions to the oldest versions we test with 2013-01-24 19:36:59 +01:00
Günther Brammer a62e556b63 Script: Reimplement GameCall in C4Script 2013-01-23 21:36:21 +01:00
Günther Brammer f38670abc3 Script: Functions can shadow global variables
Previously, declaring a global variable could break another script that had
a function with the same name.
2013-01-23 21:36:21 +01:00
Günther Brammer 42608c5209 Remove C4DirectExecScript, use an existing scripthost for the eval function
Since the scripthost isn't used to store the bytecode anymore,
Parse_Expression doesn't modify it anymore. So there is no need for a
temporary one.
2013-01-23 21:36:21 +01:00
Günther Brammer 57c01ac537 Rename C4AulParse::a to C4AulParse::Host and add C4AulParse::Engine
C4AulParse::Host is now only used for local variables and named functions.

Global directexec functions have neither, so they won't need a scripthost
at all anymore.
2013-01-23 21:36:21 +01:00
David Dormagen 50fd0ebc39 added Rule_EnergyBarsAboveStructures and adjusted Krakatoa to use that 2013-01-22 18:44:29 +01:00
David Dormagen 8970913fc7 added System.ocg/EnergyBar.c which provides AddEnergyBar() to show an energy bar over any object, adjusted Tutorial04 to use that 2013-01-22 18:44:29 +01:00
David Dormagen ddeb338dc9 added progress bar style: GUI_ShadedSimpleProgressBar which looks like the currently used HP bar 2013-01-22 18:44:28 +01:00
Armin Burgmeier 682e315ea1 mape: Fix an endless loop when enumerating available drives on Windows 2013-01-22 00:28:42 +01:00
Armin Burgmeier 0d4703e6a8 mape: Change "close window" shortcut from alt+F4 to ctrl+q
Alt+F4 will be caught by the window manager and close the program as
well.
2013-01-20 23:56:00 +01:00
Armin Burgmeier 2dcd26521d mape: Fix directory listing for directories with non-readable files 2013-01-20 22:28:30 +01:00
Nicolas Hake 8a9926ccc4 CMake: Ensure compatibility with cmake <2.8.6 2013-01-20 22:10:26 +01:00
Nicolas Hake 6bb595f842 CMake: Use GTK+ cflags as reported by pkg-config
Ignoring CFLAGS/LDFLAGS makes GTK+ not work correctly
if the libraries are compiled with -mms-bitfields (as
is the case with the prebuilt binaries from gnome.org).
2013-01-20 21:53:56 +01:00
Günther Brammer 211634cf15 mape: Even more windows fixes 2013-01-20 20:36:51 +01:00
Günther Brammer 414cb8a4c7 gtk: GDK_KEY_* constants require at least GTK+ 2.21.8 2013-01-20 18:41:07 +01:00
Günther Brammer bf12980ccb mape: Further windows compilation fix 2013-01-20 18:39:56 +01:00
Günther Brammer cd19aff059 mape: Correct openclonk file extensions some more 2013-01-20 17:54:27 +01:00
Günther Brammer 78c39530a2 mape: Make group.c compile on windows 2013-01-20 17:53:52 +01:00
Günther Brammer 7dade553e8 Remove unused clonk.anjuta 2013-01-20 17:25:02 +01:00
Günther Brammer 019ea36ee9 Remove unused C4Object::GetActionByName 2013-01-20 17:25:02 +01:00
Sven Eberhardt 1ed3e9d648 Experimental EvilCastle now has a goal! 2013-01-20 17:12:07 +01:00
Sven Eberhardt 34831fd821 Experimental EvilCastle: Intro, startup materials, relaunch, enemies. Still no goal :( 2013-01-20 13:26:34 +01:00
Sven Eberhardt 4b189cacd1 Added Scenario [Landscape] FlatChunkShapes. If set to true, all chunks are drawn flat. Useful for scenario editing to fix little holes in your static landscape. 2013-01-20 12:51:33 +01:00
Sven Eberhardt c8edaab426 Experimental: EvilCastle scorching ruins and some enemies 2013-01-20 01:45:00 +01:00
Sven Eberhardt 1f32bce29b Experimental: EvilCastle now with evil mushroom cave! 2013-01-20 00:45:17 +01:00
Sven Eberhardt 18c7525420 Experimental: EvilCastle 2013-01-19 17:49:08 +01:00
Sven Eberhardt 68e445aa2e Experimental: Enemy AI 2013-01-19 17:46:53 +01:00
Sven Eberhardt 9bcf7ca725 fix typo in catapult script 2013-01-18 23:12:17 +01:00
Günther Brammer ce87faaf9e Fix #including a definition that has local variables with proplists
The missing break meant that the freshly created copy of the proplist would
get overwritten by the original, which was thankfully caught and announced
with "internal error: constant proplist has the wrong parent".

Thanks to Zapper for the testcase.
2013-01-18 01:45:06 +01:00
Armin Burgmeier e1ccbddd5e Fix configure error when mape build is not enabled 2013-01-16 23:24:14 +01:00
Armin Burgmeier 8be7ff42db Merge branch 'mape' 2013-01-16 21:58:07 +01:00
Günther Brammer 263d944d5c mape: Build with debugrecs enabled 2013-01-16 02:13:38 +01:00
Günther Brammer 320672f608 autotools: Make mape optional 2013-01-16 02:13:22 +01:00
Sven Eberhardt 06e70b7b74 Synchronized EditCursor(De)selection, so you can edit scenarios in network mode and/or record it. 2013-01-15 23:30:23 +01:00
Sven Eberhardt f51a085592 Added object callbacks EditCursorSelection and EditCursorDeselection. Useful to show or hide developer stuff in the editor. 2013-01-15 23:10:25 +01:00
Maikel de Vries 6742013d11 Krakatoa health bars in front of structures (#860) 2013-01-14 20:12:35 +01:00
Maikel de Vries b6b8e559a0 Moved Raiders.ocs to Experimental.ocf
This is where experimental scenarios belong.
2013-01-14 20:06:27 +01:00
David Dormagen 38bdfd296d FindLocation: added parameters, improved documentation, now uses Par(i) 2013-01-14 10:41:10 +01:00
Günther Brammer c719c6650c autotools: Update mape source list 2013-01-14 02:25:15 +01:00