HurricanGame / Hurrican

Freeware jump and shoot game created by Poke53280, based on the Turrican game series by Manfred Trenz
62 stars 22 forks source link

Using STL #61

Closed bufalo1973 closed 11 months ago

bufalo1973 commented 1 year ago

I've been taking a look at the code and I'm asking, why use the "C list" way instead of using STL containers? First example is in GegnerClass. I think it would make the code easier (and shorter?) to maintain using STL.

drfiemost commented 1 year ago

The original code is quite old, there have been some efforts to modernize it but there is still room for improvement.

I think I gave a try at converting it into a std::list or something but didn't succeed for some reason and gave up.

drfiemost commented 1 year ago

The enemies are done, next steps are projectiles and particles.

drfiemost commented 11 months ago

It seems we got rid of custom lists now. Thanks to @Nils75owo