For Windows, I use Visual Studio Express 2010 for development, which is available for free. You do have to register it or it looks like a trial version (i.e. says something about 30 days left for evaluation ISTR), but registration is free and once done, you won't be nagged again.
There is a Visual Studio solution file: Poschengband.sln in the src directory. Simply double click on that, make your source changes, and compile. The output directory for the binary is set to "$(SolutionDir)\..\" so it places the executable up one level, parallel to the lib directory, which is just where the executable needs to be if you are to run it properly.
If you don't already have VS installed or feel like this might be too much of a hassle, just let me know and I will push my update. Really, this is not a bother and only takes me about 5 minutes. I only hesitate to push an update for a single change though since other users will see it and feel like they should upgrade to the latest version. And unless you are playing a sorcerer, there is no need But, if anybody has other ideas/bugs/changes/wants/desires then perhaps I can spend tonight developing a more substantial release.
As an aside, I don't recommend using VS 2012. I tried it, but MS seems to love to rewrite all their software from scratch on every release. They broke the Intellisense compiler going from 2010 to 2012 so that it perma-spikes one of your CPU cores when editing certain large C files (like spells1.c with its gargantuan 5kloc project_m function). Obviously, that gets rather annoying, not to mention that the Intellisense often stops working altogether. VS 2010 works just fine (using less than 1% of the CPU that 2012 does) and Intellisense never breaks for me.
EDIT: If you don't already have VS installed or if you have little interest in developing with it, then I don't recommend installing it. The download is rather large and takes a looong time, especially if you don't already have .NET installed.
There is a Visual Studio solution file: Poschengband.sln in the src directory. Simply double click on that, make your source changes, and compile. The output directory for the binary is set to "$(SolutionDir)\..\" so it places the executable up one level, parallel to the lib directory, which is just where the executable needs to be if you are to run it properly.
If you don't already have VS installed or feel like this might be too much of a hassle, just let me know and I will push my update. Really, this is not a bother and only takes me about 5 minutes. I only hesitate to push an update for a single change though since other users will see it and feel like they should upgrade to the latest version. And unless you are playing a sorcerer, there is no need But, if anybody has other ideas/bugs/changes/wants/desires then perhaps I can spend tonight developing a more substantial release.
As an aside, I don't recommend using VS 2012. I tried it, but MS seems to love to rewrite all their software from scratch on every release. They broke the Intellisense compiler going from 2010 to 2012 so that it perma-spikes one of your CPU cores when editing certain large C files (like spells1.c with its gargantuan 5kloc project_m function). Obviously, that gets rather annoying, not to mention that the Intellisense often stops working altogether. VS 2010 works just fine (using less than 1% of the CPU that 2012 does) and Intellisense never breaks for me.
EDIT: If you don't already have VS installed or if you have little interest in developing with it, then I don't recommend installing it. The download is rather large and takes a looong time, especially if you don't already have .NET installed.
Comment