Commit graph

731 commits

Author SHA1 Message Date
Ian Curtis 788a480ff3 add missing include 2017-04-07 15:47:36 +00:00
Bart Trzynadlowski 006260be47 Harry Tuttle's fixes to fishing controls: invert fishing rod y and fishing stick y axis values so setting a negative axis is not necessary. Also changed reel to an analog input (similar to a pedal), whose neutral position is 0. 2017-04-07 04:42:04 +00:00
Bart Trzynadlowski 4ca7d5ef0e Harry Tuttle's change to Harley gear shift to use a single bit instead of two (no detectable difference in behavior, though) 2017-04-07 04:30:27 +00:00
Bart Trzynadlowski 205282a758 Removed unused file: Game.cpp 2017-04-06 03:23:32 +00:00
Bart Trzynadlowski 25f22724d7 Fixed lamachin title -- thanks Jiterdomer! 2017-04-05 20:57:40 +00:00
Ian Curtis 101e43213e cosmetic 2017-04-05 19:32:01 +00:00
Ian Curtis edfb521a9b Daytona seems to use this completely undocumented feature of the real3d pro-1000, the ability to invert texture colours. This patch fixes the colours on the cars, and the signs which should flash by alternating their colours. 2017-04-05 17:57:38 +00:00
Bart Trzynadlowski cc32e0bf8e Removed last vestiges of CINIFile from input system and removed Games.cpp, INIFile.cpp, and ROMLoad.cpp 2017-04-05 16:19:08 +00:00
Bart Trzynadlowski df283d9aa3 Using Game::INPUT_* instead of obsolete GAME_INPUT_* 2017-04-05 16:17:57 +00:00
Bart Trzynadlowski c013eab711 Changes by Harry Tuttle: game list more accurately reflects MAME's, added a root level XML "games" node, print ROM version along with title 2017-04-05 05:35:45 +00:00
Bart Trzynadlowski f6707ecfba Fixed graphics state analyzer 2017-04-04 23:28:06 +00:00
Bart Trzynadlowski c4bf565a1a Added cstring 2017-04-04 23:27:39 +00:00
Bart Trzynadlowski ad6b4b0e71 Added remaining games largely thanks to the efforts of the mysterious '阳阳' 2017-04-04 05:27:37 +00:00
Ian Curtis 4ebcf5865a more whitespace .. 2017-04-03 12:02:49 +00:00
Ian Curtis a141635be6 white space .. 2017-04-03 12:01:37 +00:00
Ian Curtis c617a453fa Cache dereferenced values. Cuts loading time from 15 to 5 seconds in debug mode :) 2017-04-03 12:00:25 +00:00
Bart Trzynadlowski 5aafbbf936 Included cstring for memcpy 2017-04-03 05:34:23 +00:00
Bart Trzynadlowski 2aa9dc7967 Rewrote large parts of ROM loading code to more gracefully handle merged sets where overwritten parent ROMs are not present. Better handling of multiple zip files. Optimized ROM loading when stride and chunk size are equal and got rid of safety checks that I don't believe are necessary any longer. 2017-04-03 01:03:38 +00:00
Ian Curtis f0e00c5dc7 Rewrite the spot light code, and implement the missing fog logic. (HarryTuttle) 2017-04-02 21:03:59 +00:00
Bart Trzynadlowski 07660be0df Fixed missing file detection (set_difference requires inputs sorted by desired key) and improved error reporting 2017-04-01 05:08:50 +00:00
Bart Trzynadlowski e04c368114 Made scuda a child set of scud 2017-03-31 05:32:16 +00:00
Bart Trzynadlowski 68ebf35aac Removed TODO comment 2017-03-31 05:23:34 +00:00
Bart Trzynadlowski b0957e6459 Smarter game selection when a zip file contains multiple games (prefer child when parent is also present in zip) 2017-03-31 05:23:04 +00:00
Bart Trzynadlowski e40d268214 Warn about parent ROM sets having parent defined (not allowed) 2017-03-31 04:44:45 +00:00
Bart Trzynadlowski 47ce132292 Print missing files from games 2017-03-31 04:27:09 +00:00
Bart Trzynadlowski fd0f7ec6d1 Support loading of parent ROM sets (e.g., scudp will load scud) 2017-03-30 06:17:34 +00:00
Ian Curtis cd1a551e4b compile fixes 2017-03-28 22:28:46 +00:00
Ian Curtis 1a766843b5 MSYS2 compile fix (HarryTuttle) 2017-03-28 21:02:14 +00:00
Ian Curtis 69eac95846 Replace glsl 3 function. Apparently this doesn't work on OS X. 2017-03-28 20:24:44 +00:00
Ian Curtis 70259eec34 fix compile warnings 2017-03-28 19:33:16 +00:00
Bart Trzynadlowski 318f4cf6dc Sort games found in zip file by descending order of matching files so that game with the *most* matching files is picked 2017-03-28 04:03:38 +00:00
Bart Trzynadlowski aa4331c2c4 Added: bass, daytona2, dirtdvls, harley, lemans24, scuda, skichamp, spikeofe, spikeout, von2, vs2, vs298, vs2v991
Fixed: dayto2pe title
2017-03-28 04:01:50 +00:00
Bart Trzynadlowski 40486fc840 Fixed scud mpeg roms 2017-03-28 01:05:35 +00:00
Ian Curtis ddbf08ac73 don't ask 2017-03-27 22:06:23 +00:00
Ian Curtis f320af2049 fix project files 2017-03-27 22:01:31 +00:00
Ian Curtis 3fefff36c2 fix multiple default constructors 2017-03-27 18:15:15 +00:00
Ian Curtis 5c15dac16f add missing include 2017-03-27 14:14:36 +00:00
Bart Trzynadlowski f34e25dfc7 Massive internal change: removed CConfig object and replaced it with a hierarchical config object system (Util::Config::Node). Games are now defined in an XML file. Hopefully I didn't break too many things :/ 2017-03-27 03:19:15 +00:00
Bart Trzynadlowski 26a4417a5f Cosmetic: renamed step to stepping 2017-03-27 03:13:34 +00:00
Bart Trzynadlowski 10befe4938 No need to enclose values in quotes when writing INI file. Print that file was saved to console and log. 2017-03-27 03:10:36 +00:00
Bart Trzynadlowski 35d9842dd8 Added a TODO list 2017-03-27 03:09:24 +00:00
Bart Trzynadlowski 2e6a58b21c Added srally2 2017-03-27 03:08:40 +00:00
Bart Trzynadlowski c4a63821c3 Encapsulated zip file handling and added a "parent" member to the Game struct 2017-03-27 02:02:22 +00:00
Bart Trzynadlowski ba3a0b5e2a Checking in GameLoader.cpp, GameLoader.h, and ROMSet.h (not currently used in build) because I need to make a substantial modification in my local tree 2017-03-26 16:38:55 +00:00
Bart Trzynadlowski 9e19b46692 Fixed dayto2pe sample ROMs 2017-03-25 17:39:09 +00:00
Ian Curtis ff624afb4d The mipmap data in some games seems to being sent behind the base textures, and when the base textures are bound and created the mipmap chain is not yet valid in memory. To fix this, we invalidate the base textures, when the mipmap chain is updated. 2017-03-25 00:06:24 +00:00
Ian Curtis 06c1cdcf94 Just use 1 hash map for the textures, instead of 1 for each format. Should greatly speed up texture invalidation. TODO invalidate texture mipmaps .. the h/w actually seems to stream the mipmap data separate from the base textures in some cases. 2017-03-24 20:54:12 +00:00
Ian Curtis 98d56ff011 cosmetic 2017-03-24 17:43:07 +00:00
Ian Curtis 82ac030dff calculate the correct number of mipmap textures 2017-03-24 16:51:52 +00:00
Ian Curtis 17f878421b Originally to do mipmapping, I just used the base texture and then let the h/w automatically generate the mipmap chain. I wasn't sure the real3d api even exposed to the programmer the ability to directly set the mipmap data. Anyway, as pointed out by HarryTuttle scud actually uses darker mipmaps for an effect on the water. This patch uses the uses the actual mipmap data from the real3d memory. Only tested scud, so hopefully I didn't cause any cataclysmic errors :) 2017-03-24 13:38:20 +00:00