mirror of https://github.com/bsnes-emu/bsnes.git
Update to bsnes v027r14? release.
> Anything is better than re-using an already well-established name > (even a short acronym like "vai"), but that's just me. I was asking about eliminating the extra layer of abstraction in the UI. But since you brought it up ... I'm sure vai has been taken before. Quark certainly has been. Hell, BSNES was taken by some people trying to port ZSNES to BeOS (they gave up). Given, none of those have anywhere near the popularity of the programming language. But eh, I _really_ don't care. I like the name, and nobody else in the world is ever going to use any of my software libraries anyway, so I'll use it. Speaking of which, I hate the name miu for the GUI library, it sounds stupid. So in the spirit of selecting **totally random names** that are _certainly not associated with any licensed / trademarked / copyrighted proper nouns_, **especially** not from any _video games_ or somesuch; I've renamed miu to the **completely arbitrary** name of hiro. Boy, I'm so creative and original with naming. --- That said, new WIP up, with Windows binary. Windows users, be sure to set system.video to "direct3d", system.audio to "directsound", system.input to "directinput". Linux users, "opengl", "openal" and "sdl" are preferred. "xv", "ao" and "x" are safer fallbacks. Changes: - Finally found a problem with dots in folder names, it screws with GNU make. So foo.bar has been renamed foo_bar. - Decided to drop the pointless duplications of folder names into file names, such as miu.gtk/miu.gtk.button.cpp -> hiro_gtk/button.cpp. Same for libco. - ruby is completed, all 13 drivers are in the ruby namespace, and bound to the base ruby.cpp file. The UI just calls ruby::video.driver("name"); to select a driver. Before v028's release, omitting the name will select the default best-case driver. ruby is no longer dependent on anything besides nall (the template library, for those losing track in the sea of _arbitrary_ names.) - miu became hiro, as mentioned above. Like ruby, I wanted to remove the need for platform-specific tests inside the UI for it. There's now a base hiro.cpp file that will auto-select the best implementation and compile it. Just build hiro.cpp on whatever platform you want and it does the rest. - UI platform abstraction removed. src/ui/miu was moved to src/ui. The two main.cpp files were merged into one. With the GUI wrapper and hardware drivers moved out of this folder, it's quite orderly there now. - More improvements to the Makefile system. New folder obj/ accumulates all of the object files now. Added streq(al) and strn(ot)e(qual) to Makefile.string library. Improved the delete command to support deleting from either obj/*.$(obj) with rm, or obj\*.$(obj) with del. bsnes executable is moved up one folder above src/ for both Windows and Linux now. The batch file doesn't perform this copy anymore. - Killed the doc/ folder. Just a pointless, out of date .dia file there anyway. Future plans: - I want to make ruby take advantage of nall/config.hpp, and output to ~/.bsnes/ruby.cfg. This file will contain driver-specific configuration settings. I may or may not add editing support for them to the advanced window. Or maybe I'll be lazy and just throw everything into bsnes.cfg. - Really need to add automatic driver selection to ruby. Can't release it with "" defaulting to no driver. - I'd like to replace the god-awful GTK+ video driver (that spawns a new window) with SDL video. Yeah, I know. At least with SDL_WINDOWID environment variable hack, it will go into the main window. I'll probably make this the default driver on Linux, since ATI can't even seem to get X-Video right with their drivers. [No archive available]
This commit is contained in:
parent
5263ffb7aa
commit
a1389a2ba3