Just implemented CLICK functionality into the UI. This means that if you press your mousebutton on some window, then think better of it, you can move your mouse off that button and release, to cancel, just like in windows.
Z.
Printable View
Just implemented CLICK functionality into the UI. This means that if you press your mousebutton on some window, then think better of it, you can move your mouse off that button and release, to cancel, just like in windows.
Z.
Ok, will keep checkin the page to see when its updated.
Zaei - its ketting hotter by the post :D keep it up
Im still trying to figure out a way to describe a click transition from UI space into world space =).
I have also designed a function to generate a Unique object name. It works quite simply. You assign a name to an object (the base class has this variable), and then call the function. It will ask the object what it is, then gets the text for that. It then copies the Object type, the current name, and the handle number onto the end. So, for example, the first Font created in Arial Bold 14pt Italics will look like "OBJ_DFONTArial14bin0". The "n" means that it is not underlined =). This is all in anticipation of logging every message sent to any object to a file =).
Z.
Sounds good but use Tahoma or Verdana okay? (Verdana preferred) =)
I've FINALLY! fixed the problem. It WILL work now, it updates and it all works. The downloads page is almost done!
Oh and nothing new is implemented yet, look for it in a couple of hours (I'll post when it's done.)
Did you upload the new stuff? And could you clear me again, so i can re-activate?
Z.
Ok, Several more new things today. First, the new modular log system is up and running. You can define a new class to handle a string sent to it in different ways. At the moment, the base CLog class simple outputs the string to the debug window, and a CLogFile class outputs the string to a file. The cool part is that CLog outputs to the debug window, and THEN calls the file output class, but only if you instantiate a CLogFile object.
Next, I upgraded the font memory system, so that it knows what style of fonts are loaded (previously, it only knew if you loaded Arial, or Times New Roman, etc), so it now only returns a duplicate handle if font face, size, bold, italic, and underline are all the same.
Z.
EVERYTHING IS UPLOADED! MOVE MOVE MOVE! =)
You'll also notice the upload works, and the download page works too!!
It looks like you've done it Sas! Go you!
Z.
Does the site work for you?!?!?!
It gives me error 500-12: Application Restarting...
It won't let me in :(
Yeah, it's giving me that too, but i got in before that started. It's still doing it... might want to give the host a call =).
Z.
I think that later today I will get a main menu thing going, so if someone could post a scroll type image (perhaps 320x420), I can get that going.
Z.
We have 2 websites on it and the other one's working fine (?)
So call em up and yell at them =).
Z.
The IIS App probably froze, or something...
Z.
The whole ****ing site is down for me.
Do we have a second site that works ??
Nothing's working... just when I had something to show you guys, too :(
The site seems to be back up.
Sorry I havent gotten anything done today, I have hardly touched my computer =(. I did get a nifty code line counter though, and we have ~9000 lines of code, plus maybe 5000 or 6000 lines in the DirectX headers.
Z.
=)
Well the site still isn't working, just try to go to any other page, it will fail.
I know... =(
Z.
There's a bug on the download.asp page (the Music & Downloads link) that's causing the database to deny service, I'll try to fix this.
Can't wait to see it =).
Z.
http://www.planet-source-code.com/xq...s/ShowCode.htm
Go Check People !
That parchment thing looked quite good.
Hmmm?
Did you make that?
Oh, and I fixed the problem and the site's back up... see the downloads page! Also, a little note, to see the private files login and then click on "Back to Crystal-Rain", then go to the downloads. Also, the cookies should work, so you'll only have to sign-in once a month.
Ah, Sas, you are the man!
Sorry, I havent gotten a thing done yet today.
Now, I have made a decision. I am going to change the UI design, and remove popup menus. So, from now on, a Right click will popup a control palette, or other context sensitive window object =).
Anyway, nice work on the files, Sas!
Z.
Oh, and again, my password doesnt work =).
Z.
I was the man, but now I am the KING!
I found my second mistake... I was closing the recordset before writing and updating the records, anyways I did a mockup on your account, Zaei, and I made the PWD to 112, and it worked! But now you're de-activated and un-passworded =)
::applause:: I am now re-activated, and re-passworded! And it WORKS! Go Sas!
On my end, I have the little envelope scrolly thing moving (it doesnt scroll all the way down, dont know why, but that is what the robust log system is for =). Next I will implement actual message logging (Logs what messages are sent from where to where at what time).
Z.
Well, the message log system is up and running. When an immediate message arrives, You get an output of something like:
When a delayed message arrives, you get:Code:Message arrived from <source> to <dest>:
Message: DM_CLICK
Param1: 172
Param2: 45
Param3: 0
So, when a delayed message gets there, you know where to look for it. Each game tick prints out "[<time>]" to the file, so you know what happened when =).Code:Message Recieved from <source>, to <dest>, delivered at <time>
Z.
You've got a good coding style =)
So... I'm making a little music box thing for the website, I'm just making a template up now!
Thanks =).
Sweet! If you are stil wondering how to do it cross-page, you could make it a popup window...
Z.
There is only one problem with the message log... It spits out a HUGE amount of info. Just running the demo for 500 ticks (1 tick/30ms) spits out a 122kb text file =). Although, the reason is that I send ~600 Delayed Messages at the beginning, and they are all recieved the next tick =).
Z.
15 seconds gives you 122 kb???
Wow... well, I guess you might have to create a shorthand in the spit-out and then decipher it with another program... a log viewer, if you will? Oh, and I've done the template, here it is:
Here's a mockup of what it may look like:
Its a debug log, Sas, So it wont be in the final version =).
The music thing looks REALLY nice! I can't wait =).
Z.
Well okay then, but I don't want a 500 mb file on my HD every time I play the debug version of ToW. =)
How about allowing a -noD in the command line so that we can turn off debug in the debug version.
I'll make a log viewer for you if you want it.. the only problem is that it would require the VB runtimes, but all of the developers have them right?
I will add in support to turn off logging.
Remember too, that messages will only be sent when something changes (you order a unit, etc.). I will be using the same technique for multiplayer, of simple sending a net message containing everything needed. On 28.8, I think I can spit out 150 messages per second, which should be adequate =).
Tonight, I will try to get my UItoWorld adapter class running (thank you Design Patterns =), and hack up a really simple map class (this one will be just flat, maybe with a grass texture on it =).
Z.
Ace Dudes. the sites working for me and the music thing looks cool. Now to play around on the site :D
Will .towlog be fine for the extension?