Tip for developers.
Collapse
X
-
Too bad Mac OS only runs on Mac hardware unlike Windows and Linux which can run on nearly anything these days.
And Mac OS is only "more user friendly" than windows in the way that you find speaking English easier than Chinese. For people who grew up with Windows Mac OS might as well be Greek. Even Gnome is less jarring since it shares a lot of the windows conventions. KDE even has everything in the same locations.takkaria whispers something about options. -more-Comment
-
-
Comment
-
Based on what? What you gain (marginally) in intuitiveness you lose once you realize that there's even less functionality built into the operating system than Windows. On Windows, you can at least use Paint to make basic image edits like resizing photos and saving to different formats. Can't do that in OSX without downloading additional software.
I actually prefer Windows. But not by much mind, I'd be happy to banish it from my life forever. Luckily I'm one of the only two Linux guys at my shop and the other guy's on vacation. I need something done on one of our Windows machines, I pick up a phone.This thread, it needs more rage. -- Napstopher WalkenComment
-
MSVC project file for angband
It wasn't significantly more work than writing a portable makefile, even though I didn't really know what I was doing.
However, before I go any further, (ie: before I agree to maintain an angband .vcproj file) I need to be sure that the angband src directory will conform to MSVC rules:
* no duplicate .c file names (even in different directories.)
* preferably no duplicate .h file names to reduce developer confusion, though MSVC can handle them.
EDIT:
Technically, it's no longer MSVC; it's VS2008.
EDIT 2:
The project file currently depends on powershell for post-build steps (rather than a .bat file.)
I am assuming this is an acceptable dependency in this day and age...Last edited by Pete Mack; March 9, 2010, 07:29.Comment
-
Followup on VS2008 compilation: some really annoying warnings, repeating 215 times in total.
Type 1:
..\z-rand.c(290) : warning C4244: '=' : conversion from 'long' to 's16b', possible loss of data
Type 1a:
..\object\randart.c(1093) : warning C4244: '+=' : conversion from 's32b' to 's16b', possible loss of data
(randart.c is particularly guilty on this.)
Type 2: Can get rid of this with #define _CRT_SECURE_NO_WARNINGS
Reduces warning count to 105.
..\z-form.c(375) : warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
c:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(366) : see declaration of 'sprintf'
Type 3:
..\z-file.c(517) : warning C4996: 'fileno': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _fileno. See online help for details.
c:\Program Files\Microsoft Visual Studio 9.0\VC\include\stdio.h(722) : see declaration of 'fileno'
Type 4:
..\util.c(2511) : warning C4550: expression evaluates to a function which is missing an argument list
Type 5:
..\ui-birth.c(350) : warning C4090: 'function' : different 'const' qualifiers
Type 6:
warning C4090: '=' : different 'const' qualifiersComment
-
I always just ignored all that stuff when I was using MSVC with DaJAngband.Will_Asher
aka LibraryAdventurer
My old variant DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)Comment
-
Yeah, that works, mostly.
But this kind of thing is really easy to fix, and if there's ever even a single bug related to one of the warnings, the work will pay off. (That kind of error can really hard to track down.)
Finally, if you do introduce a new (bad!) warning, it is totally masked by the other 213.Comment
-
That was probably only true until Oct 2009.
Windows 7 is pretty comparable in usability to OSX (no more driver/dll hell!)
The desktop works (finally!) as smoothly in Windows 7 as in OSX 10.3 (Quartz Extreme) and later. (No more laggy drag and drop.)Comment
-
I have considered from time to time updating the V port, but there are a couple of things (apart from the effort involved) standing in the way:- V doesn't have full mouse control, although it almost does. I did part of the job, but got to the point where my FA approach was a bit hackish to go in the main V codebase.
- The FA port as it stands is not GPL clean - both Psi and I have tried to contact the original V port author and failed. If someone else wants to have a go at this (I believe he is based in New York State).
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege, reserved only for those who try.Comment
-
The Windows CE port of FA is in a similar state. There was an initial passable port of V to WinCE, which Psi then turned into a superbly functional port of FA. It is available as an Embedded Visual C++ 4 project; sadly there has not been another free WinCE compiler since then, but it still works fine on XP.Comment
-
Based on what? What you gain (marginally) in intuitiveness you lose once you realize that there's even less functionality built into the operating system than Windows. On Windows, you can at least use Paint to make basic image edits like resizing photos and saving to different formats. Can't do that in OSX without downloading additional software.
Anyway, Preview, one of OSX's built-in programs, can resize, crop, adjust brightness/contrast/saturation/etc., and save to PNG, JPG, TIFF, PDF, GIF, TGA, etc. It can even do BMP, but thankfully unlike some programs that's not the default.Comment
-
Well it looks like I'm a little late to the party, but I need to say a few things...
1. Win98 isn't supported any more because it shouldn't be. It's an utter abomination of an OS, an insecure, unstable kludge, and at 12 years old it is *massively* obsolete. It was bad the day it was made; in this age of daily security holes it simply should not be used anywhere, for any purpose. If you must use an obsolete OS use Win2k SP4, which is at least based on the NT kernel.
2. The command line interface is *not* archaic. It's older, but that doesn't mean it's worse. Yes, it takes more know-how, but when you do know how it's much more convenient to do certain things by CLI than by GUI. For an example of what I'm talking about, see YAST, which (despite OpenSuSE generally being good) makes system configuration clunky and inconvenient. I should add that there is a reason that Microsoft created Powershell, and it wasn't "because they could".
3. Windows 7 is actually pretty good. I can't say it's more user-friendly than XP, but it's certainly more administrator-friendly, offering more configurability and hiding less from the user.Comment
Comment