Hi,

Sounds good. I am only able to draw the necessary sprites and add them to
images.xml. I don't know anything about actual coding.

Regards,
Ivar


2013/11/8 Kristian Cramberger <cman.linc...@gmail.com>

> Hi,
>
> Anything should be possible now. just put the png to the tiles folder and
> add an entry in images.xml.
> Then the image will be loaded. The order of the images defines the "type"
> starting from 0. I would always
> put new sprites at the end, otherwise the existing types would be shifted.
> And then of course the corresponding source file from src/lincity/modules
> should actually also set the new "type".
> For powerlines over transport/water we would need to make a smarter
> connect transport. But that should be doable. All we need is adding
> another magic 4x4 table plus the
> number of bridge entrances.
>
> Cheers
> Kristian
>
>
>
> On 11/07/2013 10:46 PM, Ivar ten Cate wrote:
>
>> Hi,
>>
>> What kind of new sprites are possible right now? If possible I'd like to
>> do
>> some proper sprites for crossings between power lines, roads and/or
>> railroad. Not having them in the game looks just bad.
>>
>> Greetings,
>> Ivar
>> Op 7 nov. 2013 11:36 schreef "Cman" <cman.linc...@gmail.com>:
>>
>>  hello,
>>>
>>> very sharp eyes! The cricket place was the very last reourceID in
>>> images.xml and the reader just finished without ever checking if he left
>>> the last context, easy enough to fix.
>>> If anyone ever wanted to add new sprites (rather than updating existing
>>> ones), that would be a good test for the image loading.
>>>
>>> Cheers
>>> Kristian
>>>
>>>
>>>
>>> On 06.11.2013 22:43, Ivar ten Cate wrote:
>>>
>>>  Thanks for the explanation :)
>>>>
>>>> Everything seems to work fine now. The cricket field sprites don't load,
>>>> but I guess that's a minor bug.
>>>>
>>>> Greetings,
>>>> Ivar
>>>>
>>>>
>>>>
>>>> 2013/11/5 Khristian Cramberger <cman.linc...@gmail.com>
>>>>
>>>>   update (1761)
>>>>
>>>>> loading images in one thread and destroying them upon texture creation
>>>>> in
>>>>> another thread
>>>>> was a really bad idea. Now the loader gets the mutex and keeps it until
>>>>> it
>>>>> has parsed
>>>>> the entire images.xml. At exiting the loaderthread sets textures_ready
>>>>> =
>>>>> true. And only then
>>>>> drawTile attempts to claim the mutex and proceed with texture
>>>>> generation
>>>>> and display.
>>>>> Without mutual interuptions the loading is much faster and the all
>>>>> coloured tiles are updated
>>>>> in one shot.
>>>>>
>>>>> Maybe later we could move the loaderthread to initLincity. All
>>>>> GraphicsInfo is now stored in
>>>>> the respective Constructiongroups anyway and we could already load
>>>>> while
>>>>> the user spends
>>>>> a few seconds in the mainmenu.
>>>>>
>>>>> Kristian
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 11/04/2013 08:10 PM, Ivar ten Cate wrote:
>>>>>
>>>>>   Hello,
>>>>>
>>>>>> You did great work with the code improvements!
>>>>>>
>>>>>> I have tested the latest SVN revision (1758). Compiling and installing
>>>>>> went
>>>>>> fine, but the game crashes while loading a savegame or scenario. It
>>>>>> loads
>>>>>> the gui and a few sprites,but crashes halfway parsing png files. The
>>>>>> terminal gives one of these error messages:
>>>>>>
>>>>>> *XIO:  fatal IO error 11 (Resource temporarily unavailable) on X
>>>>>> server
>>>>>> ":0"*
>>>>>> *      after 198 requests (198 known processed) with 11 events
>>>>>> remaining.*
>>>>>>
>>>>>>
>>>>>> **** Error in `lincity-ng': malloc(): memory corruption (fast):
>>>>>> 0x0860b968
>>>>>> ****
>>>>>>
>>>>>>
>>>>>> *segmentation fault*
>>>>>>
>>>>>>
>>>>>> Does the game run out of memory? I didn't have this issue with
>>>>>> previous
>>>>>> revisions. I'm running the game in Lubuntu 13.04 in VirtualBox. My
>>>>>> host
>>>>>> system is Windows 7 64bit. I have allocated 1gb of memory to the
>>>>>> virtual
>>>>>> OS. Raising to 2gb didn't help.
>>>>>>
>>>>>>
>>>>>> I hope this information is useful.
>>>>>>
>>>>>> Greetings,
>>>>>> Ivar
>>>>>> _______________________________________________
>>>>>> Lincity-ng-devel mailing list
>>>>>> Lincity-ng-devel@lists.berlios.de
>>>>>> https://lists.berlios.de/mailman/listinfo/lincity-ng-devel
>>>>>>
>>>>>>   _______________________________________________
>>>>>>
>>>>> Lincity-ng-devel mailing list
>>>>> Lincity-ng-devel@lists.berlios.de
>>>>> https://lists.berlios.de/mailman/listinfo/lincity-ng-devel
>>>>>
>>>>>   _______________________________________________
>>>>>
>>>> Lincity-ng-devel mailing list
>>>> Lincity-ng-devel@lists.berlios.de
>>>> https://lists.berlios.de/mailman/listinfo/lincity-ng-devel
>>>>
>>>>  _______________________________________________
>>> Lincity-ng-devel mailing list
>>> Lincity-ng-devel@lists.berlios.de
>>> https://lists.berlios.de/mailman/listinfo/lincity-ng-devel
>>>
>>>  _______________________________________________
>> Lincity-ng-devel mailing list
>> Lincity-ng-devel@lists.berlios.de
>> https://lists.berlios.de/mailman/listinfo/lincity-ng-devel
>>
>
> _______________________________________________
> Lincity-ng-devel mailing list
> Lincity-ng-devel@lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/lincity-ng-devel
>
_______________________________________________
Lincity-ng-devel mailing list
Lincity-ng-devel@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/lincity-ng-devel

Reply via email to