Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Apr 16, 2024 10:20 pm
All times are UTC + 0
BS SHP Builder Feature - Multi Documents Editing!
Moderators: stucuk
Post new topic   Reply to topic Page 1 of 1 [12 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Sun Apr 04, 2004 9:30 am    Post subject:  BS SHP Builder Feature - Multi Documents Editing! Reply with quote  Mark this post and the followings unread

This feature was suposed to be April's fool, but I started applying it earlier than I expected because I was getting pissed off at the way the program was working. Stu became pissed off at me #Tongue and it's far from being done... I have to sort loads of bugs and remove that Frame Controls and Zoom Factor of the left menu and also make a View menu... but, here's a snip of the current progress:



BS SHP Builder - Multi Documents.jpg
 Description:
it's coming... a new PSP, err.. I mean, BS SHP ;)
 Filesize:  69.91 KB
 Viewed:  4977 Time(s)

BS SHP Builder - Multi Documents.jpg



Back to top
View user's profile Send private message Visit poster's website Skype Account
stucuk
Geek


Joined: 27 Aug 2002

PostPosted: Sun Apr 04, 2004 12:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

when implementing a feature that compleatly changes how the program works you should rebuild the entire program from scratch so the code doesn't become as mess, meaning ppl can acualy add stuff to teh program in days not years.

Why u moved frame controls? it would b better with a centeralised one. You could store the windows id........... same with the bar at the bottom, having multipul ones wastes memory when u can just use one centralised one.

this is why it should b done in a rebuilt, u can plan how to modify everything for this feature rather than patching bits up. You want to have a window that just has the paint area nothing else.

It should also b a v4 feature, so v3 can get some features that don't require a compleate rebuild. + so ppl can use the app b4 2005

_________________
Free Map Editor - Game Requirements - Stucuk.Net

Back to top
View user's profile Send private message Visit poster's website
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Sun Apr 04, 2004 2:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ok, I'll follow your tips and keep the bar and Current Frame and Zoom Factor centralized at FormMain.

_________________


Mods, Mods Support, Public Researchs, Map Archives, Tutorials, A Friendly Community and much more. Check it out now!

Back to top
View user's profile Send private message Visit poster's website Skype Account
Fremen5
Commander


Joined: 10 Aug 2003
Location: Laughing at Donald Trump in a rather flat place

PostPosted: Sun Apr 04, 2004 11:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

I wonder what the next April fool's prank that will become true? #Tongue

_________________
Tiberian Station
Image guy on the Dune Sun\
- Peace - Through - Wossname -

Back to top
View user's profile Send private message Send e-mail Visit poster's website
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Mon Apr 05, 2004 12:48 am    Post subject: Reply with quote  Mark this post and the followings unread

I think it's the only one #Tongue... it's being much harder than I expected (stu was right :S) and it's a pain in the ass #Tongue...

_________________


Mods, Mods Support, Public Researchs, Map Archives, Tutorials, A Friendly Community and much more. Check it out now!

Back to top
View user's profile Send private message Visit poster's website Skype Account
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Mon Apr 05, 2004 4:22 am    Post subject: Reply with quote  Mark this post and the followings unread

Update:

It's really being trully harder. There are some factors that are burning my neurons here (stucuk, I need ideas!):


1. fsMDIChild and fs MDIForm only works well if there is only one MDIForm and only one MDIChild. BS SHP is suposed to use 2 childs (the editing form and the preview) for one file.

2. When I use MDIChild and MDIForm thing, the damn child doesnt appear Mad! If I dont use that, the forms get fucked up when you activate or deactivate, and there is a big confusion of variables.

3. If I work with MDIChild using dynamic arrays as Delphi uses by its default functions with MDIChilds, when the user closes a child that isnt the first or the last, how will I identify the others? ID will become unreliable and FrmPreview will be even more unreliable, since it depends on the ID. The problem that happens when activating or not the form mentioned on (2), makes things even harder.

4. The program was originally made to use Palettes even when there is no document opened. But at the same time, each SHP file opened should be entitled of having its own palette. To deal with multiples palettes and SHPs (and any sort of SHP data), I made 2 pointers: 1 straight for the current SHP and another to the current active form. This iniatially created a terrible problem: and if there is no file opened? I had to emulate a FakeImage with all that data, but it lead me to inumerous other problems, specially between the closure of the last frame and the generation of the fake image and also, it added load of gibberish to the program and gave me a lot of headache.


Considering the four points above, I will remake the whole Multiples Documents Interface Engine. I'll probably merge the FrmPreview with the Editing one, addapt it and make a special unit to deal with the data separatelly. Each Editing Form will have an ID to link to its respective SHP file and FrmMain will have a pointer to SHP, to Palette, UndoList and DataLink. I'll post results later, but unfortunatelly, this certainly postpones a lot the next release of the program Sad. Further info comming as soon as possible and any ideas are apreciated...

_________________


Mods, Mods Support, Public Researchs, Map Archives, Tutorials, A Friendly Community and much more. Check it out now!

Back to top
View user's profile Send private message Visit poster's website Skype Account
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Mon Apr 05, 2004 11:33 am    Post subject: Reply with quote  Mark this post and the followings unread

bah... no. I won't have a public pointer to SHP, neither Palette or UndoList, otherwise I will have to deal with the active logic... I'll let Delphi does that job... all goes to GetSHPAddress(ID);, so I will only use private pointers...

_________________


Mods, Mods Support, Public Researchs, Map Archives, Tutorials, A Friendly Community and much more. Check it out now!

Back to top
View user's profile Send private message Visit poster's website Skype Account
stucuk
Geek


Joined: 27 Aug 2002

PostPosted: Mon Apr 05, 2004 12:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

i have no clue, never used the child/paent forms like i said to u on msn. Due to this i have no clue.

Quote:
stu was right


god, don't u ppl ever get it? Stu is always right Wink

This is why i suggested it should b added during a compleate rebuild so everything could be worked out so everything works.

_________________
Free Map Editor - Game Requirements - Stucuk.Net

Back to top
View user's profile Send private message Visit poster's website
Kravvitz
Commander


Joined: 25 Mar 2003
Location: USA

PostPosted: Mon Apr 05, 2004 8:48 pm    Post subject: Reply with quote  Mark this post and the followings unread

Oh well. It's a possible feature to be added to a version of the program after v3. Smile

_________________
Check out my FAQ and Modding Info Page.
Community Links Page
http://www.dynamicsitesolutions.com/

Back to top
View user's profile Send private message Visit poster's website Skype Account Yahoo Messenger Account AIM Address
meselfs
Grenadier


Joined: 12 Dec 2003
Location: Oregon, USA

PostPosted: Fri Apr 09, 2004 8:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

I don't think it's that important, and if it's that hard I don't think it's worth it, ever.

_________________
My 3D to SHP tutorial


Back to top
View user's profile Send private message Skype Account
Kravvitz
Commander


Joined: 25 Mar 2003
Location: USA

PostPosted: Fri Apr 09, 2004 9:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

Would using separate windows for each file use fewer resources than having the same number of instances of the program open?

_________________
Check out my FAQ and Modding Info Page.
Community Links Page
http://www.dynamicsitesolutions.com/

Back to top
View user's profile Send private message Visit poster's website Skype Account Yahoo Messenger Account AIM Address
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Fri Apr 09, 2004 9:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

You are correct Kravvitz. Also, CPU usage will theorically be better, since CPU will deal with smaller modules.

_________________


Mods, Mods Support, Public Researchs, Map Archives, Tutorials, A Friendly Community and much more. Check it out now!

Back to top
View user's profile Send private message Visit poster's website Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [12 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 1.8986s ][ Queries: 14 (1.7504s) ][ Debug on ]