Jump to content
Sign in to follow this  
VonBeerhofen

Further enhancements

Recommended Posts

I've been able to activate damage modelling for all planes in EAWPRO. It was very limited for the previously none flyable aircraft but now is on par with all other planes as far as I can tell. In fact these routines were further enhanced by introducing more unpredictable behaviour when planes get damaged and the pilot is not dead (yet).

Normally one would need to use an additional randomisation routine to make this happen, but in assembly coding there are many memory locations which already generate a random value which only needs to be read and then can be used at will. Such use will save app. 100 bytes  from the game loop, every time a random value is required. and since the game uses this routine about 1000 times speed can be dramattically increased by not using it and just reading the value directly from a memory location, like for instance the stack pointer or Windows clock timer's microseconds.

I've used it on numerous other occasions to save speed and space in the program and from here on, or actually from a while back on, I will  usie this approach rather then calling on the randomisation routines where possible, after all the results are not any different but it will definately speed up the game a little.

VonBeerhofen

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Similar Content

    • By VonBeerhofen

      A while back EAWPRO was called AFB (All Flyable Bombers) but I was forced to change the name to EAWPRO because Mr. Jelly released an addon with the same name. He also has a so called EAWPRO theatre meant for use in his version and one for use with OAW. Recently an addon appeared for SPAW named the Final Cut, a name which I have used for almost a decade for a work in progress.

      What's the goal of such actions, don't people realise that it will only lead to confusion and possible cross contamination of addons? What's created for EAWPRO will screw up addons which were not created for EAWPRO and vice versa. I have uploaded a SPAW_UPGRADE.ZIP (Special Air War) to my FTP site to demonstrate the danger, it is NOT for the SPAW addon but for EAWPRO and I hope people can imagine what would happen when this addon would be added to a none EAWPRO version. This addon is for the active Launchpad members only and should NOT be added to any other vesion but EAWPRO!

      Whatever the goal is, it's dangerous and detremental to the game and I advice people to stay away from such use. If you don't then you're knowingly putting people's computers at risk. The name The Final Cut has been used for an EAWPRO work in progress for a very long time now and the use elsewhere is pure folly, as everyone in the EAW community will understand.
      A simmilar warning like this was treated in another forum as a threat and got me banned for two months due to my poor knowledge of the English language, IT IS NOT A THREAT, IT IS A PLEA TO STOP THIS IRRESPONISBLE BEHAVIOUR AND A WARNING TO THE EAW COMMUNITY TO BE AWARE OF POSSIBLE CROSS CONTAMINATION OF ADDONS WHICH CAN POSSIBLY HARM PEOPLE'S COMPUTERS!
      VonBeerhofen
    • By VonBeerhofen
      Had a bit of spare time so I decided to design a new seamless water tile for the Italy addon, and here it is!
      VonBeerhofen

    • By VonBeerhofen
      Fueltruck version. This model came originally from Gunship and was completely overhauled. Texture was reorganised to allow more bits and pieces. Missing parts were added and the model was reshaped to a more curvy version based on photographs from the web. I have several slightly different versions now and hope to turn one into a fire engine, just because I think EAW should have one.
      VonBeerhofen

    • By VonBeerhofen
      Finally managed to implement start/stop functions for engines 3 & 4, thanks to two unused entries in the key bindings array. The two keys are actually used elswhere as well to control keyboard throttle up/down (+/-)  movement. The rewritten routines do NOT interfere with this behaviour as long as planes don't have engines 3 & 4, so it will still work on single and twin engined planes. The EAW/INI still allows remapping of these keys and I will pprobably adapt their text entries to show the duality of these keys.
      With the added feature it's not yet clear if more needs to be done in respect to the already adapted engine overheat/damage routines but I think when we test these features in our online games in the Launchpad any negative behaviour will soon surface. Offline I've not seen any anomalous behaviour sofar but it's still early days, so fingers crossed!
      BTW, if my decrepid computer allows new startup sounds for the Quads will be implemented (already downloaded some). It'll require a bit more memory and I can't really say if my current install can handle much more. Shouldn't be a problem on newer computers with sufficient memory though, so I'll add them anyway. They can be removed from the gamefolder if necessary.
      VonBeerhofen
    • By VonBeerhofen
      Acomplete overhaul of the Kubelwagen using every available node in a 3DZ model . Full 3D figures, headlights, windshield, backlights, folded top cover, spare wheel and proper seats and VW dashboard. An alternative skinned version with raised windscreen and mirrors is under devellopment.
      VonBeerhofen



×

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..