Krice
Arcane
- Joined
- May 29, 2010
- Messages
- 1,361
So, a while ago I learned that the original developer of an ancient roguelike project Legend of Saladir had released the source code. It's not open source per se, but I downloaded it and began to tinker anyway. For those who are too young to remember, Saladir was one of "those" roguelike projects which we all had at that point. Everyone tried to create the next major roguelike, which today is not a thing anymore.
This project is interesting in the source code level, because it seems to be a quite complex game, but it had some problems the developer was unable to solve for some reason. For example he tells that the game is slow, because for FOV the game is looping through every list of everything that affects the fov. Which is strange, because you can easily fix that by using a map for fov values or something like that. Another interesting thing about the source is that it's using classes (it's in C++) and it was not that common in 1998 (the last release date I think). There are also procedures and the use of classes is in many ways incomplete which is typical even in today's programming when people don't know how to use OOP.
Just as with Advanced Rogue, I've tried to work on this to compile in Windows and C++17. This I think is going to be easier than Rogue, because the problems seem to be specific mainly to file handling (linux style) and const correctness with strings.
This project is interesting in the source code level, because it seems to be a quite complex game, but it had some problems the developer was unable to solve for some reason. For example he tells that the game is slow, because for FOV the game is looping through every list of everything that affects the fov. Which is strange, because you can easily fix that by using a map for fov values or something like that. Another interesting thing about the source is that it's using classes (it's in C++) and it was not that common in 1998 (the last release date I think). There are also procedures and the use of classes is in many ways incomplete which is typical even in today's programming when people don't know how to use OOP.
Just as with Advanced Rogue, I've tried to work on this to compile in Windows and C++17. This I think is going to be easier than Rogue, because the problems seem to be specific mainly to file handling (linux style) and const correctness with strings.