Commit Graph

368 Commits

Author SHA1 Message Date
qfox 84e4c81061 Basic Bot 0.3.3, now allows toggles while computing. bot can now process in parts, but it will desync for some reason, need to check this later. single-segment still works fine. 2006-11-19 22:45:40 +00:00
qfox bb77f84fe3 BasicBot 0.3.2: Added some minor commands, fixed a crashbug. 2006-09-16 11:18:37 +00:00
qfox 5558cca57f BasicBot 0.3.1: Removed code-length limit (rather drastic change). Improved the GUI and added stuff for future features. 2006-09-10 14:11:26 +00:00
zeromus 5e04ada196 add directx files to remove sdk dependencies. dunno if this is the right thing to do, but it will get more people compiling forn ow 2006-09-07 17:57:24 +00:00
qfox fe0492c6e7 BasicBot 0.3.0, now uses bytecode and interpreter (should increase performance). Changed branching (far more efficient) and added >> and << operations. 2006-09-04 22:26:58 +00:00
qfox a2f48e180f BasicBot 0.2.2b, updated save/load code. Will auto-load/save on open/close, once a bug has been fixed. Need help fixing the WM_INITDIALOG event (-> mailinglist). 2006-09-01 02:57:35 +00:00
gimmedonutnow 091d0b225d - SDL now uses the new configuration system 2006-08-30 15:27:05 +00:00
qfox 24288cd015 Basicbot 0.2.2: Added "static variables" (no, not a contradiction ;) and "static random variables" (I won't even try...) 2006-08-28 23:16:10 +00:00
zeromus dd126e30e5 more sound/throttle cleanups and improvements 2006-08-25 07:05:55 +00:00
zeromus 11e0d7ebcf improved windows sound and throttling. cleaned up lots of the mess. 8bit supported, although I dont know why you'd want to do that (it doesnt significantly cut down on processing time). Im halfway tempted to take out all the 8bit code and reimplement it buried very deep into the sound output driver as an uncontrollable panic toggle for obscure cases where 16bit isnt available. 2006-08-24 07:19:31 +00:00
zeromus ee82ccc638 configsys needs to include ../../types.h to get the snprintf macro for vs 2006-08-24 03:36:59 +00:00
zeromus a82608cd98 minor sound tweaks 2006-08-22 07:13:41 +00:00
zeromus 886085c9cb wtf with this stdbool. use a normal compiler 2006-08-22 06:31:32 +00:00
zeromus e991e6f0ca added very limited experimental improved sound/throttling code to windows build. windows users, please use 44100 16bit sound for now and test the stability. 2006-08-22 06:27:18 +00:00
qfox d81578e52f Wrapped changes to input in WIN32 ifdefs. 2006-08-21 14:19:02 +00:00
qfox 272e8e1f92 Forgot empty line at end of document. Fixed now. 2006-08-21 14:10:07 +00:00
qfox cbd856a185 Unix users ahoi. 2006-08-21 14:09:13 +00:00
qfox a843631e9f Basicbot update to 0.2.1: redesigned GUI, fixed a few bugs, added more control. 2006-08-21 13:48:15 +00:00
qfox b15942881d FCEU_SetBotMode() in input.cpp now calls UpdateExternalButton() in basicbot.cpp to update a label in GUI. 2006-08-21 13:40:13 +00:00
radsaq cd7afa49fa Fix previous fixes to Windows build. 2006-08-20 20:25:57 +00:00
rheiny 54922cf5ba Fixed build problems 2006-08-20 19:50:26 +00:00
rheiny feb819f372 Fixed build problems 2006-08-20 19:49:33 +00:00
radsaq e7d5aa6d29 Consolidate use of FCEUGI* globals GI, CurGame, and FCEUGameInfo into a single
GameInfo var. Still not very pretty, but at least there's only one of them and
the code compiles on Linux now.
2006-08-20 19:40:15 +00:00
radsaq 2dee2b9f59 Add missing file to SConscript. 2006-08-20 17:26:20 +00:00
qfox 1c30cf754e Fixed merger changes, forgot them sorry. 2006-08-20 15:13:33 +00:00
qfox 309a670313 Complete overhaul of the EvaluateFormula function. Added tiny debug option ("echo" command) to scripting language. Fixed several bugs in the process. 2006-08-19 22:13:45 +00:00
rheiny 6e2066b7f9 Started to separate debugger code into common code and Windows-specific code 2006-08-19 18:31:18 +00:00
rheiny c33e0a25bf Started to separate debugger code into common code and Windows-specific code 2006-08-19 18:30:52 +00:00
rheiny c888947c5e Added include guards 2006-08-19 18:29:58 +00:00
gimmedonutnow 349c47d122 - added config-file only options 2006-08-17 21:21:00 +00:00
gimmedonutnow c985215391 - return error on _load() when no config file exists 2006-08-17 03:55:06 +00:00
gimmedonutnow ea9b2a33a1 - added a way to have options like '-h, --help' by having the user of the class specify a function that is called when such options are seen 2006-08-14 22:35:14 +00:00
gimmedonutnow 4102348817 - added this configuration system for cross-platform testing 2006-08-10 05:25:19 +00:00
radsaq 937645bbe6 Enable SDL OpenGL code, fix compilation of sdl-opengl.cpp (broken because we're
compiling it as C++ now?), and make some minor tweaks to scons stuff.
2006-08-04 17:32:08 +00:00
gimmedonutnow d1b99bf834 - cleaned up a few variable and function names for readability
- static'd more variables
- added TODO about video resolution
2006-08-04 05:44:13 +00:00
gimmedonutnow 01c05ec26f - trying to reduce the number of non-static globals
- moved a bunch of functions around to accomidate this reduction
2006-08-03 19:51:28 +00:00
rheiny a9911ff6d7 CenterWindow now with less build breaking 2006-08-03 19:48:05 +00:00
rheiny 16f13d5d22 Changed the CenterWindow function and added comments. 2006-08-03 19:41:39 +00:00
gimmedonutnow c08f71181e - got rid of that annoying "Not implemented" message in SDL coming from the movie stuff
- static'd several global variables in input.cpp
2006-08-03 05:49:37 +00:00
gimmedonutnow 3ee6888bbd - merged the main.cpp code into sdl.cpp and a new config.cpp
- config.cpp contains the configuration and args parsing
2006-08-03 05:35:21 +00:00
gimmedonutnow c39de3f8a8 - pretty much done commenting... might have a chance to start cleanup tonight
- had to change the name of the 'brk' variable name again... please don't change it back... brk is a reserved word in *nix.
2006-08-03 00:31:31 +00:00
radsaq 8d2dfca52c Fix up my AUTHORS entry, remove another automake file, and add some
svn:ignores.
2006-08-02 22:02:11 +00:00
CaH4e3 777dc074bc Some mapper fixes, new UNIF board SL1632 was added. 2006-08-02 19:24:21 +00:00
gimmedonutnow af143cdfeb - added FRAMESKIP define by default to SConscript
- commented sdl/main.cpp
2006-08-02 06:05:44 +00:00
gimmedonutnow dee1cf579d - stupid typo during commenting was killing SDL build
- more commenting
2006-08-02 05:36:12 +00:00
gimmedonutnow fe6431a9a4 - more commenting 2006-08-01 18:45:32 +00:00
gimmedonutnow 9e68cfc6ad - this file is obsolete 2006-08-01 18:21:53 +00:00
gimmedonutnow c4c3b82d00 - updated myself in the AUTHORS
- more commenting of code.

I hope to comment it all before I start really cleaning house so that I have a sense of how it all fits together.
2006-08-01 18:20:31 +00:00
zeromus e3c020b64d added vc7 project, cleaned up some things 2006-08-01 07:56:11 +00:00
zeromus e20b6b82d9 bugfix to windows debugger and mainloop, enhanced docs 2006-08-01 07:40:00 +00:00
gimmedonutnow 4025828176 - got rid of the EXTGUI define and associated code
- commented sdl-video.cpp
2006-08-01 06:47:01 +00:00
zeromus 2d30eb6daf forgot buildscript for utils. updated project todo.. 2006-08-01 05:54:35 +00:00
zeromus cd427263da moved some util files to utils directory 2006-08-01 05:50:19 +00:00
zeromus 1b3195eca3 docs 2006-08-01 05:15:34 +00:00
zeromus a28765574f boo xstring.cpp hadnt been included 2006-08-01 04:46:04 +00:00
zeromus bfb73d91f7 oops, forgot to checkin these 2006-08-01 04:44:47 +00:00
zeromus 06536f226e moved the assembly/disassembly code to the core code
improved docs a little
2006-08-01 04:33:12 +00:00
radsaq ebab58016c Simplify scons stuff:
- instead of doing Import() and Export() for subdirs, just Return() the files
  in the subdirectories' SConscripts and add that to the top-level file list
- remove the manual handling of sdl-config output, as scons will do it for us
- remove the manual addition of libz to LIBS, as scons seems to automatically
  do it if you do a CheckLib()
- properly read and use $CC, $CFLAGS, and $LDFLAGS environment variables,
  if they exist
2006-07-31 22:24:21 +00:00
zeromus 0474a05ac3 added support for inheriting CCFLAGS and LINKFLAGS from system
environment
2006-07-31 20:07:15 +00:00
punkrockguy318 9c6cbb0563 renamed pc to SDL for clarity 2006-07-31 17:42:18 +00:00
zeromus bd5f91edcf added newline to __dummy_mapper.cpp
considered the windows default hotkeys
2006-07-31 07:40:11 +00:00
zeromus bc98e7be2d tinkered around with some more docs 2006-07-31 06:04:44 +00:00
zeromus 7fbbe82b03 prepared doxygen stuff 2006-07-31 05:41:13 +00:00
punkrockguy318 45156a8ba6 fixed compiler warning 2006-07-31 04:21:30 +00:00
zeromus 2faad5ca51 cygwin buildscripts changed again to be more stable.
added a couple more endlines to eof
2006-07-31 00:03:35 +00:00
zeromus b8b6324ba3 got the sdl/sconstruct build working in cygwin
this required some changes to build scripts. please assume, if it requires fixing, that what I did was sane!

many files included #ifdef WIN32 which I changed to #ifdef MSVC since we are only supporting windows-specific features in the msvc build.
2006-07-30 22:49:15 +00:00
zeromus 529df3c6b5 added newline at end of file 2006-07-30 22:46:39 +00:00
zeromus 80d0d46d73 moved fceu to its own folder to make room for other projects
[[Split portion of a mixed commit.]]
2006-07-29 05:46:15 +00:00