SFTtech / openage

Free (as in freedom) open source clone of the Age of Empires II engine 🚀
http://openage.dev
Other
12.6k stars 1.11k forks source link

Pure fixed-point math functions #1543

Open heinezen opened 11 months ago

heinezen commented 11 months ago

Required Skills: C++

Difficulty: Easy

We should add additional math operations to our fixed-point implementation, so that all calculations can be done purely deterministic.

The fpm library already has these operations and could be used as an inspiration.

Interesting for us:

Nice to have:

Further Reading

heinezen commented 10 months ago

@mingjuu You can :)

I'll assign you right now and if you have any questions, feel free to ask here or in chat.

AyiStar commented 9 months ago

Hello, I am new to the project and wish I could join you. Can you assign this issue to me so that I can start from here?

heinezen commented 9 months ago

@AyiStar sure :)

AyiStar commented 8 months ago

@heinezen Thank! I will touch you if I have any questions.

adamresemius commented 8 months ago

Hello,

Is there anything left to do here that I can contribute to?

heinezen commented 8 months ago

@adamresemius Yes, the unticked boxes in the issue description is what's not implemented at the moment.

Zain-Balkhi commented 6 months ago

I think I know how to implement the other functions in fpm. I have pow already on mine.

firednerve commented 6 days ago

Hey, I'm a beginner and could try my hand at implementing sqrt (and possibly the others after) if it isn't being worked on right now

heinezen commented 5 days ago

@firednerve You are welcome to go for it :)

firednerve commented 5 days ago

Thanks! I’ll ask if I have any questions.