├── exports └── .gitignore ├── logs └── .gitignore ├── docs ├── nau03a.pdf ├── pathfinder.pdf ├── passabilities.xcf ├── terrainanalysis.doc ├── HTML5_Canvas_Cheat_Sheet.pdf ├── Hannibal-Mmap.html_files │ ├── ilink.png │ ├── minus.png │ ├── plus.png │ ├── marktree.js │ ├── icons │ │ ├── Mail.png │ │ ├── back.png │ │ ├── bell.png │ │ ├── down.png │ │ ├── edit.png │ │ ├── fema.png │ │ ├── flag.png │ │ ├── go.png │ │ ├── help.png │ │ ├── idea.png │ │ ├── info.png │ │ ├── korn.png │ │ ├── licq.png │ │ ├── list.png │ │ ├── stop.png │ │ ├── up.png │ │ ├── xmag.png │ │ ├── yes.png │ │ ├── attach.png │ │ ├── clock.png │ │ ├── closed.png │ │ ├── family.png │ │ ├── folder.png │ │ ├── full-0.png │ │ ├── full-1.png │ │ ├── full-2.png │ │ ├── full-3.png │ │ ├── full-4.png │ │ ├── full-5.png │ │ ├── full-6.png │ │ ├── full-7.png │ │ ├── full-8.png │ │ ├── full-9.png │ │ ├── gohome.png │ │ ├── group.png │ │ ├── kmail.png │ │ ├── launch.png │ │ ├── male1.png │ │ ├── male2.png │ │ ├── pencil.png │ │ ├── wizard.png │ │ ├── bookmark.png │ │ ├── button_ok.png │ │ ├── calendar.png │ │ ├── female1.png │ │ ├── female2.png │ │ ├── flag-blue.png │ │ ├── flag-pink.png │ │ ├── forward.png │ │ ├── hourglass.png │ │ ├── knotify.png │ │ ├── password.png │ │ ├── penguin.png │ │ ├── prepare.png │ │ ├── smiley-oh.png │ │ ├── smily_bad.png │ │ ├── stop-sign.png │ │ ├── broken-line.png │ │ ├── clanbomber.png │ │ ├── desktop_new.png │ │ ├── flag-black.png │ │ ├── flag-green.png │ │ ├── flag-orange.png │ │ ├── flag-yellow.png │ │ ├── ksmiletris.png │ │ ├── button_cancel.png │ │ ├── kaddressbook.png │ │ ├── smiley-angry.png │ │ ├── smiley-neutral.png │ │ ├── freemind_butterfly.png │ │ └── messagebox_warning.png │ ├── map_location.png │ ├── visorFreemind.swf │ ├── treestyles.css │ └── flashobject.js └── Hannibal-Mmap.html ├── mods ├── hannibal.zip ├── hannibal │ ├── simulation │ │ └── ai │ │ │ └── hannibal │ │ │ └── data.json │ ├── mod.json │ ├── LICENCE.txt │ └── README.md └── hannibal.readme.txt ├── source ├── favicon.ico ├── explorer │ ├── images │ │ ├── a.png │ │ ├── b.png │ │ ├── c.png │ │ ├── ic_stop_24px.svg │ │ ├── ic_play_arrow_24px.svg │ │ ├── ic_pause_24px.svg │ │ ├── ic_skip_previous_24px.svg │ │ ├── ic_skip_next_24px.svg │ │ └── ic_redo_24px.svg │ ├── data │ │ ├── athens-01-json.export │ │ ├── tech-groups.ods │ │ ├── metadata.export │ │ ├── passabilityClasses.export │ │ └── rubble-json.export │ ├── htn-frame.html │ └── htn-tree-operators.js ├── gui │ └── aiconfig │ │ ├── aiconfig.xml.cached.xmb │ │ ├── aiconfig.xml │ │ └── aiconfig.js ├── simulation │ └── ai │ │ └── hannibal │ │ ├── data.json │ │ ├── _debug.js │ │ ├── config.js │ │ ├── military.js │ │ ├── diplomacy.js │ │ ├── claims.js │ │ ├── g.idle.js │ │ ├── comms.js │ │ ├── htn-eco-operators.js │ │ ├── g.patrol.ranged.js │ │ ├── bot.js │ │ ├── g.harvester.js │ │ ├── goals.js │ │ ├── g.builder.js │ │ ├── g.shepherds.js │ │ ├── _hannibal.js │ │ ├── g.supplier.js │ │ └── htn-planner.js └── mod.json ├── maps ├── scenarios │ ├── Abyss72.pmp │ ├── Abyss73.pmp │ ├── Abyss74.pmp │ ├── Abyss75.pmp │ ├── brain02.pmp │ ├── brain03.pmp │ ├── topo.128.path.pmp │ └── topo.128.path.xml ├── random │ ├── brainland.json │ ├── api.txt │ ├── rmghelper │ │ └── rmghelper.js │ └── brainland_triggers.js └── scripts │ ├── WonderVictory.js │ ├── Conquest.js │ └── TriggerHelper.js ├── tools ├── http-explorer.sh ├── test.01.html ├── pack.sh ├── data.py ├── prof.typ.loop.js ├── prof.js.loop.js ├── test.01.js ├── prof.obj.loop.js └── prof.SIMD.js ├── .gitignore ├── LICENCE.txt ├── readme.txt ├── data.py ├── pack.sh └── README.md /exports/.gitignore: -------------------------------------------------------------------------------- 1 | [^.]* -------------------------------------------------------------------------------- /logs/.gitignore: -------------------------------------------------------------------------------- 1 | [^.]* -------------------------------------------------------------------------------- /docs/nau03a.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/nau03a.pdf -------------------------------------------------------------------------------- /docs/pathfinder.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/pathfinder.pdf -------------------------------------------------------------------------------- /mods/hannibal.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/mods/hannibal.zip -------------------------------------------------------------------------------- /source/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/source/favicon.ico -------------------------------------------------------------------------------- /docs/passabilities.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/passabilities.xcf -------------------------------------------------------------------------------- /docs/terrainanalysis.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/terrainanalysis.doc -------------------------------------------------------------------------------- /maps/scenarios/Abyss72.pmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/maps/scenarios/Abyss72.pmp -------------------------------------------------------------------------------- /maps/scenarios/Abyss73.pmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/maps/scenarios/Abyss73.pmp -------------------------------------------------------------------------------- /maps/scenarios/Abyss74.pmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/maps/scenarios/Abyss74.pmp -------------------------------------------------------------------------------- /maps/scenarios/Abyss75.pmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/maps/scenarios/Abyss75.pmp -------------------------------------------------------------------------------- /maps/scenarios/brain02.pmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/maps/scenarios/brain02.pmp -------------------------------------------------------------------------------- /maps/scenarios/brain03.pmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/maps/scenarios/brain03.pmp -------------------------------------------------------------------------------- /source/explorer/images/a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/source/explorer/images/a.png -------------------------------------------------------------------------------- /source/explorer/images/b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/source/explorer/images/b.png -------------------------------------------------------------------------------- /source/explorer/images/c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/source/explorer/images/c.png -------------------------------------------------------------------------------- /docs/HTML5_Canvas_Cheat_Sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/HTML5_Canvas_Cheat_Sheet.pdf -------------------------------------------------------------------------------- /maps/scenarios/topo.128.path.pmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/maps/scenarios/topo.128.path.pmp -------------------------------------------------------------------------------- /source/explorer/data/athens-01-json.export: -------------------------------------------------------------------------------- 1 | // EXPORTED culture 'athens' at Mon Sep 29 2014 17:03:28 GMT+0200 (CEST) 2 | -------------------------------------------------------------------------------- /source/explorer/data/tech-groups.ods: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/source/explorer/data/tech-groups.ods -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/ilink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/ilink.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/minus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/minus.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/plus.png -------------------------------------------------------------------------------- /tools/http-explorer.sh: -------------------------------------------------------------------------------- 1 | ## cd /Daten/Projects/Osiris/ps/trunk/binaries/data/mods 2 | cd ../source 3 | python -m SimpleHTTPServer 8080 -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/marktree.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/marktree.js -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/Mail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/Mail.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/back.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/bell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/bell.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/down.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/edit.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/fema.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/fema.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/flag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/flag.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/go.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/help.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/help.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/idea.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/idea.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/info.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/korn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/korn.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/licq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/licq.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/list.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/stop.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/up.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/xmag.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/xmag.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/yes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/yes.png -------------------------------------------------------------------------------- /source/gui/aiconfig/aiconfig.xml.cached.xmb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/source/gui/aiconfig/aiconfig.xml.cached.xmb -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/attach.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/attach.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/clock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/clock.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/closed.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/family.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/family.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/folder.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/full-0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/full-0.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/full-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/full-1.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/full-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/full-2.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/full-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/full-3.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/full-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/full-4.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/full-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/full-5.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/full-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/full-6.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/full-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/full-7.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/full-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/full-8.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/full-9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/full-9.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/gohome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/gohome.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/group.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/kmail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/kmail.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/launch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/launch.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/male1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/male1.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/male2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/male2.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/pencil.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/pencil.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/wizard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/wizard.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/map_location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/map_location.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/bookmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/bookmark.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/button_ok.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/button_ok.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/calendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/calendar.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/female1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/female1.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/female2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/female2.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/flag-blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/flag-blue.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/flag-pink.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/flag-pink.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/forward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/forward.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/hourglass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/hourglass.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/knotify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/knotify.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/password.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/penguin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/penguin.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/prepare.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/prepare.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/smiley-oh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/smiley-oh.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/smily_bad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/smily_bad.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/stop-sign.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/stop-sign.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/visorFreemind.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/visorFreemind.swf -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/broken-line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/broken-line.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/clanbomber.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/clanbomber.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/desktop_new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/desktop_new.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/flag-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/flag-black.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/flag-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/flag-green.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/flag-orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/flag-orange.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/flag-yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/flag-yellow.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/ksmiletris.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/ksmiletris.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/button_cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/button_cancel.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/kaddressbook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/kaddressbook.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/smiley-angry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/smiley-angry.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/smiley-neutral.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/smiley-neutral.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/freemind_butterfly.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/freemind_butterfly.png -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html_files/icons/messagebox_warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/agentx-cgn/Hannibal/HEAD/docs/Hannibal-Mmap.html_files/icons/messagebox_warning.png -------------------------------------------------------------------------------- /source/explorer/data/metadata.export: -------------------------------------------------------------------------------- 1 | // EXPORTED metadata at Thu Nov 20 2014 13:10:11 GMT+0100 (CET) 2 | { 3 | "1": {}, 4 | "2": {} 5 | } 6 | // Export end of metadata 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## temp readme 4 | readme.md 5 | 6 | ## local dev path 7 | paths.py 8 | 9 | ## filter 10 | *.pyc 11 | 12 | ## paths 13 | ## exports/* 14 | ## logs/* 15 | 16 | last.log 17 | -------------------------------------------------------------------------------- /source/simulation/ai/hannibal/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Hannibal", 3 | "description": "Advanced 0 A.D AI/Bot", 4 | "moduleName" : "HANNIBAL", 5 | "constructor": "Launcher", 6 | "useShared": true 7 | } 8 | -------------------------------------------------------------------------------- /source/explorer/images/ic_stop_24px.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /mods/hannibal/simulation/ai/hannibal/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Hannibal", 3 | "description": "Advanced 0 A.D AI/Bot", 4 | "moduleName" : "HANNIBAL", 5 | "constructor": "Launcher", 6 | "useShared": true 7 | } 8 | -------------------------------------------------------------------------------- /source/explorer/images/ic_play_arrow_24px.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /source/explorer/images/ic_pause_24px.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /source/explorer/images/ic_skip_previous_24px.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /source/explorer/images/ic_skip_next_24px.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /source/mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Hannibal", 3 | "label": "0 A.D. Bot/AI", 4 | "url": "https://github.com/agentx-cgn/Hannibal", 5 | "description": "Adaptive Bot ", 6 | "dependencies": ["0ad"], 7 | "type": "bot addon", 8 | "version": "0.0.18" 9 | } -------------------------------------------------------------------------------- /mods/hannibal/mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Hannibal", 3 | "label": "0 A.D. Bot/AI", 4 | "url": "https://github.com/agentx-cgn/Hannibal", 5 | "description": "Adaptive Bot ", 6 | "dependencies": ["0ad"], 7 | "type": "bot addon", 8 | "version": "0.0.17" 9 | } -------------------------------------------------------------------------------- /tools/test.01.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Test 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /source/explorer/images/ic_redo_24px.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /source/explorer/data/passabilityClasses.export: -------------------------------------------------------------------------------- 1 | // EXPORTED passabilityClasses at Thu Nov 20 2014 13:35:06 GMT+0100 (CET) 2 | { 3 | "pathfinderObstruction": 1, 4 | "foundationObstruction": 2, 5 | "building-land": 4, 6 | "building-shore": 8, 7 | "default": 16, 8 | "ship": 32, 9 | "unrestricted": 64 10 | } 11 | // Export end of passabilityClasses 12 | -------------------------------------------------------------------------------- /maps/random/brainland.json: -------------------------------------------------------------------------------- 1 | { 2 | "settings" : { 3 | "Name" : "Brainland", 4 | "Script" : "brainland.js", 5 | "Description" : "Hannibal test map without any water, based on mainland.js", 6 | "BaseTerrain" : ["medit_sea_depths"], 7 | "BaseHeight" : 3, 8 | "CircularMap" : true, 9 | "XXXXXX" : "Optionally define other things here, like we would for a scenario", 10 | "TriggerScripts": [ 11 | "scripts/TriggerHelper.js", 12 | "random/brainland_triggers.js" 13 | ] 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /LICENCE.txt: -------------------------------------------------------------------------------- 1 | Hannibal, a Bot/AI for the RTS game 0 A.D. 2 | 3 | Copyright (C) 2014, Cologne, agentx, agentx-cgn@gmail.com 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . 17 | -------------------------------------------------------------------------------- /mods/hannibal/LICENCE.txt: -------------------------------------------------------------------------------- 1 | Hannibal, a Bot/AI for the RTS game 0 A.D. 2 | 3 | Copyright (C) 2014, Cologne, agentx, agentx-cgn@gmail.com 4 | 5 | This program is free software: you can redistribute it and/or modify 6 | it under the terms of the GNU General Public License as published by 7 | the Free Software Foundation, either version 3 of the License, or 8 | (at your option) any later version. 9 | 10 | This program is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program. If not, see . 17 | -------------------------------------------------------------------------------- /maps/random/api.txt: -------------------------------------------------------------------------------- 1 | Object.keys(Engine).forEach(k => deb(k)); 2 | 3 | ProfileStart 4 | ProfileStop 5 | RegisterComponentType 6 | RegisterSystemComponentType 7 | ReRegisterComponentType 8 | RegisterInterface 9 | RegisterMessageType 10 | RegisterGlobal 11 | QueryInterface 12 | GetEntitiesWithInterface 13 | GetComponentsWithInterface 14 | PostMessage 15 | BroadcastMessage 16 | AddEntity 17 | AddLocalEntity 18 | DestroyEntity 19 | FlushDestroyedEntities 20 | ReadJSONFile 21 | ReadCivJSONFile 22 | FindJSONFiles 23 | 24 | 25 | Object.keys(Trigger.prototype).forEach(k => deb(k)); 26 | 27 | Schema 28 | eventNames 29 | Init 30 | RegisterTriggerPoint 31 | RemoveRegisteredTriggerPoint 32 | GetTriggerPoints 33 | RegisterTrigger 34 | DisableTrigger 35 | EnableTrigger 36 | CallEvent 37 | OnGlobalConstructionFinished 38 | OnGlobalTrainingFinished 39 | OnGlobalOwnershipChanged 40 | DoAfterDelay 41 | DoAction 42 | cinema 43 | forceResearch 44 | -------------------------------------------------------------------------------- /source/explorer/htn-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | HTN - Frame 5 | 6 | 7 | 8 | 9 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /docs/Hannibal-Mmap.html: -------------------------------------------------------------------------------- 1 | 2 | Hannibal
23 | Flash plugin or Javascript are turned off. 24 | Activate both and reload to view the mindmap 25 |
-------------------------------------------------------------------------------- /tools/pack.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | : << '--COMMENT--' 4 | 5 | Dependencies 6 | sudo apt-get install tree 7 | 8 | --COMMENT-- 9 | 10 | # pathRoot="/Daten/Dropbox/Projects/hannibal/" 11 | pathCode="/home/noiv/.local/share/0ad/mods/hannibal/simulation/ai/hannibal" 12 | pathDistri="/Daten/Dropbox/Projects/hannibal" 13 | 14 | echo 15 | echo "-- Start" 16 | echo 17 | 18 | ## STATIC 19 | 20 | cd $pathDistri 21 | cp LICENCE.txt "${pathDistri}/mods/hannibal/LICENCE.txt" 22 | cp README.md "${pathDistri}/mods/hannibal/README.md" 23 | cp readme.txt "${pathDistri}/mods/hannibal.readme.txt" 24 | 25 | cd $pathCode 26 | cp data.json "${pathDistri}/mods/hannibal/simulation/ai/hannibal/data.json" 27 | 28 | ## DYNAMIC 29 | 30 | cd $pathCode 31 | rm -f hannibal.m.js 32 | ls _*.js | xargs cat > _.jss 33 | ls [a-z]*.js | xargs cat > az.jss 34 | cat _.jss az.jss > hannibal.m.js 35 | rm -f \ 36 | _.jss \ 37 | az.jss 38 | mv hannibal.m.js "${pathDistri}/mods/hannibal/simulation/ai/hannibal/hannibal.m.js" 39 | 40 | ## fake compress 41 | cd "${pathDistri}/mods/hannibal/simulation/ai/hannibal/" 42 | cp hannibal.m.js hannibal.u.js 43 | cp hannibal.u.js hannibal.p.js 44 | cp hannibal.p.js hannibal.js 45 | 46 | ## clearup compress 47 | cd "${pathDistri}/mods/hannibal/simulation/ai/hannibal/" 48 | rm -f \ 49 | hannibal.m.js \ 50 | hannibal.u.js \ 51 | hannibal.p.js 52 | 53 | ## ZIP 54 | 55 | cd "${pathDistri}/mods/" 56 | rm -f hannibal.zip 57 | zip hannibal.zip \ 58 | hannibal/mod.json \ 59 | hannibal/README.md \ 60 | hannibal/LICENCE.txt \ 61 | hannibal/simulation/ai/hannibal/data.json \ 62 | hannibal/simulation/ai/hannibal/hannibal.js 63 | 64 | ## CHECK 65 | 66 | cd "${pathDistri}/mods/" 67 | tree 68 | unzip -l hannibal.zip 69 | 70 | echo 71 | echo "-- Done --" 72 | echo 73 | -------------------------------------------------------------------------------- /source/gui/aiconfig/aiconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |