Search found 9 matches

by chkno
Thu Jul 03, 2008 4:16 am
Forum: coding / développement
Topic: Trac
Replies: 8
Views: 14118

I forgot to say there is in the same time a read-only mirror of the svn. http://svn.shikami.org/ta3d. This was necessary to integrate the svn logs into the trac (daily updated only for now) A post-commit hook on the main svn server to poke a script on the mirror to update itself (eg: with wget -T1)...
by chkno
Tue Jul 01, 2008 10:40 pm
Forum: coding / développement
Topic: Trac
Replies: 8
Views: 14118

trac svn log syntax

Isn't there some special syntax that one can use in svn commit logs to associate changesets with trac tickets? Is it just "ticket:3" ?
by chkno
Sat Jun 28, 2008 3:10 am
Forum: coding / développement
Topic: Minimize external locking
Replies: 2
Views: 7162

Minimize external locking

<chkno> Question: Why "pMutex.lock()" everywhere instead of "lock()" ? <milipili> I would like to avoid lock() the most possible. A class should never be locked from outside <milipili> It is impossible to find out a dead lock in this kind of design <chkno> So make lock() a protected method? <milipi...
by chkno
Wed Jun 25, 2008 5:52 pm
Forum: coding / développement
Topic: Code quality (and a new contributor)
Replies: 6
Views: 12430

I followed the local convention that I saw in this file for the uppercase class names. I would be happy to help fix broken local conventions to match project-wide conventions. I was working out of the trunk here. I left the \r's as I found them. I would be happy to help impose some uniformity and st...
by chkno
Wed Jun 25, 2008 6:59 am
Forum: coding / développement
Topic: Code quality (and a new contributor)
Replies: 6
Views: 12430

Code quality (and a new contributor)

Fan of TA with programming skills in OpenGL and/or C++? You can help. Please come to visit us in the forums. I would like to help. However, looking through the code, I see some very unpleasant things. For example, stuff like this . 1) The struct and the data are carefully lined up. Just cast the da...
by chkno
Tue Jun 24, 2008 9:37 pm
Forum: coding / développement
Topic: New Branch
Replies: 14
Views: 23182

Re: New Branch

A few weeks ago I have started a new branch On http://ta3d.darkstars.co.uk/linuxdl-en.php , svn co http://ta3d.darkstars.co.uk/TA3D ta3d should be svn co http://ta3d.darkstars.co.uk/TA3D/trunk ta3d so that people following those directions don't get multiple copies of everything. "svn switch" works...
by chkno
Tue Jun 24, 2008 6:02 pm
Forum: Tests
Topic: TA3D 0.5.0 TEST 3 Memory Usage - 100 MB per AI?
Replies: 8
Views: 15641

Yes I know that, and since texture compression and non power of two textures aren't supported, textures take lots of RAM. But I didn't know it would be seen as memory used by the TA3D process. I didn't either, but this might explain why I couldn't find all that used memory by looking at calls to ma...
by chkno
Mon Jun 23, 2008 7:11 pm
Forum: Tests
Topic: TA3D 0.5.0 TEST 3 Memory Usage - 100 MB per AI?
Replies: 8
Views: 15641

Can you give us details about the way you built the TA3D (or if you used a prebuilt binary), and about your system (mainly video hardware/drivers) ? I built TA3D from source ( ./configure ; make ; ./ta3d install /mnt/cdrom/ ). I fed it the TA and TACC discs, but not the third disc it prompted for. ...
by chkno
Sat Jun 21, 2008 12:24 am
Forum: Tests
Topic: TA3D 0.5.0 TEST 3 Memory Usage - 100 MB per AI?
Replies: 8
Views: 15641

TA3D 0.5.0 TEST 3 Memory Usage - 100 MB per AI?

Is it normal for adding AI players to skirmishes to use 100MB additional memory each? Example data, from Full Moon, TA3D 0.5.0 TEST 3, GNU/Linux, 1gb ram 1.5gb swap, restarting ta3d between measurements, keeping everything the same but the number of AI opponents. Measurement taken just after the gam...