Commit Graph

741 Commits

Author SHA1 Message Date
damdoum 24f6a55c4c some explicit conversions (less warnings)
better structure documentation
2007-02-22 15:04:11 +00:00
cyberwarriorx f8f49dea25 -Tile and Palette view dialogs now update when the palette and memory area is changed
-Special thanks to Dmitry Krutskih for these patches
2007-02-18 20:01:10 +00:00
damdoum 671c7612cb explicit conversion to disable some warnings 2007-02-18 07:16:17 +00:00
evilynux a297f65bdb Added FPS limiter. Only for the gtk ui at the moment. 2007-02-18 07:05:44 +00:00
shashclp 2e7ea2767e - Fixed bugs reported by masscat here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1661684&group_id=164579&atid=832291
and here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1661661&group_id=164579&atid=832291
It fixes homebrew Tetris and probably a lot of others
2007-02-18 00:14:53 +00:00
cyberwarriorx 217d5c5393 -Code reverted again. Unified read/writes are -not- what we're doing. In fact, shash already told you not to do it, and yet you did it anyways. 2007-02-17 18:46:28 +00:00
damdoum 3ddb6fac02 -DVERSION erased for project options (was used for about dialog)
information for the about dialog moved to the glade file
2007-02-17 18:43:24 +00:00
damdoum 3fd94b6e71 about dialog :
now closing properly
version included
authors included
2007-02-17 18:42:10 +00:00
damdoum 9f5fbe02ff some more functions about 3D
====

yabause : please don't revert with no reason

there was this part to use the old functions !!!
#define USE_OLD 1
#if USE_OLD
void FASTCALL MMU_write8(u32 proc, u32 adr, u8 val) {
	MMU_write8_old(proc, adr, val);
}
void FASTCALL MMU_write16(u32 proc, u32 adr, u16 val) {
	MMU_write16_old(proc, adr, val);
}
void FASTCALL MMU_write32(u32 proc, u32 adr, u32 val) {
	MMU_write32_old(proc, adr, val);
}
#else
void FASTCALL MMU_write8(u32 proc, u32 adr, u8 val) {
	MMU_writeXX(proc, adr, val,1);
}
void FASTCALL MMU_write16(u32 proc, u32 adr, u16 val) {
	MMU_writeXX(proc, adr, val, 2);
}
void FASTCALL MMU_write32(u32 proc, u32 adr, u32 val) {
	MMU_writeXX(proc, adr, val, 4);
}
#endif
2007-02-17 08:52:01 +00:00
damdoum 8d3c653976 added c file for tile viewer 2007-02-17 05:42:35 +00:00
damdoum 74e6cb4e92 .dev > unit count modified to compile with all files 2007-02-17 05:40:20 +00:00
damdoum b8f69c33fa added file to proj > modified unit count 2007-02-17 05:39:07 +00:00
yabause bcb31b411a Reverting to the last version before the unified memory access function 2007-02-16 22:47:17 +00:00
damdoum 4ee18c0a3c defines of 3D commands 2007-02-16 17:08:15 +00:00
damdoum 18b2b6ebc4 MMU_writeXX : solved some issue because of address alignment
sound working now
to use the previous MMU_write functions set  #define USE_OLD to 1
(it is enabled now)
2007-02-16 16:22:02 +00:00
damdoum 1c937b81e4 #endif was not at the right line (causing unreferenced symbols) 2007-02-16 15:45:40 +00:00
damdoum 771aede2b4 MMU : had been broken because of changes in former functions 2007-02-16 15:25:31 +00:00
damdoum a33ed66e4a adding gl_vertex.* to devcpp project files 2007-02-16 14:20:13 +00:00
damdoum 549e1f72cb MMU : preparing big cleanup (use #define USE_OLD 0 in MMU.c to help me with that) 2007-02-16 13:46:34 +00:00
evilynux 5442bf1d78 - Fixed file reading resume, thanks to elhobbs.
- Fixed relative path file open for anything else than MS Windows (DIR_SEP).
- Using constants for filename size and filename extension size.
Files that are not 8+3 are still broken.
Even if you rename TowerDefense maps to 8+3, it crashes, to be debugged.
I'm commiting anyway as my tests show that it doesn't worsen current state. Please reverse if otherwise.
2007-02-16 06:16:22 +00:00
damdoum fe3325e42d MMU : forgot mask while factoring 2007-02-15 16:01:17 +00:00
damdoum 0013777236 * cleaning do_DMA
* factored some code in read/write_acl
* skeleton for 3D vertices
2007-02-15 15:49:51 +00:00
damdoum 8b44d9fade tileviewer : still not functionnal
"master brightness" done by hardware
2007-02-15 11:17:33 +00:00
evilynux 3505b8c7ce g_thread_init(NULL) was breaking compilation, commented out for the moment. 2007-02-14 05:05:13 +00:00
evilynux 5925b937db All reads are binary in libfat, doing the same here. 2007-02-14 04:47:16 +00:00
damdoum cc81b6a215 gthread added for gtk-glade (may be used in near future)
gtk-glade : fixed bug where Quad was drawn to context 0 (no guard
condition)
2007-02-14 00:41:53 +00:00
shashclp c0cb024969 - Fix reported by masscat here: http://sourceforge.net/tracker/index.php?func=detail&aid=1659060&group_id=164579&atid=832291 2007-02-14 00:20:12 +00:00
damdoum 4080704c88 blending effect for pause 2007-02-13 17:50:15 +00:00
evilynux 0d76a6288a Added credits to about dialog. 2007-02-13 17:10:51 +00:00
evilynux a52fbce6f9 This should fix the about dialog not closing on MS Windows. 2007-02-13 16:49:49 +00:00
evilynux fce25b7921 Minor simplification, GtkButton is no longer needed for axis configuration. 2007-02-13 07:44:39 +00:00
evilynux d2fd40bda2 Fixed joystick axis configuration. I had broken it on the last modification. 2007-02-13 07:43:24 +00:00
evilynux 82853af179 Reduced number of keyboard and joystick configuration callbacks from 28 to 3. 2007-02-13 07:27:29 +00:00
evilynux 47cfe6109e This should fix FAT support for MS Windows and GNU/Linux.
Thanks to elhobbs for the clues.
2007-02-13 03:50:37 +00:00
damdoum 902f673ab4 misc. function changes (to be a little more generic to claim a GL
context)
added tile viewer backbone
2007-02-12 20:12:33 +00:00
cyberwarriorx 768f32ef69 -Pssst... When adding arguments to functions, don't forget to make sure all calls to the function are fixed too. 2007-02-12 20:09:26 +00:00
damdoum 50deb34e86 fixed true gap / rightscreen to work again
(rightscreen was not working because table wasn't notified of a change)
(gap screen was not working because ScreenRotate had become a float)
2007-02-11 19:41:45 +00:00
damdoum 8119e076f3 oops debug stuff (square in the middle) removed 2007-02-11 16:26:30 +00:00
yabause 39da0c1701 Fixed a bug in gtk-glade Makefile.am 2007-02-11 16:18:43 +00:00
damdoum ffe08e1972 tried to fix 64b problem with callback arguments
changed glade layout for better "rightscreen" implementation
fixed a little problem with double clicks
2007-02-11 15:06:38 +00:00
yabause eef54629a0 Added desmume.desktop.in for gtk port and desmume-glade.desktop.in
for glade one (http://bugs.gentoo.org/show_bug.cgi?id=163868)
Hope it's ok to use .in files instead of plain .desktop... at least
we won't have version number mismatch this way :)
2007-02-11 13:20:11 +00:00
evilynux 247dfdcf37 Fixed 64bit compatibility. There are still two areas where it needs to be fixed: screen resize via the menu and screen rotation via the menu.
Note: *((float*)&my_gpointer) doesn't work!? Is there a problem with floats in Glade?
2007-02-11 07:37:25 +00:00
cyberwarriorx d81a01b6b4 -Fixed potential memory leak(Thanks to Dmitry Krutskih!)
-Quotes are now handled correctly on the command line in the windows port(Thanks to Dmitry Krutskih!)
2007-02-10 18:30:13 +00:00
damdoum 026bd14902 enabling gl for windows / corrected .dev file
you need to replace paths though
2007-02-10 09:36:02 +00:00
cyberwarriorx 892fe07a1d -Support for importing *.duc files added to windows port 2007-02-10 02:13:09 +00:00
cyberwarriorx 1c93a66573 -Oops, forgot a file 2007-02-10 02:10:55 +00:00
cyberwarriorx 392e879e52 -Noticed a couple of files with missing copyrights. I hope it's correct now.
-Added support for importing *.duc files. You just have to call NDS_ImportSave with a valid filename specified and it should load any *.duc file
2007-02-10 02:09:48 +00:00
damdoum e1d53d42dc missing file (autoconnects signal the way i wanted) 2007-02-09 16:35:34 +00:00
damdoum 391bb6ad64 hardware rendering enabled
scaling  & rotation OK
2007-02-09 16:33:58 +00:00
shashclp 0db6f29315 - Fixed regression in graphics on "Bubble Bobble Revolution", and probably others
using 8bit rotated tiled backgrounds.
2007-02-09 07:10:12 +00:00