View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001047 | Spring engine | General | public | 2008-09-16 17:54 | 2011-11-06 19:04 | ||||
Reporter | imbaczek | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | tweak | Reproducibility | always | ||||
Status | resolved | Resolution | no change required | ||||||
Product Version | 0.76b1+svn | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001047: make CWorldObject synced | ||||||||
Description | I wanted to make CWorldObject synced (via changing some primitives to their respective Synced* versions) but it turns out that projectiles derive from it, and projectiles can be unsynced. The question is if it's desirable to change projectiles so that they derive straight from CObject and how much work is that? I'd like to hear some opinions before changing such deep internals. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
jK (developer) 2008-09-18 00:47 |
First I don't know much about c++'s OOP, nor how spring's synced stuff works. But afaik it is a good idea to seperated the CWorldObject in a synced version and an unsynced one, this would clean up the projectile handling a lot. This shouldn't even cause much work. The current used classes should just be changed into interfaces instead of classes. So there would be 2 interfaces (IWorldObject & IProjectile) and 4 classes (synced and unsynced versions of CWorldObject & CProjectile). |
Auswaschbar (reporter) 2008-09-18 01:22 |
I don't see any use in this until CObject is properly divided between synced / unsynced. |
imbaczek (reporter) 2008-09-18 01:51 |
I thought about it mainly for sync debugger use; CWorldObject defines pos and id, which IMHO should be synced. OTOH those things won't desync by themselves, something else has to screw up. |
Auswaschbar (reporter) 2008-09-19 10:00 |
I just took a closer look, CSolidObject is already synced (including midPos). So I made heading synced too. |
abma (administrator) 2011-11-06 19:04 |
seems to be already implemented... |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2008-09-16 17:54 | imbaczek | New Issue | |
2008-09-18 00:47 | jK | Note Added: 0002593 | |
2008-09-18 01:22 | Auswaschbar | Note Added: 0002594 | |
2008-09-18 01:51 | imbaczek | Note Added: 0002595 | |
2008-09-19 10:00 | Auswaschbar | Note Added: 0002596 | |
2011-11-06 19:04 | abma | Note Added: 0007513 | |
2011-11-06 19:04 | abma | Status | new => resolved |
2011-11-06 19:04 | abma | Resolution | open => no change required |
2011-11-06 19:04 | abma | Assigned To | => abma |