View Single Post
Old Nov 11, 2012, 04:17 AM
nabazul is offline
Find More Posts by nabazul
Registered User
Joined Jun 2010
561 Posts
Originally Posted by XDreamer View Post
I must say the output code is a big mess... Not hard to understand, just too "straight forward".

Look at output.cpp and start commenting out entire ifs in the detectline-method. For example, if you comment out this line (and the next 240 lines):
else if (line > toplinenumbers  && line < (toplinenumbers + 9)) { will remove the speed and altitude numbers. Just continue doing the same thing for the other lines you don't want, but compile and test the code after each change.

I have done quite a lot of changes in the output code, but the code is still not looking good. Some major refactoring has to be done, but I don't know if the timing allows it.
thanks helped me !

Now i am done stripping made it from 27.296 Bytes to 2.828 Bytes
Plenty of room to add my own stuff now
nabazul is offline Find More Posts by nabazul
Last edited by nabazul; Nov 11, 2012 at 04:25 AM.
Reply With Quote