51 Commits (ecda9bdb03caf8432113be50fbfae0fac3ecb6d7)

Author SHA1 Message Date
Krisjanis Rijnieks ba463f6db5 Add `getPerspectiveWarping()` 10 years ago
Krisjanis Rijnieks c7713779fc Calculate 4d texture coordinates only if `_perspectiveWarping` flag is true 10 years ago
Krisjanis Rijnieks c3f687172e Add `_perspectiveWarping` flag to `QuadSurface` 10 years ago
Krisjanis Rijnieks 9001b7c73b Remove empty texture warnings in surface drawing methods 10 years ago
Krisjanis Rijnieks dddfec4392 Add texture `isAllocated()` check before drawing surface 10 years ago
Krisjanis Rijnieks 058eb23b13 Clean up `SurfaceManager` 10 years ago
Krisjanis Rijnieks 6bb151b369 Move XML settings save and load to `SettingsLoader` singleton 10 years ago
Krisjanis Rijnieks ad76db5319 Clean up `SurfaceManager` 10 years ago
Krisjanis Rijnieks 5cfa51718b Remove `SurfaceStack` test from `SurfaceManager` 10 years ago
Krisjanis Rijnieks b4f2e7bcb7 Fix `SurfaceManager::saveXmlSettings()` 10 years ago
Krisjanis Rijnieks 3ec8ba7abb Simplify surface creation code. Use `SurfaceFactory` class. 10 years ago
Krisjanis Rijnieks 965eb57d14 Add `setVertices` and `setTexCoords` methods 10 years ago
Krisjanis Rijnieks c4db1d000e Implement `SurfaceFactory` 10 years ago
Krisjanis Rijnieks 70c4cd2f34 Add `SurfaceFactory` class files 10 years ago
Krisjanis Rijnieks b954dec21e Replace `surfaces` vector with `SurfaceStack` class 10 years ago
Krisjanis Rijnieks 7c6912dc2a Add `pop_back()`, `back()` and avoid `delete` in `erase()` method 10 years ago
Krisjanis Rijnieks 8df88a5163 Add simple `SurfaceStack` test 10 years ago
Krisjanis Rijnieks b73ab7bf96 Improve `SurfaceStack` 10 years ago
Krisjanis Rijnieks 789342b320 Add `SurfaceStack` class untested yet 10 years ago
Krisjanis Rijnieks dbc4eb0d07 Make `loadXmlSettings()` return `bool` value 10 years ago
Krisjanis Rijnieks ac2a2e7834 Rename `SurfaceManager::addSurface(...)` to `createSurface` where it creates surface 10 years ago
Krisjanis Rijnieks 2b268349c7 Remove `addSurface(int surfaceType, BaseSource * newSource)` from `SurfaceManager` 10 years ago
Krisjanis Rijnieks 26e89f11a7 Move `SurfaceManager` variable initialization to constructor body 10 years ago
Krisjanis Rijnieks bdd3f88d2b Remove `addSurface(int surfaceType)` from `SurfaceManager` 10 years ago
Krisjanis Rijnieks 0fbfe7174b Remove `std::` prefix everywhere in `src` 10 years ago
Krisjanis Rijnieks f160fbd232 Replace `NULL` with `0` everywhere 10 years ago
Krisjanis Rijnieks ef50c97e08 Add TODO for `SurfaceManager::loadXmlSettings()` method 10 years ago
Krisjanis Rijnieks 95b366ada5 Change src code style using ofStyler 10 years ago
Krisjanis Rijnieks 423d17af86 Reset color to white before drawing each of the surfaces 10 years ago
Krisjanis Rijnieks 9bf14255c8 Reset color to white before drawing texture 10 years ago
Krisjanis Rijnieks 8867edb8f2 Add AddSurfaceCmd and move surface creation key commands 10 years ago
Krisjanis Rijnieks 76f225de8d Save current state of xcode project and add TODO to SurfaceManagerGui 10 years ago
Krisjanis Rijnieks 0d0bae9f43 Remove the `auto` specifier from `i` variable in `for` loops 10 years ago
Krisjanis Rijnieks bb720731f2 Fix crashing on mouse release if no source selected 10 years ago
Krisjanis Rijnieks 7e7aa93226 Add SelSourceCmd select source undoable command 10 years ago
Krisjanis Rijnieks 35593c1612 Add MvTexCoordCmd undo command 10 years ago
Krisjanis Rijnieks 424a7827c1 Add MvAllTexCoordsCmd undo feature 10 years ago
Krisjanis Rijnieks c69ca799b4 Add gui mode/state switch undo command 10 years ago
Krisjanis Rijnieks bbd462f551 Rename command class names to shorter versions 10 years ago
Krisjanis Rijnieks ce6588d296 Add undo operation with MoveSurfaceVertexCommand 10 years ago
Krisjanis Rijnieks 746742fac0 Do not repeat SelectSurfaceCommand if surface already selected 10 years ago
Krisjanis Rijnieks 24fe4fdc94 Remove MoveSurfaceCommand from command stack via undo if surface not moved 10 years ago
Krisjanis Rijnieks 6d011c2e7a Add undo feature with SelectSurfaceCommand 10 years ago
Krisjanis Rijnieks c9a591a4ae Add undo feature with MoveSurfaceCommand 10 years ago
Krisjanis Rijnieks bd69364284 Add undoable RemoveSurfaceCommand 10 years ago
Krisjanis Rijnieks 655b7dbac3 Remove quad surface perspective warping as it was buggy. Next logincal steps: 11 years ago
Krisjanis Rijnieks 6ca4834ffb Fix selected surface not being initialized to null in surface manager 11 years ago
Krisjanis Rijnieks bd3f23a349 Remove cout from QuadSurface constructor 11 years ago
Krisjanis Rijnieks 7db249d890 Add saving and loading FBO source 11 years ago
Krisjanis Rijnieks fdb24a99e4 Move surface related files into Surfaces directory 11 years ago