Hawkline451 / TeraCity

Terasology is an open source project started by Benjamin "begla" Glatzel to research procedural terrain generation and efficient rendering techniques in Java using the LWJGL. The engine uses a block-based voxel-like approach as seen in Minecraft. After proving itself as a solid tech demo begla was joined at first by Anton "small-jeeper" Kireev and Rasmus "Cervator" Praestholm and a full-fledged game concept was born. Our goal is a game that pays ample tribute to Minecraft in initial look and origin, but stakes out its own niche by adopting the NPC-helper and caretaker feel from such games as Dwarf Fortress and Dungeon Keeper, while striving for added depth and sophistication in the foundation systems akin to DF.
http://terasology.org/
Apache License 2.0
0 stars 0 forks source link

RS 005: Implementar algoritmo de busqueda de texto #12

Closed Tewi closed 7 years ago

Tewi commented 8 years ago

Implementar algoritmo de busqueda de textual, para poder buscar cada ocurrencia en el codigo. El algoritmo debe iterar en cada archivo y retornar una lista de ocurrencias, de la siguiente manera:

List<file, index> = searchText(text, files)

Luego con la lista se marcan los bloques adecuados del edificio correpondiente en la ciudad, en aquellos en donde se encuentra el texto buscado.

Implementar algoritmo a mano o posiblemente usar una libreria como Lucene que ya tiene el algoritmo imlementado y solamente usar un adapter.

SimonRBG commented 8 years ago

Initiation:

Searching text (strings) into the code and highlight the corresponding blocks.

SimonRBG commented 8 years ago

Concept location :

searching, text, code, highlight, blocks Class FlyMode.SearchCommands.java - Method searchText - Method putHighlightBlockAt (Find with Ctrl+H search on Eclipse "searchText", "higlight" and "block"). Algorithm already exitsing, but not entirely working (now have to put the textures on corresponding blocks).